ÍøÂçѧԺ w3popÉçÇø ÍøÂç×ÊÔ´ ITÐÂÎÅ

w3pop.com :: ÍøÂçѧԺ :: Internet :: ÍøÕ¾½¨Éè

»áÔ±µÇ½

ÕʺÅ

ÃÜÂë

»Ø´ð

¼ÇסÃÜÂë

Íü¼ÇÃÜÂë? ×¢²á

Internet
TCP/IP ½éÉÜ
TCP/IP µØÖ·
TCP/IP ЭÒé
TCP/IP µç×ÓÓʼþ
ÍøÕ¾½¨Éè
ÍøÂçÉè¼Æ
ÍøÂçÓû§
ÍøÂç±ê×¼
ÍøÒ³ÈÏÖ¤
ÍòÎ¬ÍøÁªÃË
ÍøÂ簲ȫ
ÍøÂçÊõÓï±í
ÍøÂçËÑË÷ÒýÇæ
ÍøÂç¶àýÌå¼ò½é
¶àýÌåÒôƵ¸ñʽ
¶àýÌåÊÓÆµ¸ñʽ
ÔÚÍøÂçÖв¥·ÅÒôƵ
ÔÚÍøÂçÖв¥·ÅÊÓÆµ
Windows¶àýÌå¸ñÊ..
¶ÔÏóÔªËØ

ÍøÕ¾½¨Éè


×÷Õß:w3pop.com ·­Òë/ÕûÀí:w3pop.com ·¢²¼:2007-04-29 ÐÞ¸Ä:2007-06-07 ä¯ÀÀ:6684 :: ::

Every Web developer has to know the building blocks of the Web:
ÿ¸öÍøÂ翪·¢Õß¶¼Ó¦¸ÃͨÏþÍøÂç×é¼þȺ£º

Web Developer
  • HTML 4.01
  • The use of CSS (style sheets)
    Ñùʽ±íµÄÓ÷¨
  • XHTML
  • XML and XSLT
    XMLºÍXSLT
  • Client side scripting
    ¿Í»§¶Ë½Å±¾³ÌÐò
  • Server side scripting
    ·þÎñÆ÷¶Ë½Å±¾³ÌÐò
  • Managing data with SQL|
    ͨ¹ýSQL¹ÜÀíÊý¾Ý
  • The future of the Web
    WebÔÚ½«À´µÄÓ¦ÓÃ

HTML 4.01

HTML is the language of the Web, and every Web developer should have a basic understanding of it.
HTML ÊÇÍøÂçÓïÑÔ£¬Ã¿¸öÍøÂ翪·¢Õß¶¼Ó¦¸Ã¶ÔËüÓÐÒ»¸ö»ù±¾µÄÁ˽⡣

HTML 4.01 is an important Web standard. and very different from HTML 3.2.
HTML4.01ÊÇÖØÒªµÄÍøÂç±ê×¼¡£ËüÓëHTML3.2½ØÈ»²»Í¬¡£

When tags like <font> and color attributes were added to HTML 3.2, it started a developer's nightmare. Development of web sites where font information must be added to every single Web page is a long and expensive pain.
µ±<font>±êÇ©ºÍÑÕÉ«ÊôÐÔÌí¼Óµ½HTML3.2ÖÐʱ£¬Ëü¾Í±ä³ÉÁË¿ª·¢ÕߵĨ¬ÃΡ£µ±×ÖÌåÐÅÏ¢±»Ìí¼Óµ½ÍøÕ¾ÖеÄÿһÕÅÍøÒ³Ê±£¬ÍøÕ¾µÄ¿ª·¢¾Í±ä³ÉÁËÒ»¸ö³¤ÆÚÀ§ÈÅÈËÃǵÄÎÊÌâ¡£

With HTML 4.01 all formatting can be moved out of the HTML document and into a separate style sheet.
ͨ¹ýʹÓÃHTML4.01£¬ËùÓеĸñʽ¶¼¿ÉÒÔ´ÓHTMLÎĵµÖÐÈ¥µô¡£ÄãÖ»Òª°ÑËüÃÇд½ø×¨ÃŵÄÑùʽ±íÖоͿÉÒÔ¶ÔÒ³ÃæÖÐËùÓеÄÑùʽ½øÐвÙ×÷¡£

HTML 4.01 is also important because XHTML 1.0 (the latest HTML standard) is HTML 4.01 "reformulated" as an XML application. Using HTML 4.01 in your pages makes the future upgrade from HTML to XHTML a very simple process.
HTML4.01»¹ÓÐÒ»¸öÖØÒªµÄ²¿·Ö¾ÍÊÇXHTML1.0£¨×îеÄHTML±ê×¼£©¡£XHTML1.0ÊÇHTML4.01×÷ΪXMLÓ¦ÓõÄÒ»ÖÖÐÎʽ¡££¬Í¨¹ýÔÚÒ³ÃæÖÐʹÓÃHTML4.01¿ÉÒÔÇáËɵؽ«HTMLÉý¼¶ÎªXHTML¡£

Make sure you use the latest HTML 4.01 standard.
È·¶¨ÄãʹÓõÄÊÇ×îеÄHTML4.01±ê×¼¡£

Study our Complete HTML 4.01 reference.
ѧϰÎÒÃÇÍêÕûµÄHTML4.01²Î¿¼¡£


Cascading Style Sheets (CSS)
Ñùʽ±í£¨CSS£©

Styles define how HTML elements are displayed, just like the font tag in HTML 3.2. Styles are normally saved in files external to  HTML documents. External style sheets enable you to change the appearance and layout of all the pages in your Web, just by editing a single CSS document. If you have ever tried changing something like the font or color of all the headings in all your Web pages, you will understand how CSS can save you a lot of work.
Ñùʽ±í¶¨ÒåÁËHTMLÔªËØµÄÏÔʾ·½Ê½£¬ÈçHTML3.2ÖеÄ×ÖÌå±êÇ©¡£Ñùʽ±íͨ³£±»´æ´¢ÔÚHTMLÎĵµµÄÀ©Õ¹ÎļþÖС£Í¨¹ý±à¼­¼òµ¥µÄCSSÀ©Õ¹Ñùʽ±í¿ÉÒÔʹÄã¸Ä±äÍøÂçÖÐÒ³ÃæµÄÏÔʾºÍ²¼¾Ö·½Ê½¡£Èç¹ûÄãÊÔͼ¸Ä±äÍøÒ³ÖÐËùÓбêÌâµÄ×ÖÌåºÍÑÕÉ«£¬Äã¾Í»á·¢ÏÖ£¬Ñùʽ±íµÄ×÷ÓÃÊǶàô´ó¡£

Make sure you study our CSS tutorial.
ѧϰÎÒÃǵÄCSS½Ì³Ì°É¡£


XHTML - The Future of HTML
XHTML - HTMLµÄδÀ´

XHTML stands for Extensible HyperText Markup Language.
XHTML ±íʾÀ©Õ¹³¬Îı¾±ê¼ÇÓïÑÔ¡£

XHTML 1.0 is now the latest HTML standard from W3C. It became an official Recommendation January 26, 2000. A W3C Recommendation means that the specification is stable and that the specification is now a Web standard.
XHTML1.0ÊÇ×îеÄW3C±ê×¼¡£¹Ù·½ÓÚ2000Äê1ÔÂ26ÈÕÕýÊ½ÍÆ¼öËü¡£W3CÍÆ¼öʹÓñê×¼Òâζןùæ¸ñÒѾ­¹Ì¶¨£¬²¢ÇÒÒѾ­³ÉΪһÖÖÍøÂç±ê×¼¡£

XHTML is a reformulation of HTML 4.01 in XML and can be put to immediate use with existing browsers by following a few simple guidelines.
XHTMLÊÇHTML4.01µÄXMLÀ©Õ¹ÐÎʽ£¬Ëü¿ÉÒÔͨ¹ýһЩ¼òµ¥µÄʹÓÃÏòµ¼Ö±½ÓÓÃÓÚÏÖ´æµÄä¯ÀÀÆ÷ÖС£

To prepare for the future: Read how this site was converted to XHTML.
Ϊ½«À´×¼±¸°É£ºÕ¾µãת»»³ÉXHTMLµÄ·½Ê½¡£


XML - A Tool for Describing Data
XML - ÓÃÓÚÃèÊöÊý¾ÝµÄ¹¤¾ß

The Extensible Markup Language (XML) is NOT a replacement for HTML. In future Web development, XML will be used to describe and carry the data, while HTML will be used to display the data.
À©Õ¹±ê¼ÇÓïÑÔ£¨XML£©²¢²»ÊÇHTMLµÄÌæ´úÆ·¡£ÔÚ½«À´µÄÍøÂç·¢Õ¹ÖУ¬Ëü½«±»ÓÃÓÚÃèÊöºÍЯ´øÊý¾Ý£¬¶øÔòHTMLÓÃÓÚÏÔʾÊý¾Ý¡£

Our best description of XML is as a cross-platform, software- and hardware-independent tool for storing and transmitting information.
ÎÒÃǹØÓÚXML×îºÃµÄÃèÊö¾ÍÊÇ£ºXMLÊÇÒ»¸ö½»»¥Ê½Æ½Ì¨£¬ËüÊÇÓÃÓÚ´æ´¢ºÍ´«µÝÐÅÏ¢µÄ¶ÀÁ¢Ó²¼þ»òÈí¼þ¡£

We believe that XML is as important to the Web as HTML was to the foundation of the Web and that XML will be the most common tool for all data manipulation and data transmission.
ÎÒÃÇÏàÐÅXMLÔÚÍøÂçÓ¦ÓÃÖÐÓëHTMLͬµÈÖØÒª¡£HTMLÊÇ×÷ÎªÍøÂçµÄ»ù´¡£¬¶øXML½«»á³ÉΪËùÓÐÊý¾Ý²Ù×÷ºÍÊý¾Ý´«ÊäµÄ×îÖØÒª¹¤¾ß¡£

Make sure you study our XML tutorial.
ÏÂÃæÀ´Ñ§Ï°ÎÒÃǵÄXML½Ì³Ì°É¡£


XSLT - A Tool for Transforming Data
XSLT - Êý¾Ýת»»¹¤¾ß

XSLT (Extensible Stylesheet Language Transformations) is a language for transforming XML.
XSLT£¨À©Õ¹Ñùʽ±íÓïÑÔת»»£©ÊÇÓÃÓÚת»»XMLµÄÓïÑÔ¡£

Future Web sites will have to deliver data  in different formats, to different browsers, and to other Web servers. To transform XML data into different formats, XSLT is the new W3C standard.
½«À´µÄÍøÕ¾½«²»µÃ²»½«Êý¾ÝÒÔ²»Í¬µÄ¸ñʽ£¬»òÔÚ²»Í¬µÄä¯ÀÀÆ÷ºÍ·þÎñÆ÷Ö®¼äת»»Êý¾Ý¡£XSLTÊÇW3CµÄ±ê×¼£¬ËüÊÇÓÃÓÚ½«XMLת»»ÎªÆäËü²»Í¬µÄ¸ñʽµÄ¡£

XSLT can transform an XML file into a format that is recognizable to a browser. One such format is HTML. Another format is WML - the mark-up language used in many handheld devices.
XSLT¿ÉÒÔ½«Ò»¸öXMLÎļþת»»Îªä¯ÀÀÆ÷¿Éʶ±ðµÄÒ»ÖÖ¸ñʽÓïÑÔ£¬È磺HTML¡£ÁíÒ»ÖÖ¾ÍÊÇ£ºWML - ÔÚÐí¶àÒÆ¶¯É豸ÖÐʹÓõıê¼ÇÓïÑÔ¡£

XSLT can also add elements, remove, rearrange and sort elements, test and make decisions about which elements to display, and a lot more.
XSLT¿ÉÒÔÌí¼ÓÔªËØ£¬É¾³ý¡¢ÖØÅźÍÅÅÁÐÔªËØ£¬²âÊÔ²¢¾ö¶¨¾ßÌåÏÔʾµÄÔªËØµÈµÈ¡£

Make sure you study our XSLT tutorial.
ÏÂÃæÀ´Ñ§Ï°ÎÒÃǵÄXSLT ½Ì³Ì°É¡£


Client-Side Scripting
¿Í»§¶Ë½Å±¾³ÌÐò

Client-side scripting is about "programming" the behavior of an Internet browser. To be able to deliver more dynamic web site content, you should teach yourself JavaScript:
¿Í»§¶Ë½Å±¾³ÌÐòÊÇÉè¼ÆÍøÂçä¯ÀÀÆ÷¿ÉÒÔʶ±ðµÄ³ÌÐòÓïÑÔ¡£ÎªÁËÄܹ»ÈÃÍøÒ³µÄÄÚÈݸü¾ß¶¯Ì¬Ð§¹û£¬ÄãÓ¦¸ÃѧϰÕâÀà½Å±¾ÓïÑÔ£º

  • JavaScript gives HTML designers a programming tool - HTML authors are normally not programmers, but JavaScript is a scripting language with a very simple syntax! Almost anyone can put small "snippets" of code into their HTML pages.

    JavaScript ΪHTMLÉè¼ÆÊ¦ÌṩÁËÒ»¸ö³ÌÐò¿ª·¢¹¤¾ß - HTMLÉè¼ÆÊ¦Í¨³£²»ÊÇÒ»¸ö³ÌÐòÉè¼ÆÊ¦¡£µ«ÊÇJavaScript½Å±¾ÓïÑÔÊÇÒ»¸öÓï·¨·Ç³£¼òµ¥µÄÓïÑÔ¡£Äã¿ÉÒÔÔÚÿ¸öÒ³ÃæÖÐÌí¼ÓÒ»¸öССµÄJS´úÂëÆ¬¶Ï¡£
  • JavaScript can put dynamic text into an HTML page - A JavaScript statement like this: document.write("<h1>" + name + "</h1>") can write a variable text into an HTML page.

    JavaScript ¿ÉÒÔΪÄãµÄHTMLÒ³ÃæÌíÖö¯Ì¬ÄÚÈÝ - Ò»¶ÎJSÓï¾ä£ºdocument.write("<h1>" + name + "</h1>")¿ÉÒÔÏòÒ»¸öHTMLÒ³ÃæÖÐдÈëÒ»¶Î¶¯Ì¬µÄÄÚÈÝ¡£
  • JavaScript can react to events - A JavaScript can be set to execute when something happens, like when a page has finished loading or when a user clicks on an HTML element.

    JavaScript¿ÉÒÔÓÃÓÚ¼¤·¢Ê¼þ - µ±Ò»¸öÌõ¼þ·¢Éúʱ£¬Ò»¶ÎJS½Å±¾Óï¾ä¿ÉÒÔÓÃÓÚÖ´ÐÐij¸ö¹ý³Ì£¬È磺µÈµ½Ò³Ãæ¼ÓÔØÍê±Ï»òÓû§µã»÷Ò»¸öHTMLÒ³ÃæÊ±£¬Ö´ÐÐij¸öʼþ¡£
  • JavaScript can read and write HTML elements - A JavaScript can read and change the content of an HTML element.

    JavaScript ¿ÉÒÔÔĶÁºÍÊéдHTMLÔªËØ - Ò»¸öJS½Å±¾³ÌÐò¿ÉÒÔÓÃÓÚ¶ÁÈ¡»ò¸Ä±äÒ»¸öHTMLÔªËØÖеÄÄÚÈÝ¡£
  • JavaScript can be used to validate data - A JavaScript can be used to validate form data before it is submitted to a server, this will save the server from extra processing.

    JavaScript ¿ÉÒÔÓÃÓÚÑéÖ¤Êý¾Ý - Ò»¸öJS½Å±¾³ÌÐò¿ÉÒÔÔÚÓû§Ïò·þÎñÆ÷Ìá½»ÐÅϢ֮ǰÑéÖ¤Êý¾ÝµÄÓÐЧÐÔ£¬Õ⽫ÓÐÀûÓÚ½ÚÔ¼·þÎñÆ÷µÄ¶îÍâ½ø³ÌºÄ·Ñ¡£

Make sure you study our JavaScript Tutorial.
ÏÂÃæÀ´Ñ§Ï°ÎÒÃǵÄJavaScript ½Ì³Ì°É¡£


Server-Side Scripting
·þÎñÆ÷¶Ë½Å±¾³ÌÐò

Server-side scripting is about "programming" an Internet server. To be able to deliver more dynamic web site content, you should teach yourself server-side scripting. With server-side scripting, you can:
·þÎñÆ÷¶Ë½Å±¾³ÌÐòÊÊÓÃÓÚÔÚÍøÂç·þÎñÆ÷ÉÏÖ´ÐеijÌÐò¡£ÎªÁËÄܹ»ÈÃÍøÒ³µÄÄÚÈݸü¾ß¶¯Ì¬Ð§¹û£¬ÄãÓ¦¸ÃѧϰÕâÀà½Å±¾ÓïÑÔ¡£Í¨¹ýʹÓ÷þÎñÆ÷¶Ë½Å±¾Óï¾ä£¬Äã¿ÉÒÔʵÏÖÏÂÃæµÄÄ¿±ê£º

  • Dynamically edit, change, or add any content of a Web page
    ¶¯Ì¬±à¼­¡¢¸Ä±ä»òÌí¼ÓÒ»¸öÍøÒ³ÖеÄÈκÎÄÚÈÝ¡£
  • Respond to user queries or data submitted from HTML forms
    ¶ÔÓû§µÄ²éѯºÍHTML±íµ¥µÄÌá½»×÷³ö»ØÓ¦
  • Access any data or databases and return the results to a browser
    ·ÃÎÊÊý¾Ý»òÊý¾Ý¿â²¢Ïòä¯ÀÀÆ÷·µ»Ø½á¹û
  • Access any files or XML data and return the results to a browser
    ·ÃÎÊËùÓеÄÎļþ»òXMLÊý¾Ý²¢Ïòä¯ÀÀÆ÷·µ»Ø½á¹û
  • Transform XML data to HTML data and return the results to a browser
    ½«XMLÊý¾Ýת»»³ÉHTMLÊý¾Ý£¬²¢Ïòä¯ÀÀÆ÷·µ»Ø½á¹û
  • Customize a Web page to make it more useful for individual users
    ¶¨ÖÆÍøÂçÒ³Ãæ£¬Ê¹ÆäÏà¶ÔÓÚ¸öÈËÓû§À´Ëµ¸ü¾ßÓÐʹÓÃÐÔ
  • Provide security and access control to different Web pages
    Ìṩ¹ØÓÚ²»Í¬ÍøÂçÒ³ÃæµÄ°²È«¿ØÖƺͷÃÎÊ¿ØÖÆ
  • Tailor your output to different types of browsers
    Ϊ²»Í¬ÀàÐ͵Ää¯ÀÀÆ÷¶¨ÖÆÊä³ö½á¹û
  • Minimize the network traffic
    ¼õÉÙÍøÂçÁ÷Á¿

At W3POP we demonstrate server-side scripting by using Active Server Pages (ASP) and PHP: Hypertext Preprocessor (PHP).
ÔÚW3POPµÄÓйطþÎñÆ÷¶Ë½Å±¾½Ì³ÌÖУ¬ÎÒÃÇÖØµã½éÉÜÁ˶¯Ì¬·þÎñÆ÷Ò³Ãæ£¨ASP£©ÒÔ¼°³¬Îı¾Ô¤´¦Àí³ÌÐò£¨PHP£©¡£

Make sure you study our ASP tutorial or our PHP tutorial.
ÏÂÃæÀ´Ñ§Ï°ÎÒÃǵÄASP ½Ì³ÌºÍPHP½Ì³Ì°É¡£


Managing Data with SQL
ͨ¹ýSQLÀ´¹ÜÀíÊý¾Ý

The Structured Query Language (SQL) is the common standard for accessing databases such as SQL Server, Oracle, Sybase, and Access.
½á¹¹»¯²éѯÓïÑÔ£¨SQL£©Í¨³£ÊÇÒ»¸öÓÃÓÚ·ÃÎÊÖîÈçSQL Server¡¢Oracle¡¢SybaseºÍAccessÕâÑùµÄÊý¾Ý¿âµÄͨÓñê×¼¡£

Knowledge of SQL is invaluable for anyone wanting to store or retrieve data from a database.
SQLµÄ֪ʶ¶ÔÓÚÄÇЩϣÍûÏòÊý¾Ý¿âÖд洢Êý¾Ý»ò´ÓÊý¾Ý¿âÖе÷ÓÃÊý¾ÝµÄÈËÀ´ËµÊÇÎ޼۵ġ£

Any webmaster should know that SQL is the true engine for interacting with databases on the Web.
ÈκÎÒ»¸öÍøÂçÉè¼ÆÊ¦¶¼Ó¦¸ÃÖªµÀ£ºSQLÊÇÓëÍøÂçÊý¾Ý¿â½øÐн»»¥µÄÒýÇæ¡£

Make sure you study our SQL tutorial.
ÏÂÃæÀ´Ñ§Ï°ÎÒÃǵÄSQL ½Ì³Ì°É¡£


What Will the Future Bring?
ÄÇô½«À´»á³öÏÖʲôеļ¼ÊõÄØ£¿

One important thing to know is that the functionality of Web Sites will change very drastically. We will see a huge shift from sites displaying "static content" to data driven sites delivering "dynamic content".
ÒªÖªµÀÔÚ½«À´£¬»¥ÁªÍø¼¼Êõ½«·¢Õ¹µÄ·Ç³£Ö®¿ì¡£ÎÒÃǻᷢÏÖ£¬Ô½À´Ô½¶àµÄÍøÕ¾ÄÚÈݽ«´Ó“¾²Ì¬”±äΪ“¶¯Ì¬”¡£

We will also see a lot of new browsers, like the browsers found in mobile devices, and we will see a lot more use of XML to communicate data between servers, and between servers and browsers.
ÎÒÃǻῴµ½ºÜ¶àеÄä¯ÀÀÆ÷µÄ³öÏÖ£¬È磺»ùÓÚÒÆ¶¯É豸µÄä¯ÀÀÆ÷£»ÎÒÃÇ»¹»á¿´µ½¸ü¶àÓÃÓÚÔÚ·þÎñÆ÷Ö®¼ä¡¢·þÎñÆ÷ºÍä¯ÀÀÆ÷Ö®¼ä½»»»Êý¾ÝµÄXMLµÄÐÂÓ÷¨¡£

ÆÀÂÛ (0) All