KEMBAR78
Client & server side scripting | PPTX
AbdulRaouf N
Arn.raouf@gmail.com
www.facebook.com/AbdulRaouf
twitter.com/AbdulRaouf
in.linkedin.com/in/AbdulRaouf
Typingspeed:28wpm
CLIENT SIDE & SERVER SIDE
SCRIPTING
Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
SCRIPTING LANGUAGES
• A scripting language is a programming language that
supports the writing of scripts
• Can create dynamic web page
Change based on user input
• For a web pages, they are instructions either to the
web browser or to the web server.
ADVANTAGES OF SCRIPTING
 Easy to learn and use
 Minimum programming knowledge or experience
required
 Allow complex tasks to be performed in relatively few
steps
 Allow simple creation and editing in a variety of text
editors
 Allow the addition of dynamic and interactive activities
to web pages
 Editing and running code is fast.
TYPES OF SCRIPTING
LANGUAGE
Client-side scripting language
Server-side scripting language
CLIENT SIDE SCRIPTING
• Client side scripting is used when the users browser already
has all the code and the page is altered on the basis of the
users input.
• The Web Browser executes the client side scripting that
resides at the user’s computer.
• Does not involve server processing
• Complete application is downloaded to the client browser
• Client browser executes it locally
• Are normally used to add functionality to web pages
CLIENT SIDE SCRIPTING
• Client side scripting cannot be used to connect to
the databases on the web server.
• Client side scripting can’t access the file system that
resides at the web server.
Examples of Client side scripting languages :
JavaScript ActionScript
Dart VBScript
Typescript
THE PROCESS WITH CLIENT-SIDE
SCRIPTING
ADVANTAGES AND DISADVANTAGES
Advantages
Allow for more interactivity by immediately responding to
users' actions.
Execute quickly because they don't require a trip to the server.
Can give developers more control over the look and behavior of
their Web widgets.
Disadvantages
Not all browsers support scripts, therefore, users might
experience errors if no alternatives have been provided.
Different browsers and browser versions support scripts
differently, thus more quality assurance testing is required.
SERVER SIDE SCRIPTING
• Can use huge resources of the server
• Complete all processing in the server and send plain pages to
the client
• Reduces client-side computation overhead
• The server is where the Web page and other content lives.
• The server sends pages to the user/client on request.
• Examples of Server side scripting languages :
PHP ASP
Perl Ruby
WHAT CAN SERVER SCRIPTS DO?
 Dynamically edit, change or add any content to a Web page.
 Respond to user queries or data submitted from HTML forms.
 Access any data or databases and return the result to a browser.
 Provide security since your server code cannot be viewed from a
browser.
THE PROCESS WITH SERVER-SIDE SCRIPTING
ADVANTAGES AND DISADVANTAGES
Advantages
It reduces the load on the user’s computer, as it does not
require plug-ins or browser scripting technology.
You can use it to dynamically create pages on the fly. New
pages can even be instantly created based on certain user
interaction.
Disadvantages
It requires the scripting software to be installed on the server.
Many scripts and CMS tools require databases in order to
store dynamic data.
COMPARISON
Client side scripting
• Used when the users browser
already has all the code
• The Web Browser executes the
client side scripting
• Cannot be used to connect to
the databases on the web
server
• Can’t access the file system
that resides at the web server
• Response from a client-side
script is faster as compared to
a server-side script
Server side scripting
• Used to create dynamic pages
• The Web Server executes the
server side scripting
• Used to connect to the
databases that reside on the
web server
• Can access the file system
residing at the web server
• Response from a server-side
script is slower as compared to
a client-side script
THE COMBINATION
Many websites use both types of scripting:
 server-side handles logging in, personal information
and preferences and provides the specific data which
the user wants (and allows new data to be stored)
 client-side makes the page interactive, displaying or
sorting data.
THANK YOU...
Want to learn more about programming or Looking to become a good programmer?
Are you wasting time on searching so many contents online?
Do you want to learn things quickly?
Tired of spending huge amount of money to become a Software professional?
Do an online course
@ baabtra.com
We put industry standards to practice. Our structured, activity based courses are so designed
to make a quick, good software professional out of anybody who holds a passion for coding.
Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ slideshare.net/BaabtraMentoringPartner
Connect to us @ in.linkedin.com/in/baabtra
Thanks in advance.
www.baabtra.com | www.massbaab.com |www.baabte.com
Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Cafit Square,
Hilite Business Park,
Near Pantheerankavu,
Kozhikode
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com

Client & server side scripting

  • 2.
  • 3.
    Disclaimer: This presentationis prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 4.
    SCRIPTING LANGUAGES • Ascripting language is a programming language that supports the writing of scripts • Can create dynamic web page Change based on user input • For a web pages, they are instructions either to the web browser or to the web server.
  • 5.
    ADVANTAGES OF SCRIPTING Easy to learn and use  Minimum programming knowledge or experience required  Allow complex tasks to be performed in relatively few steps  Allow simple creation and editing in a variety of text editors  Allow the addition of dynamic and interactive activities to web pages  Editing and running code is fast.
  • 6.
    TYPES OF SCRIPTING LANGUAGE Client-sidescripting language Server-side scripting language
  • 7.
    CLIENT SIDE SCRIPTING •Client side scripting is used when the users browser already has all the code and the page is altered on the basis of the users input. • The Web Browser executes the client side scripting that resides at the user’s computer. • Does not involve server processing • Complete application is downloaded to the client browser • Client browser executes it locally • Are normally used to add functionality to web pages
  • 8.
    CLIENT SIDE SCRIPTING •Client side scripting cannot be used to connect to the databases on the web server. • Client side scripting can’t access the file system that resides at the web server. Examples of Client side scripting languages : JavaScript ActionScript Dart VBScript Typescript
  • 9.
    THE PROCESS WITHCLIENT-SIDE SCRIPTING
  • 10.
    ADVANTAGES AND DISADVANTAGES Advantages Allowfor more interactivity by immediately responding to users' actions. Execute quickly because they don't require a trip to the server. Can give developers more control over the look and behavior of their Web widgets. Disadvantages Not all browsers support scripts, therefore, users might experience errors if no alternatives have been provided. Different browsers and browser versions support scripts differently, thus more quality assurance testing is required.
  • 11.
    SERVER SIDE SCRIPTING •Can use huge resources of the server • Complete all processing in the server and send plain pages to the client • Reduces client-side computation overhead • The server is where the Web page and other content lives. • The server sends pages to the user/client on request. • Examples of Server side scripting languages : PHP ASP Perl Ruby
  • 12.
    WHAT CAN SERVERSCRIPTS DO?  Dynamically edit, change or add any content to a Web page.  Respond to user queries or data submitted from HTML forms.  Access any data or databases and return the result to a browser.  Provide security since your server code cannot be viewed from a browser.
  • 13.
    THE PROCESS WITHSERVER-SIDE SCRIPTING
  • 14.
    ADVANTAGES AND DISADVANTAGES Advantages Itreduces the load on the user’s computer, as it does not require plug-ins or browser scripting technology. You can use it to dynamically create pages on the fly. New pages can even be instantly created based on certain user interaction. Disadvantages It requires the scripting software to be installed on the server. Many scripts and CMS tools require databases in order to store dynamic data.
  • 15.
    COMPARISON Client side scripting •Used when the users browser already has all the code • The Web Browser executes the client side scripting • Cannot be used to connect to the databases on the web server • Can’t access the file system that resides at the web server • Response from a client-side script is faster as compared to a server-side script Server side scripting • Used to create dynamic pages • The Web Server executes the server side scripting • Used to connect to the databases that reside on the web server • Can access the file system residing at the web server • Response from a server-side script is slower as compared to a client-side script
  • 16.
    THE COMBINATION Many websitesuse both types of scripting:  server-side handles logging in, personal information and preferences and provides the specific data which the user wants (and allows new data to be stored)  client-side makes the page interactive, displaying or sorting data.
  • 17.
  • 18.
    Want to learnmore about programming or Looking to become a good programmer? Are you wasting time on searching so many contents online? Do you want to learn things quickly? Tired of spending huge amount of money to become a Software professional? Do an online course @ baabtra.com We put industry standards to practice. Our structured, activity based courses are so designed to make a quick, good software professional out of anybody who holds a passion for coding.
  • 19.
    Follow us @twitter.com/baabtra Like us @ facebook.com/baabtra Subscribe to us @ youtube.com/baabtra Become a follower @ slideshare.net/BaabtraMentoringPartner Connect to us @ in.linkedin.com/in/baabtra Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  • 20.
    Contact Us Emarald Mall(Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Cafit Square, Hilite Business Park, Near Pantheerankavu, Kozhikode Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com