This video belongs to the openHPI course Web Technologies. Do you want to see more?
An error occurred while loading the video player, or it takes a long time to initialize. You can try clearing your browser cache. Please try again later and contact the helpdesk if the problem persists.
Scroll to current position
- 00:06Now lets talk about details of the uniform resource identifier. The way how the resources
- 00:12in the world wide web
- 00:14are identified. The basic components of the world wide web are
- 00:20the web documents. Web documents are characterized, also called hypermedia documents,
- 00:25are characterized by the hyperlinks. Hyperlinks provides the possibility
- 00:31to point directly to another document.
- 00:34But what is needed to implement this, is that each of the resources
- 00:39which are world wide distributed may be uniquely identified
- 00:46and what's needed and URI provides us is a unique identification scheme
- 00:53which make it possible to identify each resource in the world wide web.
- 00:59If we look to our social life then there are two identification models
- 01:05very popular. The first identification is done by names; each
- 01:10person has a name and if we talk to each others and we use
- 01:14the name of the other we can directly
- 01:17identify our partner by his name. So this is very common it's
- 01:22used all over the world.
- 01:25A little problem is there are many persons with the same name, so the name
- 01:31often does not provide a unique identification.
- 01:35Besides identifying persons by names, we have the possibility
- 01:40to identify person by their address.
- 01:43Addresses are uniquely defined. Addresses are given by
- 01:49a hierarchical way by defining the country, the city, the
- 01:53street number, housing unique,
- 01:56flat of a person. And when we give
- 02:00his or her address. We can exactly point
- 02:05a resource to this person.
- 02:10In the world wide web the identification scheme of URI's the uniform
- 02:17resource identifier are used.
- 02:20And exactly like social lives there are two types of such uniform resource identifiers.
- 02:27There is a possibility to identify as a resources or a web
- 02:31resources by their name
- 02:34the scheme is a uniform resource name URN.
- 02:39Beside of that, there is a possibility to identify resources
- 02:44by their address and this is done by the uniform resource locator.
- 02:50This is based on defining the address of a resource, defining the server,
- 02:57where the resource is stored and then exactly describing the path
- 03:05the location of the resource at the server.
- 03:09In the practical application in the world wide web the URL are used.
- 03:15Only a few exception where
- 03:17people work with URN for practical application up to now
- 03:22the URL the uniform resource locators are established.
- 03:28The advantage is they provide a unique identification
- 03:32by exactly describing the place where the resource
- 03:38is stored. The disadvantage is, if address changes, if the resource
- 03:44is placed on another
- 03:46server, or if the website is restructured
- 03:50then this change of address cannot be carried out automatically.
- 03:58The implementation of the URNs of
- 04:02the uniform resource name has failed until now due to a lack of a universal
- 04:08name service.
- 04:13When we want to access a resource in the world wide web
- 04:19we have to use our browser and the user can access a resource in the web
- 04:25via the browser by typing the URI or in most case typing
- 04:30URL of the resources.
- 04:33It's also possible to follow a hyperlink
- 04:36by activating a special designed element
- 04:40in the text underlined world or an image or video
- 04:45in the web document which is displayed by the browser,
- 04:50and then behind there is
- 04:53a link which leads to the which exactly points to the document
- 05:00we want to access.
- 05:02As another way to access a resource in the web we can work
- 05:09with for example the history directory of our browser or with the bookmark directory.
- 05:18Directories help to make the
- 05:22movement in the world wide web more simple and in all cases what's done is
- 05:28that a resource is requested by giving its URI
- 05:35in typical way by giving its URL.
- 05:41What does the requirements for such a uniform resource identifiers?
- 05:46First requirement is the universality.
- 05:49So via such a scheme such an identification scheme in the web
- 05:54it should be possible to address every available resources in the interne,
- 05:59regardless
- 06:04of a particular information service
- 06:07which is used for that resource.
- 06:11The other requirement for the uniform resource identifier is the uniqueness.
- 06:17The uniqueness of every resource,
- 06:21which can be accessed over the web must be uniquely
- 06:27identifiable, because otherwise the technique does not know which of the
- 06:34different resources with the same name
- 06:38should be sent to the browser.
- 06:42What is also very important
- 06:44is that such an scheme uniform resource identifier is
- 06:50extensible so all the new resources that have not been offered until now
- 06:56should be suitable to be equipped with an identifier.
- 07:01And it should be fixable.
- 07:05what does it mean? Typically for example if you have a business card
- 07:09you want to design also a home page. So in URI should not only be
- 07:16interchangeable by electronic means it should also be manually
- 07:22edited.It should be possible to print out for example for business cards.
- 07:29These are the requirements for such an uniform resource identifier scheme.
- 07:36Now let's consider the syntax of URI of the uniform resource identifier
- 07:42that are used to indentified resources of the world wide web.
- 07:47URIs are standardized by the internet engineering task force and by the
- 07:54web consortium and it is described in the RFC 1630.
- 08:02and the syntax of such a URI looks as follows: as a prefix,
- 08:07then a colon, and then a suffix.
- 08:11In the prefix the protocol is specified, the protocol all the information service,
- 08:17is specified over which this resource can be accessed.
- 08:23And in the suffix there is the place or
- 08:28the identification specified as the resource can be found.
- 08:33In the RFC 1630 not only complete URIs are described but also
- 08:43relative URIs.
- 08:47According to RFC URIs is either and URL
- 08:55which specifies the location of resources, or it is specified
- 09:00by URN which gives as a name of resource.
To enable the transcript, please select a language in the video player settings menu.