Professional Documents
Culture Documents
What is URL?
URL is the abbreviation of Uniform Resource Locator
ex: http://www.google.com
The first part of the URL is called a protocol identifier and it
indicates what protocol to use.
The second part is called a resource nameand it specifies the IP
address or the domain name where the resource is located.
IP address is short for Internet Protocol (IP) address. An IP
addresss
an
identifier for a computer or device on
a TCP/IP network.
Web Browser is the Client who requests the service / files from
the server, the server responds back with the appropriate
files/service if cleint has appropriate priviledges.
The URL is Converted into IP address by DNS(Domain Name
Server)
HTML :
XHTML:
Extensible HyperText Markup Language
HTML is SGML(Standard Generalized Markup Language) based
while XHTML is XML(Xtensible Markup Language) based.
XHTML was derived from HTML to conform to XML standards.
Hence XHTML is strict when compared to HTML and does not
allow user to get away with lapses in coding and structure.
Java Script :
document.getElementById("demo").innerHTML = "Hello
JavaScript";
JavaScript Can Change HTML Styles (CSS)
document.getElementById("demo").style.fontSize = "25px";
Make your web pages responsive - events
Create cookies.
Validate web form data.
XML :
XML stands for eXtensible Markup Language.
XML was designed to store and transport
data
XSLT
XSLT
DTD :
A DTD is a Document Type Definition.
A DTD defines the structure and the legal elements and
attributes of an XML document.
XML documents are made up by the following building blocks:
Elements
Attributes
Entities
PCDATA
CDATA
XML SCHEMA
document
The purpose of an XML Schema is to define the legal building
blocks of an XML document:
You will not find the derived and built-in data types in the
DTD as these are available in the XML Schema only.
With the help of the DTD, you can obtain the basic structure
or grammar for the main aim of defining a XML document.
You will discover the methods to define the constraints on
the data contained in the document while using XML
schema.
PHP
PHP Sessions
To make data accessible across the various pages of an
entire website we use a PHP Session.
When you work with an application, you open it, do some
changes, and then you close it. This is much like a Session.
The computer knows who you are. It knows when you start
the application and when you end. But on the internet there
is one problem: the web server does not know who you are
or what you do, because the HTTP address doesn't maintain
state.
Session variables solve this problem by storing user
information to be used across multiple pages (e.g.
username, favorite color, etc). By default, session variables
last until the user closes the browser.
So; Session variables hold information about one single
user, and are available to all pages in one application.
CGI :
CGI stands for Common Gateway Interface.
CGI defines a standard way in which information may be
passed to and from the browser and server.
Ruby on Rails