web application introduction
DESCRIPTION
A brief introduction to web application.TRANSCRIPT
- 1. WEB APPLICATIONINTRODUCTION NCU CE MWNL Shaojung Lu ([email protected])
2. Simple Type of Applications
- Console Application
- Windows Application
- Web Application
3. How Do a Web Work Store many web pages in the server Request Response 4. But How the Screen Work? Edit HTML Manual?? (Dreamweaver ? FrontPage ? Notepad or vi ?) Retrieve data from sensors and produce the page. 5. How does the webpage of Taipei Feitsui Reservoir Work?
- There is a program on the server.
- The program runs every ten minutes.
- When the program runs, it retrieves data from the sensors and produces the web page.
6. How does the interaction function on the web site work? 1. Request 3. Response 2.The program runs. 7. More complicated of the web application system DB Server Web Server 2. Query Data 3. Retrieve Data 1. Request 4. Response 8. More and more complicated of the web application system DB Server Web Server 2. Query Data 5. Retrieve Data Business Rules 3. Query Data 4. Retrieve Data 1. Request 6. Response 9. Program Languages of Web Application
- CGI: Perl / C / C++
- ASP: Active Server Pages An Interpreter Language
-
- Using the code like Visual Basic
-
- Released in 1997 (With NT4.0 Release 3)
- PHP: Hypertext Preprocessor
-
- Released in 1995
-
- Using the code like C
-
- It is hot now when using LAMP
-
-
- Linux, Apache, MySQL, PHP
-
10. CGI Code Look Like?
- foreach $line (@MSGSDATA) { if ($line =~ //) { $i++; } }
- $page=($i%$show); if ($page != 0 || $i == 0){ $page=int($i/$show)+1; }
- else { $page=($i/$show); }
- if ($cici eq ){ $min=1; $max=$show; $cici=1; }
- print "Content-type: text/html";
- open (FILE, $gbhead);@lines=;close (FILE);
- foreach $head (@lines) {
- if ($head=~ //) {
- print "";
- print "";
- print "";
- print "
";
- print " ";
- print ""; 11. Server Page Code Look Like?
-
-
- ">
-
- ASP and PHP is all interpreter language.
- Java and .NET appears in the web application.
- Hard coding like CGI is hard to maintain the appearance of the web page.
- Using Server Page, artists can design the web page and save it to HTML.Programmers can modify the HTML into ASP or PHP.
- When the program is finish by using server page, it is hard to modify the visual design.
- Using the component XMLHttpRequest To be the main component.
- Need to consider different Browser!!
- EVEN DIFFERENT Version of IE!!
- We can use jQuery in all Languages.
- ASP.NETAJAX.NET
- JAVADWR
- PHPXAJAX
- HTML
- A Web application Language
- JavaScript
- SQL Language
- AJAX Framework
- SEO Search Engine Optimization
- Q & A
-
- print "
- print "";
- print "";