1 / 19

ACCS 2007-0420:

ACCS 2007-0420:. What I did last Summer With PHP, MySQL and AJAX. Evolution from HTML to AJAX. HTML XML JAVA Script PHP MySQL AJAX. HTML: How it works. How it works. HTML: What it looks like:. <HTML><HEAD><TITLE>Hello World </TITLE></HEAD><body> Hello World

zorana
Download Presentation

ACCS 2007-0420:

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ACCS 2007-0420: What I did last Summer With PHP, MySQL and AJAX

  2. Evolution from HTML to AJAX • HTML • XML • JAVA Script • PHP • MySQL • AJAX

  3. HTML: How it works • How it works

  4. HTML: What it looks like: <HTML><HEAD><TITLE>Hello World </TITLE></HEAD><body> Hello World <TABLE><TH><TD>Point one <td>Point two</td></th> <TR><TD>This is one<td>this is two </table> </body></html>

  5. HTML: Limits • For each page in client computer there must be one page on server. • Each Browser is a little different. • All functions are a one shot deal. • No computing on client computer. • Tags are limited to finite list.

  6. XML: Strengths • More consistent than HTML • Can make your own tags

  7. XML: What it looks like <title>Cosmos</title> <author>Sagan, Carl</author> <publisher>Random House </publisher> <DOP>1980</DOP> <BR/>

  8. XML: Limits • Needs an XML compliant browser or make your own interpreter.

  9. JAVA: How it works • Picture goes here

  10. JAVA: What it looks like <html> <head> <title> JAVA example </title> <script src="JavaScrips01.js" language="javascript" type="text/javascript"> <!-- Hide script from old browers function HelloWorld() { } // End hiding script from older browsers --> </script></head> <body> <CENTER> HelloWorld() </body></html>

  11. PHP: How it works • Picture goes here

  12. PHP: What it looks like <? php $text = “Hello World”; // …. ?> <HTML><head><title>PHP world </title></head><body> Now is the time to say: <? Echo ($text); ?> </body></html>

  13. PHP example

  14. PHP Example

  15. PHP:Advantages • Very good interface between client and a data base on the server. • Comments don’t show on client computer. • It uses the server clock, not the clock on client computer.

  16. PHP: Limits • All processing in done on server • All processing is a one shot deal • To use the whole screen must be refreshed and processed.

  17. AJAX: What it means • Asynchronous Javascript And XML • Asynchronous means not all at the same time (i.e., not synchronous). • It is not a separate language, but it uses a number of existing languages and technologies in a new way. • It gets a little off the server computer and then goes back for more without refreshing the whole screen.

  18. AJAX: How it works • Picture goes here.

  19. AJAX: What it looks like

More Related