In: Computer Science
Define the URL and why analyst should care about its importance.
Explain the URL Parameters.
Explain cookies and why these matter.
A URL (Uniform Resource Locator) could be a distinctive symbol
accustomed find a resource on the internet. it's conjointly brought
up as an internet address. URLs encompass multiple elements -- as
well as a protocol and name -- that tell an internet browser
however and wherever to retrieve a resource.
End users use URLs by typewriting them directly into the address
bar of a browser or by clicking a link found on a webpage, marker
list, in associate email or from another application.
How could be a URL structured?
The address contains the name of the protocol needed to access a
resource, further as a resource name. the primary a part of a URL
identifies what protocol to use because of the primary access
medium. The second half identifies the IP address or domain name --
and presumably subdomain -- wherever the resource is found.
URL protocols include HTTP (Hypertext Transfer Protocol) and HTTPS
(HTTP Secure) for net resources, mail to for email addresses, FTP
for files on a File Transfer Protocol (FTP) server, and telnet for
a session to access remote computers. Most address protocols area
unit followed by a colon and 2 forward slashes; “mail to” is
followed solely by a colon.
Optionally, once the domain, a URL may specify:
a path to a selected page or file at intervals a domain;
a network port to use to create the connection;
a specific point of reference at intervals a file, like a named
anchor in an HTML file; and
a query or search parameters used -- usually found in URLs for
search results.
Importance of a URL style
URLs will solely be sent over the net victimization the ASCII
character set. as a result of URLs typically contain non-ASCII
characters, the address should be born-again into a sound American
Standard Code for Information Interchange format. address secret
writing replaces unsafe American Standard Code for Information
Interchange characters with a "%" followed by 2 hex digits. URLs
cannot contain areas.
URL Parameters
URL Parameters alter pages to capture and utilize parameters set
dynamically in their URL
URL Parameters area unit parameters whose values are set
dynamically in an exceedingly page’s address, and might be accessed
by its template and its data sources. This makes pages improbably
dynamic, enabling one page to power associate an endless variety of
views.
This terrible page, for instance, sets a parameter within the last
little bit of its address (url-parameters), that is then used to
filter a knowledge supply that fetches the suitable entry from the
“Concepts” section. each individual thought read on this web site
is, therefore, hopped-up by one page.
Usage
URL Parameters area unit outlined in the admin interface,
victimization the page editor (Blueprints > Pages > New or
Blueprints > Pages > ). Any variety of address parameters is
also entered within the “URL Parameters” field, documented by name
and separated by forwarding slashes: param1/param2/param3
Parameter values area unit set dynamically once the page is termed
with further values in its address
http://yoursite.com/yourpage/value1/value2/value3 at intervals the
context of that page, the parameters area unit then out there to be
used like every different parameter. See Parameters, Usage for
details.
GET Parameters : Symphony can add GET parameters to a page’s
parameter pool as well, although they're given a prefix. Appending
?greeting=hello to a page’s address can add a parameter called
$url-greeting to the parameter pool, with a worth of ‘hello’.
What area unit Cookies? what's a Cookie?
Cookies area unit tiny files that area unit keep on a user's
laptop. they're designed to carry a modest quantity of information
specific to a selected shopper and web site, and might be accessed
either by the online server or the shopper laptop. this permits the
server to deliver a page tailored to a selected user, or the page
itself will contain some script that is tuned in to the
{information} within the cookie and then is ready to hold
information from one visit to the web site (or connected site) to
subsequent.