Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ʹÓà PHP ¿ìËÙÉú³É Flash ¶¯»­

Jack D. Herrington
, ¸ß¼¶Èí¼þ¹¤³Ìʦ, Leverage Software Inc.
2007 Äê 1 ÔÂ 24 ÈÕ
Rich Internet Application ÊÇ Web 2.0 ÖеÄÐÂʱ÷Ö´Ê£¬²¢ÇÒ¾Í Web 2.0
µÄʵÖʶøÑÔ£¬Ò»¸ö¹Ø¼ü×é¼þ¾ÍÊÇ Adobe Flash¡£Á˽âÈçºÎ½« Flash ¶¯»­¼¯³Éµ½Ó¦ÓóÌÐòÖУ¬²¢Ê¹Óà Ming ¿â¶¯Ì¬Éú³É Flash
¶¯»­¡£
Web 2.0 ÒýÈëÁË Rich Internet Application¡£µ« Rich Internet Application
µÄº¬ÒåÊÇʲô£¿Í¨³££¬ËüÒâζ×ÅÏòÓ¦ÓóÌÐòÖÐÌí¼Ó¾ßÓи߶ÈÏìÓ¦ÄÜÁ¦µÄ½»ÒײÙ×÷¡£¾ßÌåÀ´Ëµ£¬ËüÒâζ×Å¿ÉÒÔ¼´Ê±¸ü¸ÄÒ³ÃæÖеÄС²¿¼þ¡¢Web ±íµ¥ºÍ±¨¸æ£¬¶øÎÞÐè´Ó·þÎñÆ÷ÖмìË÷ÐÂÒ³Ãæ¡£
Ò»
ÖÖÓÃÓÚ¹¹½¨ Rich Internet Application£¨RIA£©µÄ·½·¨¾ÍÊÇʹÓö¯Ì¬ HTML£¨Dynamic
HTML£¬DHTML£©£¬ËüÊÇ Ajax¡¢JavaScript¡¢²ãµþÑùʽ±í£¨Cascading Style Sheet£¬CSS£©ºÍ HTML
µÄ×éºÏ£¨Çë²ÎÔÄ ²Î¿¼×ÊÁÏ
£©¡£µ«ÊÇ DHTML ²¢²»ÊÇÏò Web Ó¦ÓóÌÐòÖÐÌí¼Ó»¥¶¯²Ù×÷µÄΩһ·½·¨¡£ÁíÒ»ÖÖÖØÒª·½·¨ÊÇʹÓà Adobe Flash Player£¬Ê¹ÓÃËüΪ Web Õ¾µãÌí¼Ó½»»¥²Ù×÷ÒѾ­ÓÐÊ®ÄêµÄÀúÊ·¡£
µÚÒ»°æµÄ Flash ÔøÊÇÓÃÓÚ´´½¨¶¯»­Í¼Æ¬µÄ¹¤¾ß£¬¶ø×îа汾µÄ Flash ÒѾ­¿ÉÒÔÍйÜÒ»¸öÍêÕûµÄ½çÃ棬¿ÉÓÃÓÚ¿ØÖÆ Web ·þÎñ·ÃÎʲ¢Ê¹Óà ECMAScript£¨JavaScript µÄÕýʽ°æ±¾£©À´ÌṩÍêÕûµÄ½Å±¾Ö§³Ö¡£
Á˽â Flash
Flash
Player ÊǼ¯³Éµ½ÔËÐÐ Microsoft® Windows®¡¢Mac OS X ºÍ Linux® µÄ¼ÆËã»úµÄ Web
ä¯ÀÀÆ÷ÖеÄÒ»¸ö²å¼þ¡£½ØÖÁ±¾ÎÄÍê¸åʱ£¬×îа汾µÄ Flash Player ÊÇ
V8¡£ËüÊÇ¿ÉÒÔÃâ·Ñ»ñµÃµÄ£¬´ó¶àÊýä¯ÀÀÆ÷¶¼¸½´ø°²×°Á˴˲å¼þ¡£ËüÊ®·ÖÁ÷Ðв¢ÇÒ¾ßÓÐÓÅÐãµÄ¿Í»§»úÉø͸Á¦ —— ¶øÕâÖÖÉø͸Á¦Ëæ×Å YouTube ºÍ
Google Video ÕâÀà·þÎñµÄ³öÏֵõ½ÁËÌá¸ß£¬ÕâЩ·þÎñ¶¼Ê¹Óà Flash ÏÔʾÊÓƵÁ÷¡£
Flash Player
Ö»ÊÇÌìƽµÄÒ»¶Ë¡£Òª·¢»Ó×÷Óã¬Flash Player »¹ÐèҪʹÓÃÒ»¸ö Flash ¶¯»­¡£´ËÀද»­Í¨³£ÊÇʹÓÃÒ»ÖÖ Flash
µÄ¿ª·¢¹¤¾ß±àÒëµÄÎļþ£¬ÆäÎļþÀ©Õ¹ÃûΪ .swf¡£µ«ÕýÈçÄú½«ÔÚ±¾ÎÄÖп´µ½µÄÄÇÑù£¬»¹¿ÉÒÔʹÓà Ming ¿âÓü¸ºõÓ붯̬´´½¨Í¼Æ¬ÏàͬµÄ·½·¨À´¶¯Ì¬¹¹½¨
.swf Îļþ£¬²¢ÔÚ Web ·þÎñÆ÷ÉÏ»æÖÆͼÐΡ£Ming ¿âÀûÓÃÓÉ PHP ´úÂë¹¹½¨µÄ¶ÔÏóºÍ·½·¨ÔÚÐ嵀 .swf ÎļþÖй¹½¨²Ù×÷´úÂë¡£
Äú
¿ÉÒÔͨ¹ýÁ½ÖÖ·½·¨ÖеÄÈÎÒâÒ»ÖÖ·½·¨À´²é¿´ Web Õ¾µãÖÐµÄ .swf Îļþ¡£µÚÒ»ÖÖ·½·¨Ö»Ðèµ¼º½µ½ .swf ÎļþµÄ URL¡£ÕâÑù×ö½«°Ñ Web
·þÎñÆ÷µÄÕû¸öÄÚÈÝÇøÓòÌ滻Ϊ Flash ¶¯»­¡£´Ë·½·¨±ãÓÚ½øÐе÷ÊÔ£¬µ«Ö÷ÒªµÄÓ÷¨»¹Êǽ«¶¯»­Ç¶Èëµ½ HTML Web Ò³ÃæµÄ <obj


Ïà¹ØÎĵµ£º

ubuntu Ï ´î½¨ apache+php+mysql


#apt-get install apache2
//°²×°apahce2
#apt-get install php5
//°²×°php5
#apt-get install mysql-server
//°²×°mysql·þÎñ¶Ë
#apt-get install  mysql-myclient
//°²×°mysqlµÄ¿Í»§¶Ë
#apt-get install php-mysql
//°²×°php-mysqlµÄÁ¬½á
apache+php+mysql »·¾³ÒѾ­´î½¨ºÃÁË
½«ÒÔϵķþÎñÖØÆôÒ»ÏÂ
#/et ......

php¶ÁÊý¾Ý¿âÂÒÂë

<?php
// Á¬½Ó£¬Ñ¡ÔñÊý¾Ý¿â
$dbconn = pg_connect("host=localhost dbname=publishing user=www password=foo")
    or die('Could not connect: ' . pg_last_error());
// Ö´ÐÐ SQL ²éѯ
$query = 'SELECT * from authors';
$result = pg_query($query) or die('Query failed: ' . pg_last_error( ......

PHP±í´ïʽÓëÔËËã·û

PHP±í´ïʽ
±í´ïʽÊdz£Á¿¡¢±äÁ¿ºÍÔËËã·ûµÄ×éºÏ
±í´ïʽÊÇPHPÖеÄÖØÒªÄÚÈÝ£¬PHPÖм¸ºõËùÓеĶ«Î÷¶¼¿ÉÒÔ³ÆΪ±í´ïʽ
$x=10;
$y=($x=10);
$y+=($x=10);
$z=&$x;
$condition?$true_item:$false_item;
PHPÔËËã·û
ÔËËã·ûÊÇÓÃÀ´¶ÔÊýÖµ»ò±äÁ¿½øÐÐijÖÖ²Ù×÷ÔËËãµÄ·ûºÅ¡£Ò»°ãµØ˵£¬ÔËËã·û¿ÉÒÔ´øÓÐ1¸ö¡¢2¸ö»òÕ߸ü¶à¸öÔËË ......

PHPÍⲿ±äÁ¿Óë»·¾³±äÁ¿

PHPÍⲿ±äÁ¿Óë»·¾³±äÁ¿
PHPµÄÌصãÖ®Ò»¾ÍÊÇ¿ÉÒÔÓüòµ¥µÄ·½Ê½´¦Àí±íµ¥Êý¾Ý£¬»ñÈ¡»·¾³±äÁ¿¡£ÔÚPHPÖУ¬ÕâЩÍⲿÊý¾Ý»ò±äÁ¿±£´æÔÚÒ»ÖÖÌØÊâµÄÈ«¾Ö±äÁ¿Êý×éÖС£
±íµ¥Êý¾Ý
$_GET£º»ñÈ¡GETÇëÇó·¢Ë͵ÄÊý¾Ý
$_POST£º»ñÈ¡POSTÇëÇó·¢Ë͵ÄÊý¾Ý
$_REQUEST£º¿ÉÒÔͬʱ»ñÈ¡GETºÍPOSTÇëÇó·¢Ë͵ÄÊý¾Ý
¡¾Ê¾Àý¡¿
ÇëÇóURL£ºhttp://localh ......

PHP³£Á¿

PHP³£Á¿
³£Á¿Êǹ̶¨µÄÊýÖµÀýÈçÔ²ÖÜÂÊ£¬ÓÃÒ»¸ö¼òµ¥µÄ±êʶ·û½øÐж¨Ò壨Ãû×Ö£©¡£³£Á¿Ä¬ÈÏΪ´óСдÃô¸Ð¡£°´ÕÕ¹ßÀý³£Á¿±êʶ·û×ÜÊÇ´óдµÄ¡£
³£Á¿ÃûºÍÆäËüÈκΠPHP ±êÇ©×ñѭͬÑùµÄÃüÃû¹æÔò¡£ºÏ·¨µÄ³£Á¿ÃûÒÔ×Öĸ»òÏ»®Ïß¿ªÊ¼£¬ºóÃæ¸ú×ÅÈκÎ×Öĸ£¬Êý×Ö»òÏ»®Ïß¡£
³£Á¿µÄ¶¨Ò壺¿ÉÒÔÓà define( ) º¯ÊýÀ´¶¨Òå³£Á¿¡£Ò»¸ö³£Á¿Ò»µ©±»¶¨Ò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ