How to Troubleshoot Apps for the Modern Connected Worker
Target Achieved & Jobs Applied
1.
2. 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
5. Client side scripting &
Server side scripting
Wasem hassan
wazeeem456@gmail.com
www.facebook.com/waseem
hassan
twitter.com/waseemhassan
456
in.linkedin.com/in/waseemh
assan
9567850028
6. Script
• Script is a set of instructions
• For a web pages, they are instructions either
to the web browser(client side scripting) or to
the web server(server side scripting)
7. Server-side scripting
• Server side scripting is used to create dynamic
pages based a number of conditions when the
users browser makes a request to the server
• The Web Server executes the server side
scripting that produces the page to be sent to
the browser.
8. Server-side scripting
• Server executes server-side scripts to send
out a page but it does not execute client-side
scripts.
• Server side scripting is used to connect to the
databases that reside on the web server.
• Server side scripting can access the file system
residing at the web server.
9. Server-side scripting
• Response from a server-side script is slower as
compared to a client-side script because the
scripts are processed on the remote computer.
• Examples of Server side scripting languages :
PHP, JSP, ASP.Net, Ruby, Perl ,etc.
10. 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.
11. Client-side scripting
• The browser receives the page sent by the
server and executes the client-side scripts.
• 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.
12. Client-side scripting
• The files and settings that are local at the
user’s computer can be accessed using Client
side scripting.
• Response from a client-side script is faster as
compared to a server-side script because the
scripts are processed on the local computer.
• Examples of Client side scripting languages :
Javascript, VB script, etc.
13. A ‘Simple’ Web Request
Web
Browser
Web
Server
:
1 - Request an HTML Page
4 - Present HTML Content
3 - Return HTML to Browser
HTML
2 - Retrieve requested HTML
14. A JavaScript Example
Display Date and Time…..
<!DOCTYPE html>
<html>
<head>
<script>
function displayDate()
{
document.getElementById("demo").innerHTML=Date();
}
</script>
</head>
<body>
<h1>My First JavaScript</h1>
<p id="demo">This is a paragraph.</p>
<button type="button" onclick="displayDate()">Display Date</button>
</body>
</html>
15. If this presentation helped you, please visit our
page facebook.com/baabtra and like it.
Thanks in advance.
www.baabtra.com | www.massbaab.com |www.baabte.com
16. Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550