logging in or signing up Advanced_Internet_Programming2-narrated lpirinelli Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINT lite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 125 Category: Education License: All Rights Reserved Like it (0) Dislike it (0) Added: April 10, 2010 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript Advanced Internet Programming : Advanced Internet Programming Advanced Internet Programming : Advanced Internet Programming Sometimes a web site needs to respond to the user or to Other variables. A program is needed to do this. Programs: are lists of instructions that are executed by an Operating system or other software. Scripts are a type of simple program that performs a simple task Based on user input, which produces output. Programs can be simple scripts or complex programming applications. Advanced Internet Programming : Advanced Internet Programming Why Programs? To enable a browser to customize a web page based on user activity To enable a web server to customize a web page for a specific browser request (Dynamic Web Pages-can change content based on user input) http://www.amazon.com Advanced Internet Programming : Advanced Internet Programming Two kinds of programming Server Side Scripts-or server side programs-programs executed on a server Client-side scripts or client-side programs- executed on the PC Advanced Internet Programming : Advanced Internet Programming Programming Protocols: set of rules or standards by which programs interact with the outside world-Server side scripts must follow programming protocols. Programming language: set of words or codes used to write a program Server Side Programming Protocols : Server Side Programming Protocols CGI-(Common Gateway Interface)-most popular server side programming protocol. When using CGI the URL points to a program file on the web server. Standards for servers to recognize a script 1) Request from browser Executable Program (filename, exe Or filename, cgi database 2) Program returns a virtual web page to browser Text file may Have HTML code Server Side Programming Protocols : Server Side Programming Protocols ASP (Active Server Pages)- technology by Microsoft-allows you to write a web page with one or more scripts on the page. The server executes the ASP script. Once the script finishing customizing the page on the server, the “customized” web page is sent to the browser. 1) Request from browser 2) Page is returned after ASP script is executed ASP Script Text and HTML Web Page Database Server Side Programming Languages : Server Side Programming Languages PERL (Practical Extraction and Report Language)-PERL works well with CGI C and C++- the language is compiled, which means the file containing the list of commands is input into another program to create an encrypted file. More sophisticated than PERL or Visual Basic Visual Basic- Created by Microsoft-is a popular server side language because it easy to learn and interacts well with windows. (compiled like C++) Server Side Programming Languages : Server Side Programming Languages 4. JAVA- Development by SUN Microsystems. Java is a portable language that can be designed so that a JAVA program written under one operating system would also run on others. Small JAVA programs that can be downloaded from a web server and executed by a web browser are called JAVA applets. You need the JAVA plug-in in order for your browser to display the applet. Server Side Programming Languages : Server Side Programming Languages 5. PHP- Hypertext Preprocessoris a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages. PHP-enabled web pages are treated just like regular HTML pages and you can create and edit them the same way you normally create regular HTML pages. Server Side Scripting : Server Side Scripting 6. JAVA Script- developed by Netscape and is not related to JAVA programming in any way. Easily interpreted by most browsers, easy to learn, easy to insert into web pages, therefore the scripting language of choice. 7. VB Scripting- Subset of the Visual Basic Programming Language- these scripts can be inserted into web pages. Server Side Scripts are executed before the page is downloaded to browser Client-Side Scripting : Client-Side Scripting Executed after download and before display JavaScript-date example http://web2.niagaracc.suny.edu/~pirinelli/date.html Client-Side Scripting : Client-Side Scripting Executed after download and before display JavaScript-button example http://web2.niagaracc.suny.edu/~pirinelli/button.html Client-Side Scripting : Client-Side Scripting Executed after download and before display JavaScript-mouse over example http://web2.niagaracc.suny.edu/~pirinelli/swap.html Advanced Internet Programming : Advanced Internet Programming You do not have the permission to view this presentation. In order to view it, please contact the author of the presentation.
Advanced_Internet_Programming2-narrated lpirinelli Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINT lite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 125 Category: Education License: All Rights Reserved Like it (0) Dislike it (0) Added: April 10, 2010 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript Advanced Internet Programming : Advanced Internet Programming Advanced Internet Programming : Advanced Internet Programming Sometimes a web site needs to respond to the user or to Other variables. A program is needed to do this. Programs: are lists of instructions that are executed by an Operating system or other software. Scripts are a type of simple program that performs a simple task Based on user input, which produces output. Programs can be simple scripts or complex programming applications. Advanced Internet Programming : Advanced Internet Programming Why Programs? To enable a browser to customize a web page based on user activity To enable a web server to customize a web page for a specific browser request (Dynamic Web Pages-can change content based on user input) http://www.amazon.com Advanced Internet Programming : Advanced Internet Programming Two kinds of programming Server Side Scripts-or server side programs-programs executed on a server Client-side scripts or client-side programs- executed on the PC Advanced Internet Programming : Advanced Internet Programming Programming Protocols: set of rules or standards by which programs interact with the outside world-Server side scripts must follow programming protocols. Programming language: set of words or codes used to write a program Server Side Programming Protocols : Server Side Programming Protocols CGI-(Common Gateway Interface)-most popular server side programming protocol. When using CGI the URL points to a program file on the web server. Standards for servers to recognize a script 1) Request from browser Executable Program (filename, exe Or filename, cgi database 2) Program returns a virtual web page to browser Text file may Have HTML code Server Side Programming Protocols : Server Side Programming Protocols ASP (Active Server Pages)- technology by Microsoft-allows you to write a web page with one or more scripts on the page. The server executes the ASP script. Once the script finishing customizing the page on the server, the “customized” web page is sent to the browser. 1) Request from browser 2) Page is returned after ASP script is executed ASP Script Text and HTML Web Page Database Server Side Programming Languages : Server Side Programming Languages PERL (Practical Extraction and Report Language)-PERL works well with CGI C and C++- the language is compiled, which means the file containing the list of commands is input into another program to create an encrypted file. More sophisticated than PERL or Visual Basic Visual Basic- Created by Microsoft-is a popular server side language because it easy to learn and interacts well with windows. (compiled like C++) Server Side Programming Languages : Server Side Programming Languages 4. JAVA- Development by SUN Microsystems. Java is a portable language that can be designed so that a JAVA program written under one operating system would also run on others. Small JAVA programs that can be downloaded from a web server and executed by a web browser are called JAVA applets. You need the JAVA plug-in in order for your browser to display the applet. Server Side Programming Languages : Server Side Programming Languages 5. PHP- Hypertext Preprocessoris a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages. PHP-enabled web pages are treated just like regular HTML pages and you can create and edit them the same way you normally create regular HTML pages. Server Side Scripting : Server Side Scripting 6. JAVA Script- developed by Netscape and is not related to JAVA programming in any way. Easily interpreted by most browsers, easy to learn, easy to insert into web pages, therefore the scripting language of choice. 7. VB Scripting- Subset of the Visual Basic Programming Language- these scripts can be inserted into web pages. Server Side Scripts are executed before the page is downloaded to browser Client-Side Scripting : Client-Side Scripting Executed after download and before display JavaScript-date example http://web2.niagaracc.suny.edu/~pirinelli/date.html Client-Side Scripting : Client-Side Scripting Executed after download and before display JavaScript-button example http://web2.niagaracc.suny.edu/~pirinelli/button.html Client-Side Scripting : Client-Side Scripting Executed after download and before display JavaScript-mouse over example http://web2.niagaracc.suny.edu/~pirinelli/swap.html Advanced Internet Programming : Advanced Internet Programming