Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Internet Programming (Web Based Application)

Similar presentations


Presentation on theme: "Introduction to Internet Programming (Web Based Application)"— Presentation transcript:

1 Introduction to Internet Programming (Web Based Application)

2 Web-based application
TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment

3 World Wide Web Allows users from anywhere on the internet to retrieve documents from any other computers The main protocol is the HTTP – HyperText Transfer Protocol HTTP provides a standard form of communication between web browsers and web servers.

4 World Wide Web (cont.) Web browsers Web servers
Programs running on client computers Request for documents using URL eg. Chrome, Firefox, Safari Web servers Programs that provide documents to browsers eg. Apache

5 World Wide Web (cont.) URL – Uniform Resource Locator
A reference of a document on the web. eg. 2 - Httpd – http daemon: Error response status: 404 Found: response status 200

6 Web Architechture How the Web works for static contents (basic architecture) CGI scripts

7 Advantages Easy for deployment
Standard interface (HTML) for many platform (Windows, Linux/Unix, Mac)

8 Disadvantages Compare to standalone apps
Security prob – malicious code etc., sensitive data – CC

9 Example tech./framework
Conventional CGI – Perl, C, C++, Python, VB Java Servlet Server pages – ASP, PHP, JSP Client side script –JavaScript

10 Common Gateway Interface
How the Web works for dynamic contents CGI Intepreter CGI scripts All of our discussions today will be presented in the C computer language. For C, there are a few required elements which an application must do: Header files describe all of the function calls, their parameters and defined constant values to the compiler. OpenGL has header files for GL (the core library), GLU (the utility library), and GLUT (freeware windowing toolkit). Note: glut.h includes gl.h and glu.h. On Microsoft Windows, including only glut.h is recommended to avoid warnings about redefining Windows macros. Libraries are the operating system dependent implementation of OpenGL on the system you’re using. Each operating system has its own set of libraries. For Unix systems, the OpenGL library is commonly named libGL.so and for Microsoft Windows, it’s named opengl32.lib. Finally, enumerated types are definitions for the basic types (i.e. float, double, int, etc.) which your program uses to store variables. To simplify platform independence for OpenGL programs, a complete set of enumerated types are defined. Use them to simplify transferring your programs to other operating systems.

11 HTML, CSS, & Javascript JSP/Servlet MySQL
All of our discussions today will be presented in the C computer language. For C, there are a few required elements which an application must do: Header files describe all of the function calls, their parameters and defined constant values to the compiler. OpenGL has header files for GL (the core library), GLU (the utility library), and GLUT (freeware windowing toolkit). Note: glut.h includes gl.h and glu.h. On Microsoft Windows, including only glut.h is recommended to avoid warnings about redefining Windows macros. Libraries are the operating system dependent implementation of OpenGL on the system you’re using. Each operating system has its own set of libraries. For Unix systems, the OpenGL library is commonly named libGL.so and for Microsoft Windows, it’s named opengl32.lib. Finally, enumerated types are definitions for the basic types (i.e. float, double, int, etc.) which your program uses to store variables. To simplify platform independence for OpenGL programs, a complete set of enumerated types are defined. Use them to simplify transferring your programs to other operating systems. MySQL

12 Example Web-Based Apps
E-Commerce Amazon, Ebay, osCommerce Wiki Wikipedia Online Blog Blogspot CMS Joomla, Wordpress Social network Facebook, twitter, insta Video Streaming Youtube, Quicktime movie trailer


Download ppt "Introduction to Internet Programming (Web Based Application)"

Similar presentations


Ads by Google