ASP.NET Intro An introduction to the languages and communication of an ASP.NET system.

Slides:



Advertisements
Similar presentations
3.02B Authoring Languages 3.02 Develop webpages..
Advertisements

Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 11: Advanced Web Technologies.
Introduction to JavaScript
Authoring Languages and Web Authoring Software 4.01 Examine web page development and design.
Understand Web Page Development Software Development Fundamentals LESSON 4.1.
AJAX – The Future of Web Development? Anders Moberg David Mörtsell David Södermark.
Web Page Introduction. What is a web page? A web page is a text file containing markup language tags. –A markup language combines text and extra information.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
Basics of HTML.
Computer science Languages, etc.. Overview For web-applications (HTML, JS) – Designing languages (HMTL, CSS) – Server Languages (PHP, ASP) – Extensions.
INTRODUCTION TO WEB DATABASE PROGRAMMING
© 2012 Adobe Systems Incorporated. All Rights Reserved. LEARNING THE LANGUAGE OF THE WEB INTRODUCTION TO HTML AND CSS.
INTRODUCTION TO DHTML. TOPICS TO BE DISCUSSED……….  Introduction Introduction  UsesUses  ComponentsComponents  Difference between HTML and DHTMLDifference.
Internet Applications Notes for Chapter 19 Digital Domain, 2 ed.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
Web engineering. Topic: DHTML Presented by: Shah Rukh Presented to: Sir Ahsan raza.
HTML Forms and Scripts. Session overview What are forms? Static vs dynamic Client-side scripts –JavaScript.
With your friendly Web Developer, Chris.. Terminology  HTML - > Hypertext Markup Language  CSS -> Cascading Style Sheet  open tag  close tag  HTTP->Hypertext.
Chapter 24 - Advanced Web Technologies Introduction Conventional Web Pages Are Static How A Server Stores Static Web pages Fetching Items One At A Time.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
The Internet and the World Wide Web. The Internet A Network is a collection of computers and devices that are connected together. The Internet is a worldwide.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
HTML CSS JAVASCRIPT. HTML - Stands for Hyper Text Markup Language HTML is a ‘language’ that describes web pages. This language is a collection of codes.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
Overview of HTML/XHTML Two Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Internet Web Publishing III. Intro to Cascading Style Sheets Patricia Roberts.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
XHTML and CSS Session 1 Intro, (X)HTML, CSS, W3C, browsers, webpage, structure, tags, attributes, elements, web development process, basic XHTML elements.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
Session I Chapter 1 - Introduction to Web Development
JavaScript Defined JavaScript Basics Definitions JavaScript is an object-oriented programming language designed for the world wide web. JavaScript code.
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.
Client-side & Server-side Scripting ©Richard L. Goldman August 5, 2003 Requires PowerPoint 2002 or later for full functionality.
Session 1 Chapter 1 - Introduction to Web Development ITI 133: HTML5 Desktop and Mobile Level I
Web Terminology Intro to Web. North Lake College 2 by Sean Griffin HTML vs. XHTML HTML: Hypertext Markup Language XHTML: eXtensible Hypertext Markup Language.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Asstt. Prof Sonia Sharma Computer Dept 1 HTML ( Hypertext MarkUP Language ) HTML is the lingua franca for publishing hypertext on the World Wide Web.
STRUCTURE OF JSP PRESENTED BY: SIDDHARTHA SINGH ( ) SOMYA SHRIVASTAV ( ) SONAM JINDAL ( )
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
Web Page Introduction. What is a web page? A hypertext that contains clickable links. A web page is a text file containing Hyper Text MarkUp Language.
Introduction to the World Wide Web & Internet CIS 101.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
Basic Steps to create a Website using HTML5. Hypertext Markup Language.
CSE3310: Web training A JumpStart for Project. Outline Introduction to Website development Web Development Languages How to build simple Pages in PHP.
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
Creating a website. What you should learn HTML HyperText Markup Language Basic structure of your web.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
Module 1 Introduction to JavaScript
Web Basics: HTML/CSS/JavaScript What are they?
Project 1 Introduction to HTML.
Objective % Select and utilize tools to design and develop websites.
4.01B Authoring Languages and Web Authoring Software
3.02B Authoring Languages 3.02 Develop webpages..
Objective % Select and utilize tools to design and develop websites.
Markup Languages -Use codes, called tags, to provide instructions about formatting and structure of a website HTML (Hypertext Markup Language) Must be.
Introduction to Internet Programming
4.01B Authoring Languages and Web Authoring Software
HTML5 Level I Session I Chapter 1 - Introduction to Web Development
Cascading Style Sheets (Introduction)
3.02B Authoring Languages 3.02 Develop webpages..
Cascading Style Sheets (Introduction)
Unit 6 part 3 Test Javascript Test.
Markup Languages -Use codes, called tags, to provide instructions about formatting and structure of a website HTML (Hypertext Markup Language) Must be.
Client-Server Model: Requesting a Web Page
HTTP and HTML HTML HTTP HTTP – Standardize the packaging
Presentation transcript:

ASP.NET Intro An introduction to the languages and communication of an ASP.NET system

The 6 Languages of an ASP.NET Application HTML / XHTML Hypertext Markup Language (Extensible) Note: XHTML is a more restrictive and better formatted version of HTML. Used for formatting and displaying web pages in a web browser. HTML content is considered to be static (i.e. it does not change unless the programmer modifies the code to make it different) Welcome Hello world! Hello world! Browser view: BROWSER SIDE

The 6 Languages of an ASP.NET Application CSS Cascading Style Sheets Used to format HTML items, in a way which is separate from the HTML code. Can be embedded into an HTML page, or can be created as a separate document (which makes the CSS easier to reuse and change). p { color: #0000FF; } Hello world! Browser view: Hello world! BROWSER SIDE

The 6 Languages of an ASP.NET Application JavaScript While similar to Java, it is a different language. JavaScript is an interpreted language used to create dynamic features on the client-side of a web application. Can be embedded into an HTML page, or can be created as a separate document (which makes the JavaScript easier to reuse and change). My First Web Page My First Paragraph. document.getElementById("demo").innerHTML=“Hi!"; My First Web Page My First Paragraph Browser view: Hi BROWSER SIDE

The 6 Languages of an ASP.NET Application ASP Markup A substitute for HTML; can used instead of HTML on server-side web pages. Translated by the server into a series of HTML, CSS and JavaScript code. Once translated, is sent back to the client web browser as a standard HTML document. Used instead of HTML because it is easier to work with this in programming code sections Translated by the server into: <select name="ddlMonthlyInvestment" id="ddlMonthlyInvestment" style="width:106px;"> Browser view: SERVER SIDE

The 6 Languages of an ASP.NET Application C# (or VB) C# is like a combination of C++ and Java; C# is a compiled language used to create dynamic features on the server-side of a web application. Processed by the server to cause changes to the HTML content of a webpage. The result is sent back to the client web browser as standard, static HTML. for (int i = 50; i <= 500; i += 50) ddlMonthlyInvestment.Items.Add(i.ToString()); Browser view: SERVER SIDE

The 6 Languages of an ASP.NET Application SQL Structured Query Language A language used to interact with a database server to retrieve, insert, update and delete data. Databases are generally used to hold the data that our web application presents to the user. The results of a SQL command would usually be written into a web page and then sent back to the client web browser. SELECT [LongName] FROM [Categories] Translated by the server into an “array” object temporarily stored in server memory containing: Costumes Special Effects Masks Props SERVER SIDE

Putting It All Together 1)ASP Markup can create a selection box: 2)An SQL query can retrieve data from the database: SELECT [LongName] FROM [Categories] 3)C# can load the results into the selection box: foreach (String name in QueryResultArray) ddlNames.Items.Add(name); SERVER SIDE

Putting It All Together 4)Server translates into HTML for presentation to client: Costumes Special Effects Masks Props 5)CSS can change how it appears on the screen select { color: #FF0000; font-style: italic; } Browser view: Costumes Special Effects Masks Props BROWSER SIDE

Putting It All Together 6)Javascript can cause an action when an item is selected: function output() { alert (“item selected”); } … Browser view: BROWSER SIDE

Retrieving a Static Web Page from the Web Server Client: Web BrowserServer: Basic Web Server 1. Request for an HTML page2. Receives request 3. Retrieves file from hard disk drive 4. Receives and displays web page 4. Returns file to browser

Retrieving a Dynamic ASPX page from the Web Server Client: Web Browser Server: Microsoft IIS Server 1. Request for an ASPX page 2. Receives request and retrieves file from hard disk drive 4. Return results to web server as a standard HTML file 5. Receives and displays web page 5. Returns file to browser ASP.NET Engine 3. Execute the ASPX code

Retrieving a Dynamic ASPX with Database Data Client: Web Browser Server: Microsoft IIS Server 1. Request for an ASPX page 2. Receives request and retrieves file from hard disk drive 8. Return results to web server as a standard HTML file 10. Receives and displays web page 9. Returns file to browser ASP.NET Engine 3. Execute the ASPX code Database Server 4. Request Data from DB Server 5. Retrieves data from DB files 6. Return data to ASP.NET Engine 7. Incorporate data into web page