2011年12月26日星期一

第19天 第1节 WEB发展史












==Static Web
   *.htm *.html
   web brower -> http request -> web server -->file system --> web server -> http response -> web browser
    JavaScript * 表单验证,多收集一些脚本程序
    VBScript ( obsolete )
    Applets (obsolete): 在浏览器上植入JVM
    The main shortcoming is that the static web can not connect to database

==Dynamic Web
    Doen't mean the web is changing, it says that the web page is different for different session
    web brower->http request->web server
   
     Web Server Plugin:
              all static request (*.html, *.htm) forward to WebServer
              all dynamic request (*,jsp *,asp ) forward to web containier
      Web containeir can
              handle session
              connect to database
       Implementations
              ASP.NET:
                       Old dates: 代码混乱, Only Windows + IIS + SQL/Acess
                       ASP.NET: Performance Improve + Fast development + C#
                       中小型
              PHP
                       Fast development + simple syantx
                       PHP + MySql
              Servlet / JSP
                       Use multi-thread programming
                       Platform and MySql independent

                       Servlet use System.out.println to output whole html file. ( obsolate?)
                       JSP ( Java Server Page ) : similar to ASP
              RUBY
   




没有评论: