14 March 2016
The topic that we were talking about is Concept of Client Server & Internet Application.
There are 2 parts of scripting languages:
- Client- side scripts (css) for browser
- Server- side scripts (sss) for server
Client- side scripts
•Scripts are interpreted or executed by
the browser/client
•Example: JavaScript,
Jscript, VBScript
•Can be embedded into HTML documents or
contained in separate file
•Used to validate user input, accesses the
browser and enhances Web Pages with DHTML, ActiveX controls and Java applets
•Processed at the browser, not processed
at the Web server– longer downloading time depending on the size
•Reduces the number of requests that need
to be passed to server. Thus reduced server load
•Browser dependence
•The
browser must support the scripting languages
•To
see CSS, view the source
Server- side scripts
•Example:
PHP,
ASP, ASP.Net, JSP, CGI
•Provide
interactive web sites that interface to databases or other data stores
•Processed
by the server to generate html and return as response to the browser
•Scripts
are embedded in html documents
•Specialty…
–Browser/Client
independence
–Response
time is small
–Data
retrieved from database, not left at the client
–Powerful