CITA 310 Section 7 Installing and Testing a Programming Environment (Textbook Chapter 7)

Slides:



Advertisements
Similar presentations
1 Copyright © 2002 Pearson Education, Inc.. 2 Chapter 1 Introduction to Perl and CGI.
Advertisements

Lecture 11 Server Side Interaction
Languages for Dynamic Web Documents
Server-Side vs. Client-Side Scripting Languages
Chapter Concepts Review Markup Languages
ASP Tutorial. What is ASP? ASP (Active Server Pages) is a Microsoft technology that enables you to make dynamic and interactive web pages. –ASP usually.
Session 6 Server-side programming - ASP. An ASP page is an HTML page interspersed with server-side code. The.ASP extension instead of.HTM denotes server-side.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Introduction to ASP.NET. 2 © UW Business School, University of Washington 2004 Outline Static vs. Dynamic Web Pages.NET Framework Installing ASP.NET First.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
Apache Tomcat Server – installation & use Server-side language-- use Java Server Pages Contrast Client-side languages HTML Forms Servers & Server-side.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Introduction to Web Interface Technology (CSE2030)
Apache Tomcat Server Typical html Request/Response cycle
Introduction to Web Interface Technology (CSE2030)
1 Foundations of Software Design Lecture 27: Java Database Programming Marti Hearst Fall 2002.
PHP Scripting Language. Introduction “PHP” is an acronym for “PHP: Hypertext Preprocessor.” It is an interpreted, server-side scripting language. Originally.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
PHP By Dr. Syed Noman Hasany. PHP PHP was originally created by Rasmus Lerdorf in PHP stands for PHP: Hypertext Preprocessor (a recursive acronym).
Web Page A page displayed by the browser. Website Collection of multiple web pages Web Browser: A software that displays web pages on client computer.
Web-based Software Development - An introduction.
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
INTRODUCTION TO WEB DATABASE PROGRAMMING
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 24 – Web Servers (PWS, IIS, Apache, Jigsaw) Outline 24.1Introduction 24.2Microsoft Personal.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
True or False? Programming languages can be used to update databases and communicate with other systems. True.
Web Application Programming Carol Wolf Computer Science.
1 Web Server Administration Chapter 1 The Basics of Server and Web Server Administration.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
Introduction to ASP.NET1. 2 Web applications in general Web applications are divided into two parts –The server part –The client part The server part.
Introduction to PHP Advanced Database System Lab no.1.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Computational Boot Camp HTML Mike Schaffer. 8/23/2002 (MES) HTML What is HTML? HTML stands for HyperText Markup Language HTML is the language for publishing.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
1 Session 1: Introduction to PHP & MySQL iNET Academy Open Source Web Development.
Enterprise PHP - Introduction Enterprise Client-Server Development with PHP Nic Shulver, FCES, Staffordshire University A fifteen credit module based on.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
WHAT IS SERVER SIDE SCRIPTING? Server-side scripting is a web server technology in which a user's request is verified by running a script directly on the.
Interactive Web Tehcnologies Teppo Räisänen LIIKE/OAMK 2011.
Scripting Languages Client Side and Server Side. Examples of client side/server side Examples of client-side side include: JavaScript Jquery (uses a JavaScript.
PHP Introduction PHP is a server-side scripting language.
An Investigation into using a Document Management System Presented by: Bijal RanaSupervisor: John Ebden.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
Database Connectivity and Server-Side Scripting Chapter 12.
1 PHP Intro PHP Introduction After this lecture, you should be able to: Know the fundamental concepts of Web Scripting Languages in general, PHP in particular.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
PHP Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT.
PHP / MySQL Introduction
IntroductionToPHP Static vs. Dynamic websites
Web Application Development Using PHP
Presentation transcript:

CITA 310 Section 7 Installing and Testing a Programming Environment (Textbook Chapter 7)

The Need for Programming Languages Web pages with just HTML statements are static pages Pages that contain programming statements allow changes and they are called dynamic pages Programming languages can also be used to update databases and communicate with other systems

Web-based Programming Environment Common Gateway Interface (CGI) A protocol that allows the operating system to interact with the Web server Practical extraction and reporting language (Perl) First popular language for Web servers Java Server Pages (JSP) Language similar to Java

Web-based Programming Environment Active Server Pages (ASP) Script-based environment available on all IIS Web servers ASP.NET Compiled programs operate under.NET Framework PHP Hypertext Protocol (PHP) Popular language available on most platforms The structure of JSP, ASP, and PHP are similar

Using Forms The following HTML produces a form When the submit button is pressed, the data in the form is sent to the file designated as filename

Using ASP to Process a Form The following file displays the information from the form Notice how the items such as "first" match the text names on the form ASP uses for opening and closing tags is one way to retrieve data from the form

ASP.NET ASP.NET is one of the many languages available under the.NET Framework that can be used for the Web The programming model of ASP.NET is superior to that of ASP Has modules for data validation that differentiates between browsers Producing sophisticated reports is much easier

ASP.NET Program that Combines Form and Output

Perl Script to Display Contents of a Form Notice how $cgi->param("first") is similar to ASP’s request("first")

Programming with Databases Microsoft uses two methods to bridge the gap between programming languages and databases Open Database Connectivity (ODBC) The original standard Object Linking and Embedding Database (OLEDB) Current standard which is faster and more flexible Linux often uses Java Database Connectivity (JDBC) You can also have a direct connection between the language (such as PHP) and the database (such as MySQL)

Producing a Report Connect to the database Execute a SQL select statement to retrieve data from a table Put the data in a recordset Also known as a resultset, depending on the environment Loop through the recordset and display the contents

A Report in ASP

Using Data Source Names (DSNs) DSNs are connections to databases that an administrator creates on the server They encapsulate the information on the previous slide concerning the connection information The Data Sources (ODBC) wizard is in the Control Panel Once it is created, you can create a connection with Conn.open "DSN=humanresources;uid=sa"

Programming with ASP.NET Although there is a connection and you send it a SQL select statement, the DataGrid component creates the report

Programming with PHP Note the similarity between ASP and PHP, and how different they are from ASP.NET Warning: Codes poorly written

Installing PHP in Apache You may insert the following lines into your Apache httpd.conf configuration file to load the PHP module for Apache 2.2: LoadModule php5_module "C:/php/php5apache2_2.dll" AddHandler application/x-httpd-php.php PHPIniDir "C:/php"

Server-Side Includes (SSI) SSI provide a means to add dynamic content to existing HTML documents. SSI directives have the following syntax: