ASP Mr. Baha & Dr.Husam Osta 2014.  What is ASP?  Internet Information Services  How Does ASP Differ from HTML?  What can ASP do for you?  ASP Basic.

Slides:



Advertisements
Similar presentations
JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
Advertisements

Java Script Session1 INTRODUCTION.
Languages for Dynamic Web Documents
IIS Technologies.
DT211/3 Internet Application Development Active Server Pages & IIS Web server.
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
Server-Side vs. Client-Side Scripting Languages
1 Chapter 12 Working With Access 2000 on the Internet.
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.
1 Today: Introduction to ASP- Part 1 Explain the client/server architecture Explain Web-based client/server applications Understand the essentials of Active.
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.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
1 Active Server Pages Active Server Pages (ASPs) are Web pages ASP = server-side scripts + HTML The appearance of an Active Server Page depends on who.
Introduction to Active Server Pages
Overview of ASP.NET Prepared By : Lec : Zalak Thakrar Follow Me on
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
1 Chapter 20 — Creating Web Projects Microsoft Visual Basic.NET, Introduction to Programming.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Beginning Active Server Pages Barry Sosinsky Valda Hilley Programming.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
Lecture Note 3: ASP Syntax.  ASP Syntax  ASP Syntax ASP Code is Browser-Independent. You cannot view the ASP source code by selecting "View source"
Languages in WEB Presented by: Jenisha Kshatriya BCM SS09.
ASP.NET INTRODUCTION INTO وزارة التربية و التعليم العالي كلية العلوم و التكنولوجيا قسم علوم الحاسوب و تكنولوجيا المعلومات اعداد الاستاذ: عبد الله محمد.
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.
3/8/00asp00 1 Active Server Pages from Microsoft Nancy McCracken Northeast Parallel Architectures Center at Syracuse.
INTERNET APPLICATION DEVELOPMENT For More visit:
Server Side Programming ASP1 Server Side Programming Database Integration (cont.) Internet Systems Design.
ASP.NET Web Application and Development Digital Media Department Unit Credit Value : 4 Essential Learning time : 120 hours Digital.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Introduction to ASP.NET 1www.tech.findforinfo.com.
Web Design and Development for E-Business By Jensen J. Zhao Copyright 2003 Prentice Hall, Inc. Web Design and Development for E-Business Jensen J. Zhao.
ASP.NET.. ASP.NET Environment ASP.NET is Microsoft's programming framework that enables the development of Web applications and services. It is an easy.
ASP Introduction Y.-H. Chen International College Ming-Chuan University Fall, 2004.
Universiti Utara Malaysia Chapter 3 Introduction to ASP.NET 3.5.
Lecture Note 1: Getting Started With ASP.  Introduction to ASP  Introduction to ASP An ASP file can contain text, HTML tags and scripts. Scripts in.
Overview: 1. Discussion of the basic architecture of a web application. 2. Discussion of the relevance of using MySQL and PHP in a web application.
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.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
ASP. What is ASP? ASP stands for Active Server Pages ASP is a Microsoft Technology ASP is a program that runs inside IIS IIS stands for Internet Information.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
1) PHP – Personal Home Page Scripting Language 2) JavaScript.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
1111 Creating HTML Programatically Objectives You will be able to Invoke C# code on the server from an ASP.NET page. Write C# code to create HTML.
ASP.NET – Active Server Pages ASP.NET is a server-side technology for developing web applications based on the.NET Framework.
ASP Syntax Y.-H. Chen International College Ming-Chuan University Fall, 2004.
7-1 Active Server and ADO Colorado Technical University IT420 Tim Peterson.
Dr. Abdullah Almutairi Spring PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used,
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
PHP Tutorial. What is PHP PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.
World Wide Web has been created to share the text document across the world. In static web pages the requesting user has no ability to interact with the.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
Active Server Pages v.s. Java Server Pages Presenters: Lan Guo Qunying Fan Pei-Xun Wu Date:
PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient alternative.
ASP – Web Programming Class  Ravi Anand. ASP – Active Server Pages What is ASP? - Microsoft Technology - Can Run using IIS/PWS/Others - Helps us create.
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 using MySQL Database for Web Development (part II)
Introduction to Dynamic Web Programming
ASP Explained By: Sarbjit Kaur.
Active Server Pages Computer Science 40S.
Introduction to ASP By “FlyingBono” 2009_01 By FlyingBono 2009_01
PHP / MySQL Introduction
PHP Introduction.
Client side & Server side scripting
Web Development Using ASP .NET
PHP.
JavaScript.
IntroductionToPHP Static vs. Dynamic websites
Tutorial 6 PHP & MySQL Li Xu
Presentation transcript:

ASP Mr. Baha & Dr.Husam Osta 2014

 What is ASP?  Internet Information Services  How Does ASP Differ from HTML?  What can ASP do for you?  ASP Basic Syntax Rules  ……..

Active Server Pages,  ASP stands for Active Server Pages,or classical ASP ◦ ASP is Microsoft's first server side scripting engine ◦ It enables you to make dynamic and interactive web pages. nternet Information Services (IIS) ◦ ASP is a program that runs inside Internet Information Services (IIS)  An ASP file can contain ◦ Text, HTML, XML, and scripts  Scripts in an ASP file are executed on the server  The default scripting language used for ASP is VBScript, or others like JScript ◦ An ASP file has the file extension “.asp”

 Internet Information Services is an extensible web server created by Microsoft for use with Windows family.  IIS supports: ◦ HTTP, HTTPS, FTP, FTPS, SMTP and NNTP.  It is an integral part of Windows family since Windows NT 4.0, though it may be absent from some edition (e.g. Windows XP Home edition).  IIS is not turned on by default when Windows is installed.

HTML  When a browser requests an HTML file 1.the server returns the file

ASP  When a browser requests an ASP file 1.IIS 1.IIS passes the request to the ASP engine. 2.The ASP engine reads the ASP file, line by line, and executes the scripts in the file. 3.Finally, the ASP file is returned to the browser as plain HTML

1. Dynamically edit, change, or add any content of a Web page 2. Respond to user queries or data submitted from HTML forms 3. Access any data or databases and return the results to a browser 4. Customize a Web page to make it more useful for individual users

1. The advantages over other technologies, are 1.Simplicity 2.speed 2. Provide security 2. Provide security since the code cannot be viewed from the browser minimize the network traffic 3. Clever ASP programming can minimize the network traffic

 It is a unified Web development model  It includes services necessary to build enterprise-class web applications with minimum of coding.  This technology is developed under the.Net framework that is provided in the visual studio platform

 An ASP file normally contains HTML tags, just like an HTML file.  An ASP file can also contain server scripts, surrounded by the delimiters.  The command response.write is used to write output to a browser.  Example

ASP HLTML

 FormatDateTime(Date[, NamedFormat])  The NamedFormat argument may take the following values: ◦ vbLongDate ◦ vbShortDate ◦ vbLongTime ◦ vbShortTime

 YearReturns the current year from a date - with today's date, it returns: 2014 Year  MonthReturns the current month from a date - with today's date, it returns: 1 Month  DayReturns the current day of the month from a date - with today's date, it returns:29 Day  HourReturns the current hour from a time - with the current time, it returns: 8 Hour  MinuteReturns the current minute from a time - with the current time, it returns: 10 Minute  SecondReturns the current second from a time - with the current time, it returns: 28 Second

 Weekday Returns the current day of the week from a date - with today's date, it returns: 3 NOTE: this function has to be called with the argument "the first day of the week" (eg. Monday or Sunday) as well - like this: Weekday(Now,vbMonday) Weekday

 Variables are used to store information.  The example demonstrates ◦ how to declare a variable, assign a value to it, and use the value in a text.

For Initializion To Expressions Statement Next

For Initializion To Expressions Statement Next

 Do {While | Until} condition Statement Loop OR Do Statement Loop {While | Until} condition Do Statement Loop {While | Until} condition

If condition Then statement Else statement End If

= Equals Greater than = Greater than or equal to <> Not equal to AND OR NOT

Select Case Expression Case 1 statement Case 2 statement Case Else statement End Select