Week 2
Week 2
Web Programming
Week2:- Introduction to server-side scripts
Scripting Language
• A script is a set of programming instructions that is interpreted at
runtime.
• They do not require the compilation step and are rather interpreted.
• Scripting language
• Mostly used for routine tasks
• The code is usually executed without compiling
• Is usually embedded into other software environments
Activity 2.1
• Discuss Different Scripting Languages.
• Ex:-
• Active Server Pages (ASP)
• Perl
• PHP (Hypertext Pre-Processor)
• JSP(Java Server Pages)
• JavaScript
• Etc..
• Example Languages
• Perl, PHP, JSP, Ruby, ColdFusion, and Python
Server-Side Scripting Languages[2]
• Server-Side Scripting Languages
• Access the database and send the information back to the browser.
PHP
Server Side scripting Language
What is PHP?
• PHP scripts can only be interpreted on a server that has PHP installed.
• It is especially suited for web development and can be embedded into HTML.