Presentation is loading. Please wait.

Presentation is loading. Please wait.

The need for server pages

Similar presentations


Presentation on theme: "The need for server pages"— Presentation transcript:

1 The need for server pages
HTML Need for Dynamic Content Server pages Hyper-text Markup Language. Designed to implement the layout of a webpage. Stateless nature of pure HTML pages. Example Led to development of scripting languages Client-side scripting vs. Server-side scripting Non-static Complement HTML to present dynamic data. Example languages: ASP, JSP Use this template to create Intranet web pages for your workgroup or project. You can modify the sample content to add your own information, and you can even change the structure of the web site by adding and removing slides. The navigation controls are on the slide master. To change them, on the View menu, point to Master, then choose Slide Master. To add or remove hyperlinks on text or objects, or to change existing hyperlinks, select the text or object, then choose Hyperlink from the Insert menu. When you’re finished customizing, delete these notes to save space in your final HTML files. For more information, ask the Answer Wizard about: The Slide Master Hyperlinks Last Updated: May 4, 2019

2 Similarities Between ASP and JSP
Run on a server as opposed to running on a client Require good programming skills and logical thought Provide full SQL database functionality No difference in the output Examples: A page in ASP………A page in JSP

3 Output of an ASP page code

4 Code for the ASP example
<html> <head> <title>Hello World</title> </head> <body> <%response.write "<h1>Hello World</h1>"%> </body> </html>

5 Output of a JSP page code

6 Code for the JSP example
<html> <head> <title>Hello World</title> </head> <body> <h1> <% out.println("Hello World"); %> </h1> </body> </html>

7 Differences Functionality of languages:
JScript, VBScript for ASP vs. Java for JSP JSP-robust exception handling Interpreted vs. translated Programming logic vs. page design in JSP Greater learning curve for JSP vs. ASP JSP- Open standard vs. ASP- Microsoft tied Cross-platform reusability Tag customization

8 A word of caution Objectivity is lost on diehard fans of either languages With advances in both languages it’s a constant struggle to determine which has a upper hand ASP .NET is the new variation of ASP in direct competition with JSP Difficult to determine which would be ideal for a given project

9 Resource Links on the Web

10 An Example HTML Page code

11 Code for the HTML Example
<head> <title>Hello World</title> </head> <body> <h1>Hello World</h1> </body> </html>


Download ppt "The need for server pages"

Similar presentations


Ads by Google