MMGD0204 Web Application Technology. Chapter 9 SERVER-SIDE SCRIPTING LANGUAGE



Similar documents
Short notes on webpage programming languages

Web Pages. Static Web Pages SHTML

LAMP Server A Brief Overview

Web Development: Techniques for Handling Content. Shelley Slaey June 2, 2014

PHP Skills and Techniques

PHP Tutorial From beginner to master

LAMP : THE PROMINENT OPEN SOURCE WEB PLATFORM FOR QUERY EXECUTION AND RESOURCE OPTIMIZATION. R. Mohanty Mumbai, India

CrownPeak Playbook CrownPeak Hosting with PHP

A Comparative Study of Web Development Technologies Using Open Source and Proprietary Software

Syllabus INFO-GB Design and Development of Web and Mobile Applications (Especially for Start Ups)

Application Servers G Session 2 - Main Theme Page-Based Application Servers. Dr. Jean-Claude Franchitti

ASP &.NET. Microsoft's Solution for Dynamic Web Development. Mohammad Ali Choudhry Milad Armeen Husain Zeerapurwala Campbell Ma Seul Kee Yoon

A review and analysis of technologies for developing web applications

Syllabus INFO-UB Design and Development of Web and Mobile Applications (Especially for Start Ups)

COURSE CONTENT FOR WINTER TRAINING ON Web Development using PHP & MySql

ASP.NET: THE NEW PARADIGM FOR WEB APPLICATION DEVELOPMENT

PHP. Introduction. Significance. Discussion I. What Is PHP?

DBMS Infrastructures and IT Career Recommendations. Jeff Fineberg November 21, 2011

Web Hosting Features. Small Office Premium. Small Office. Basic Premium. Enterprise. Basic. General

Customer Profile Report for ABC Hosting Ltd

Efficiency of Web Based SAX XML Distributed Processing

IT3504: Web Development Techniques (Optional)

Apache Jakarta Tomcat

IT3503 Web Development Techniques (Optional)

Pemrograman Web. 1. Pengenalan Web Server. M. Udin Harun Al Rasyid, S.Kom, Ph.D

Trollhättan, Sweden

ICS 434 Advanced Database Systems

Web Hosting/Domain Names

Web Development News, Tips and Tutorials

Asset Management. By: Brian Johnson

CSE 203 Web Programming 1. Prepared by: Asst. Prof. Dr. Maryam Eskandari

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Web Technologies Week 4 Hosting, Servers and Databases. Context. Contents. MSc in Computing Computing - IBITE Liverpool Hope University College

Instructor: Betty O Neil

Google AdWords TM Conversion Tracking Guide

ActiveX AJAX ASP. AudioMP3

A Performance Comparison of Web Development Technologies to Distribute Multimedia across an Intranet

Chapter 1. Introduction to web development

E-commerce. Web Servers Hardware and Software

Business Information System Courses Description

An Introduction to VoiceXML

Precondition for a good understanding: knowledge of a higher programming language (e.g. C, Java, Perl, Pascal, Basic,... ) basic knowledge of html

Computer Science A.A. Degree, Certificate of Achievement & Department Certificate Programs

COMPUTER SCIENCE (AS) Associate Degree, Certificate of Achievement & Department Certificate Programs

DEVELOPMENT OF A WEB GEOSERVICES PLATFORM FOR SCHOOL OF ENVIRONMENTAL SCIENCES, MAHATMA GANDHI UNIVERSITY, KERALA, INDIA

USING THE DATABASE MANAGEMENT SYSTEM OF THE FINANCIAL STATEMENTS SUBMISSION

E-commerce. Chapter 4. Building an E-commerce Web Site. Kenneth C. Laudon. Fourth Edition. Copyright 2007 Pearson Education, Inc.

Web Development: Dynamically Generated Content

PHP and XML. Brian J. Stafford, Mark McIntyre and Fraser Gallop

ASSOCIATE IN ARTS DEGREE-60 UNITS

Release 1. ICAPRG604A Create cloud computing services

Internet Technologies_1. Doc. Ing. František Huňka, CSc.

Fig (1) (a) Server-side scripting with PHP. (b) Client-side scripting with JavaScript.

CV: AGGELOS HANOU. Software Developer (desktop & web app.) Personal information 2. Work experience 3. Education and training 3.

HTML Basics(w3schools.com, 2013)

Lecture 2. Internet: who talks with whom?

Creating Library Website Using Open Source Content Management System

UQC103S1 UFCE Systems Development. uqc103s/ufce PHP-mySQL 1

Evolution of the Major Programming Languages

Developing Web Browser Recording Tools. Using Server-Side Programming Technology

Web development... the server side (of the force)

Expert Reference Series of White Papers. 10 Tips for Creating Your Web Site COURSES.

Web Programming Languages Overview

CLIENT SERVER VERSUS DISTRIBUTED NETWORK APPLICATIONS IN HUMAN RESOURCE MANAGEMENT

CSE 510 Web Data Engineering

Introduction to ASP. Are you sick of static HTML pages? Do you want to create dynamic web pages? Do you

Outline Definition of Webserver HTTP Static is no fun Software SSL. Webserver. in a nutshell. Sebastian Hollizeck. June, the 4 th 2013

Online Enrollment and Administration System

New Features Overview

Ogunrinde Mutiat Adebukola, Olorisade Babatunde Kazeem

Table of contents. HTML5 Data Bindings SEO DMXzone

INFORMATION BROCHURE Certificate Course in Web Design Using PHP/MySQL

Developing Your School Website

Credits: Some of the slides are based on material adapted from

Seamless Web Data Entry for SAS Applications D.J. Penix, Pinnacle Solutions, Indianapolis, IN

4 Understanding. Web Applications IN THIS CHAPTER. 4.1 Understand Web page development. 4.2 Understand Microsoft ASP.NET Web application development

by Pearson Education, Inc. All Rights Reserved.

Instructor Özgür ZEYDAN BEU Dept. of Enve. Eng. CIV 112 Computer Programming Lecture Notes (1)

Web 2.0 Technology Overview. Lecture 8 GSL Peru 2014

Measured Performance of an Information System

Business & Computing Examinations (BCE) LONDON (UK)

THE CHALLENGE OF ADMINISTERING WEBSITES OR APPLICATIONS THAT REQUIRE 24/7 ACCESSIBILITY

To use MySQL effectively, you need to learn the syntax of a new language and grow

Current Order Tool Experiences Complaints

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Creativity. Technology. Results.

Application note: Connecting the to a Database

Web Cloud Architecture

Chapter 21 Web Servers

Chapter 1 Programming Languages for Web Applications

Web Extras. Customer Service Description. Version 3.0. February 26, 2002

Quick Reference Guide: Shared Hosting

Web Application Development

HTML5. Turn this page to see Quick Guide of CTTC

7 Why Use Perl for CGI?

Tipping The Scale Tips, Tools, and Techniques For Building Scalable. Steve French Senior Software Engineer digg.com

COMPUTER SCIENCE (AS) Associate Degree, Certificate of Achievement & Department Certificate Programs

Installation Instructions

Introduction to web development

WWW. World Wide Web Aka The Internet. dr. C. P. J. Koymans. Informatics Institute Universiteit van Amsterdam. November 30, 2007

Transcription:

MMGD0204 Web Application Technology Chapter 9 SERVER-SIDE SCRIPTING LANGUAGE

Server-Side Scripting Language A web server technology in which a user's request is fulfilled by running a script directly on the web server to generate dynamic web pages. Used to provide interactive web sites that interface to databases or other data stores. It has ability to highly customize the response based on the user's requirements, access rights, or queries into data stores.

Static vs. Dynamic Website A static website is one that is written in HTML only. It has no connection to any database. A dynamic website is written using more complex code and can do a lot more. It can read and send data into a database in the server.

What It Can Do? Dynamically edit, change, or add any content of a Web page Respond to user queries and form data Access databases and return the result to a browser Access files and return the result to a browser Transform XML data to HTML data and return the results to a browser

What It Can Do? Customize a Web page to make it more useful for individual users Provide security and access control to Web pages Tailor your output to different types of browsers Minimize network traffic

How It Works?

How It Works? Dynamic Website

Examples of Server-Side Scripting Language ASP JSP PHP Python CGI

PHP PHP stands for PHP: Hypertext Preprocessor PHP scripts are executed on the server PHP supports many databases PHP is an open source software: free to download and use. The syntax of PHP is almost similar to C and Java. The goal of PHP is to allow web developers to write dynamically generated pages quickly.

PHP Files PHP files can contain text, HTML tags and scripts PHP files are returned to the browser as plain HTML PHP files have a file extension of ".php", ".php3", or ".phtml"

PHP Requirements PHP Program MySQL Database Apache Server

Basic PHP Syntax A PHP scripting block always starts with <?php and ends with?>. A PHP scripting block can be placed anywhere in the document. There are two basic statements to output text with PHP: echo and print. Each code line in PHP must end with a semicolon. The semicolon is a separator and is used to distinguish one set of instructions from another.

Example PHP Syntax <html> <body> <?php echo "Hello World";?> </body> </html>

ASP ASP stands for Active Server Pages. ASP is a Microsoft Technology. ASP is a program that runs inside IIS (Internet Information Services). It based on visual basic syntax. ASP allows us to edit, change or add any content of a web page. It responds to user queries or data given from HTML forms.

ASP File An ASP file is just the same as an HTML file An ASP file can contain text, HTML, XML, and scripts Scripts in an ASP file are executed on the server An ASP file has the file extension ".asp"

How Does ASP Differ from HTML? When a browser requests an HTML file, the server returns the file When a browser requests an ASP file, IIS passes the request to the ASP engine. The ASP engine reads the ASP file, line by line, and executes the scripts in the file. Finally, the ASP file is returned to the browser as plain HTML

What Can ASP Do? Dynamically edit, change, or add any content of a Web page Respond to user queries or data submitted from HTML forms Access any data or databases and return the results to a browser Customize a Web page to make it more useful for individual users

What Can ASP Do? The advantages of using ASP instead of CGI and Perl, are those of simplicity and speed Provide security - since ASP code cannot be viewed from the browser Clever ASP programming can minimize the network traffic

Basic ASP Syntax An ASP file normally contains HTML tags, just like an HTML file. However, an ASP file can also contain server scripts, surrounded by the delimiters <% and %>. Server scripts are executed on the server, and can contain any expressions, statements, procedures, or operators valid for the scripting language you prefer to use.

Example ASP Syntax <html> <body> <% response.write("hello World!") %> </body> </html>

Difference between PHP and ASP 1. Cost To run ASP programs one needs IIS installed on a Windows platform server, which is not free. PHP programs run on Linux, which is free. 2. Speed PHP code runs faster than ASP.

Difference between PHP and ASP 3. Platform Compatibility PHP programs can run on various platforms like Linux, Unix, Windows and Solaris. ASP is mainly associated with Windows platforms. 4. Base Language PHP is based on C++ language and the syntax. ASP is based on Visual Basic syntax.

Difference between PHP and ASP 5. Database Connectivity PHP, being extremely flexible, can connect to various databases, the most popular being MySQL. ASP mainly uses MS-SQL.