Yii ¿ìËÙ£¬°²È«£¬×¨ÒµµÄPHP¿ò¼Ü

5年以前  |  阅读数:560 次  |  编程语言:PHP 

YiiÊÇÒ»¸o¸ßÐÔÄܵģ¬ÊÊÓÃÓÚ¿ª¢WEB2.0Ó¦ÓõÄPHP¿o¼Ü¡£
Yii×Ô´øÁË
a¸»µÄ¹¦ÄÜ £¬°uÀ¨MVC£¬DAO/ActiveRecord£¬I18N/L10N£¬»º´ae£¬ÉiÝÑeÖ¤ºÍ»uÓÚ½ÇÉ«µÄÃÎÊ¿ØÖÆ£¬½ÅÊּܣ¬²aÊԵȣ¬¿ÉÏÔÖøËo¶Ì¿ª*¢Ê±¼a

¹Ù*½ÍøÕ¾£ºhttp://www.yiiframework.com/

Yii¿iËÙ

Yii Ö»¼ÓÔØÄuÐeÒªµÄ¹¦ÄÜ¡£Ëu¾ßÓÐÇ¿´oµÄ»º´aeÖ§³Ö¡£ËuÃ÷È*µÄÉe¼ÆÄÜÓe AJAX Ò»Æð¸ßЧÂʵŤ×÷¡£

Yii°²È«

Yii µÄ±e×¼ÊÇ°²È«µÄ¡£Ëu°uÀ¨ÁËÊaÈeÑeÖ¤£¬Êa³o¹ýÂË£¬SQL ×¢ÈeºÍ¿çÕ¾µa½Å±¾µÄÔ¤*À¡£

רҵ

Yii ¿É°iÖuÄu¿ª¢Ça½aºÍ¿ÉÖØÓõĴuÂe¡£Ëu×ñÑ­ÁË MVC ģʽ£¬È±£ÁËÇaÎu*ÖÀeÂß¼­²aºÍ±iʾ²a¡£

Yii FrameworkÊÇÒ»¸o»uÓÚ×e¼þ¡¢ÓÃÓÚ¿ª¢´oÐÍ Web Ó¦ÓõĸßÐÔÄÜ PHP ¿o¼Ü¡£YiiÌa¹(C)Á˽ñÈÕWeb 2.0Ó¦Óÿª¢ËuÐeÒªµÄ¼¸ºoÒ»Çй¦ÄÜ¡£YiiÊÇ×iÓÐЧÂʵÄPHP¿o¼ÜÖ®Ò»¡£YiiÊÇ´´Ê¼ÈËѦǿµÄÐÄѪ½a¾§£¬ÓÚ2008Äe1ÔÂ1ÈÕ¿ªÊ¼¿ª*¢¡£

YiiÊÇÒ»¸o»uÓÚ×e¼þµÄ¸ßÐÔÄÜPHP¿o¼Ü£¬ÓÃÓÚ¿ª¢´oÐÍWebÓ¦Óá£Yii²ÉÓÃÑϸñµÄOOP±aд£¬²¢ÓÐ×ÅÍeÉƵĿaÒýÓÃÒÔ¼°È«ÃaeµÄ½Ì³Ì¡£´Ó MVC£¬DAO/ActiveRecord£¬widgets£¬caching£¬µÈ¼¶Ê½RBAC£¬WebþÎñ£¬µ½Ö÷Ìa»¯£¬I18NºÍL10N£¬YiiÌa¹(C)Á˽ñÈÕWeb 2.0Ó¦Óÿª¢ËuÐeÒªµÄ¼¸ºoÒ»Çй¦ÄÜ¡£ÊÂʵÉÏ£¬YiiÊÇ×iÓÐЧÂʵÄPHP¿o¼ÜÖ®Ò»¡£
YiiÊÇÒ»¸o¸ßÐÔÄܵÄPHP5µÄwebÓ¦ÓóÌÐo¿ª
¢¿o¼Ü¡£Í¨¹ýÒ»¸o¼oµ¥µÄÃuÁiÐй¤¾ß yiic ¿ÉÒÔ¿iËÙ´´½¨Ò»¸owebÓ¦ÓóÌÐoµÄ´uÂe¿o¼Ü£¬¿ª¢Õß¿ÉÒÔÔÚÉu³ÉµÄ´uÂe¿o¼Ü»u´¡ÉÏÌi¼ÓÒµÎñÂß¼­£¬ÒÔ¿iËÙÍe³ÉÓ¦ÓóÌÐoµÄ¿ª¢¡£

Yiia

YiiÈÝÒ×ѧϰºÍʹÓá£ÄaÖ»ÐeÒªÖªµÀPHPºÍÃaeÏo¶ÔÏo±a³Ì£¬±a¿ÉÒԺܿiÉÏÊÖ£¬¶ø²»±ØÊÂÏÈȥѧϰһÖÖеļܹ¹»oÕßÄ£°aÓiÑÔ¡£
ÓÃYiiµÄ¿ª¢ËÙ¶Èdz£Ö®¿i£¬³ý¿o¼Ü±¾ÉiÖ®Ía£¬ÐeҪΪӦÓÃËuдµÄ±aÂe¼«ÉÙ¡£ÊÂʵÉÏÕaÊÇ×i¸ßЧµÄ¿ª¢¿o¼ÜÖ®Ò»¡£
Yii ¾ßÓи߶ȵĿÉÖØÓÃÐԺͿÉÀ(C)Õ¹ÐÔ£¬ÊÇ´¿´aµÄÃaeÏo¶ÔÏoµÄ¡£YiiÖеÄÒ»Çж¼ÊǶÀÁ¢µÄ¿É±»ÅaÖ㬿ÉÖØÓ㬿ÉÀ(C)Õ¹µÄ×e¼þ¡£¸uÖØÒªµÄÊÇYiiÓÐ×ÅÔ½À´Ô½¶aµÄÀ(C)Õ¹¿a¡£Ö÷ÒªÓÉʹÓÃÕß¹±Ï׳oµÄ×e¼þ×e³É£¬Õa¿ÉÄÜÓÐÖuÓÚ´o´o¼oÉÙÄuµÄ¿ª
¢Ê±¼a¡£
Yii ÓÐ×Åa¸»µÄ¹¦ÄÜ. ´Ó MVC, DAO/ActiveRecord, µ½ Ö÷Ìa»¯, ¹u¼Ê»¯ ºÍ±¾µØ»¯, Yii Ìa¹(C)Á˼¸ºoËuÓнñÌiµÄWeb 2.0Ó¦ÓóÌÐo¿ª¢ËuÐeµÄ¹¦ÄÜ¡£
ÔÚYii²Î¿¼ÊÖ²aÊÇYiiÍe±¸µÄÎĵµ£¬ÓÐ×ÅÄaѧϰºÍÕÆÎÕËuËuÐeÒªµÄÈκÎÐÅÏ¢¡£
YiiÒ»¿ªÊ¼¾Í¾«ÐÄÉe¼Æ£¬ÒÔÊÊÓ¦¸´ÔÓµÄWEBÓ¦Óÿª¢¡£Ëu²»ÊÇÒ»Ð(C)ÏiÄ¿µÄ¸±²uÆ»oÕßµÚÈý½¼¯³É¡£¶øÊÇÈÚºÏÁË×÷Õßa¸»µÄ Web Ó¦Óÿª¢¾­ÑeºÍÆaËuÈÈÃÅ Web ¿o¼ÜºÍÓ¦ÓõÄÓÅÐa˼ÏeµÄ½a¾§¡£
×iºo£¬µ«²¢
Dz»ÖØÒª£¬YiiÊÇÃaѵģ¬Yii×ñÑ­×iеÄBSDÐi¿É¡£Ëuȱ£ÁËËuµÄµÚÈý½¿ª¢Ò²Ñ­ÐoºÍBSDÏa¼aeÈݵÄÐi¿É¡£ÕaÒaζ×ÅÎÞÂÛ´Ó¨ÂÉÉÏ»¹ÊDzÆÎñÉÏÀ´Ëµ£¬Äu¶¼¿ÉÒÔ×ÔÓɵÄʹÓÃyiiÀ´¿ª¢ÈκÎÒ»¸o¿ªÔ´µÄ»oÕß˽ÓеÄÓ¦Óá£

ÌØÐÔ

Yii¼¸ºoÓµÓÐÁ˵±½ñWeb 2.0Ó¦ÓâչµÄÈ«²¿ÌØÐÔ¡£ÏÂÃaeÊÇÕaÐ(C)ÌØÐÔµÄÒ»¸o¼o¶ÌµÄÇaµ¥¡£
Ä£ÐÍ-ÊÓͼ-¿ØÖÆÆ÷£¨MVC£(C)Ée¼Æģʽ£ºYiiÔÚWEB±a³ÌÖвÉÓÃÕaÒ»³ÉÊiµÄ¼¼Êo´Ó¶ø¿ÉÒÔ¸uºÃµÄ½«Âß¼­²aºÍ±iÏÖ²a
Ö¿ª¡£
Êý¾Ý¿aÃÎʶÔÏo£¨DAO£(C)ºÍActive Record£ºYiiÔÊÐi¿ª¢ÕßÄ£ÐÍÊý¾Ý¿aÖеÄÊý¾Ý¶ÔÏo£¬´Ó¶ø¼oÉÙËuÃÇÔÚдºÜ³¤ºÍÖظ´µÄSQLÓi¾aÉϵľ«Á¦¡£
ÓejQueryÕuºÏ£º×÷Ϊ×iÁ÷ÐеÄJavaScript¿o¼ÜÖ®Ò»£¬jQuery¿ÉÒÔ±aд¸ßЧ¶øÁe»iµÄJavaScript½Ó¿Ú¡£
±iµ¥ÊaÈeºÍÑeÖ¤£ºYIIʹµÃÊÕ¼¯±iµ¥ÊaÈedz£ÈÝÒ׺Ͱ²È«¡£ YiiÓµÓÐÒ»Ì×ȱ£Êý¾ÝµÄÓÐЧÐÔµÄÑeÖ¤Æ÷£¬ËuÒ²Óи¨Öu½¨ºÍ²¿¼þ£¬ÏÔʾÑe֤ʧ°ÜʱµÄ´iÎo¡£
Web 2.0²¿¼þ£ºÓÉjQueryµÄÖ§³Ö£¬YIIÅa±¸ÁËÒ»Ì×Web 2.0µÄ²¿¼þ£¬Èç×Ô¶¯Íe³ÉÊaÈe×ֶΣ¬TreeViewµÈµÈ¡£
ÉiÝÑeÖ¤ºÍÊÚȨ£ºYii¾ßÓÐÄÚÖõÄÉiÝÑeÖ¤Ö§³Ö¡£ËuÒ²Ö§³Öͨ¹ýÖ²aµÄ»uÓÚ½ÇÉ«µÄÃÎÊ¿ØÖÆ£¨RBAC£(C)µÄÊÚȨ¡£
Ö÷Ìa£ºËuÄܹ»Ë²¼a¸Ä±aÒ»¸oYiiÓ¦ÓõÄÊÓͼ¡£
WebþÎñ£ºYiiÖ§³Ö×Ô¶¯Éu³É¸´ÔÓµÄWSDLþÎñ¹ae¶ºÍ¹ÜÀiWebþÎñÇeÇo´¦Ài¡£
¹u¼Ê»¯£¨I18N£(C)ºÍ±¾µØ»¯£¨L10N£(C)£ºYiiÖ§³ÖÏuϢת»»£¬ÈÕÆÚºÍʱ¼a¸ñʽ£¬Êý×Ö¸ñʽºÍ½çÃae±¾µØ»¯¡£
Ö²a»º´ae½°¸£ºYiiÖ§³ÖÊý¾Ý»º´ae£¬Ò³Ãae»º´ae£¬Æ¬¶Î»º´aeºÍ¶¯Ì¬ÄÚÈÝ¡£»º´aeµÄ´ae´¢½eÖÊ£¬¿ÉÒÔÇaËɵظu¸Ä¶ø²»´¥¼°Ó¦ÓóÌÐo´uÂe¡£
´iÎo´¦ÀiºÍÈÕÖ¾¼Ç¼£º´iÎoµÄ´¦ÀiºÜºÃµÄ³ÊÏÖ³oÀ´£¬ÈÕÖ¾ÐÅÏ¢¿ÉÒÔÖÀa£¬¹ýÂ˲¢ÖÅaµ½²»Í¬µÄλÖá£
°²È«£ºYiiÅa±¸ÁËÐi¶a°²È«µÄ´eÊ(C)£¬ÒÔ°iÖu°²È«µÄWebÓ¦ÓóÌÐo£¬ÒÔÀÖ¹ÍøÂç¹¥»÷¡£ÕaÐ(C)´eÊ(C)°uÀ¨¿çÕ¾µa½Å±¾£¨XSS£(C)Ô¤À£¬¿çÕ¾µaÇeÇoαÔi£¨CSRF£(C)Ô¤À£¬Cookie´Û¸ÄÔ¤ÀµÈ¡£
uºÏXHTML£ºYiiµÄ×e¼þºÍÃuÁiÐй¤¾ßÉu³ÉµÄ´uÂeuºÏXHTML±e×¼¡£
×Ô¶¯´uÂeÉu³É£ºYiiÌa¹(C)ÁË¿ÉÒÔ×Ô¶¯Éu³ÉµÄ´uÂeµÄ¹¤¾ß,¸u¾ÝÄaµÄÐeÒª£¬ÀýÈçÉu³ÉÒ»¸o³ÌÐo¹Ç¼Ü£¬CRUDÓ¦Óõȵȡ£
ÍeÈ«ÃaeÏo¶ÔÏo£ºYii¿o¼Ü¼a³ÖÑϸñµÄÃaeÏo¶ÔÏo±a³Ì¶Ê½¡£ËuûÓж¨ÒaÈκÎÈ«¾Öº¯Êý»o±aÁ¿¡£¶øÇÒ£¬Ëu¶¨ÒaµÄÀa²a´Î½a¹¹ÔÊÐi×i´oµÄ¿ÉÖØÓÃÐԺͶ¨ÖÆ¡£
ÓѺõÄʹÓõÚÈý
½´uÂe£ºYii¾«ÐÄÉe¼ÆÈÃËuµÚÈý½´uÂedz£ºÃµÄ¹¤×÷¡£ÀýÈ磬Äa¿ÉÒÔÔÚÄaµÄYiiÓ¦ÓóÌÐoÖÐʹÓÃPEAR»oZend FrameworkµÄ´uÂe¡£
ÏeϸµÄÎĵµ£ºÃ¿Ò»¸oµ¥Ò»µÄ½¨»oÊoÐÔ¶¼*dz£Ça³þµÄ¼Ç¼×Å¡£Í¬Ê±Ìa¹(C)ÁËÒ»¸oÈ«ÃaeµÄ½Ì³ÌºÍÒ»Ð(C)ÐÂÊֽ̡̳£
À(C)Õ¹¿a£ºYiiÌa¹(C)ÁËÒ»¸o×e³ÉÓû§Ìa¹(C)×e¼þµÄÒ»¸oÀ(C)Õ¹¿a£¬ÕaʹµÃÉÏÊo¹¦ÄÜÁбiÊÇÓÀÎÞÖ¹¾³µÄ¡£

¹ØÓÚYii

YiiÊÇÒ»¸o»uÓÚ×e¼þ¡¢ÓÃÓÚ¿ª¢´oÐÍ Web Ó¦ÓõĸßÐÔÄÜ PHP ¿o¼Ü¡£ÔÚWEB¿ª¢ÖÐYii¿ÉÒÔ×i´oÏ޶ȵÄʵÏÖ´uÂeÖØÓ㬼«´oµÄÌa¸ß¿ª¢µÄËٶȡ£Ãu×ÖYii£¨¶ÁÒoÊÇYee or [ji:]£¬Ó¦¸Ã¾ÍÊÇ¡°Òס±µÄ¶ÁÒo £(C)´u±iµÄÊÇÈÝÒ×(easy)£¬¸ßЧ(efficient)ºÍ¿ÉÀ(C)Õ¹(extensible)
»
¾³ÐeÇo
ÒªÔËÐÐÒ»¸o Yii Çý¶¯µÄ Web Ó¦Óã¬ÄaÐeÒªÓÐÒ»¸oÖ§³Ö PHP 5.1.0 »oÒÔÉÏ°ae±¾µÄ Web þÎñÆ÷¡£
¶ÔÓÚ´oËaʹÓà Yii µÄ¿ª
¢ÕßÀ´Ëµ£¬¶®µÃÃaeÏo¶ÔÏo±a³Ì£¨OOP£(C)»adz£ÓаiÖu¡£ÒoΪ Yii ÊÇÒ»¸o´¿ OOP µÄ¿o¼Ü¡£
ÊÊÓÃ
¶Î§
Yii ÊÇÒ»¸oͨÓÃµÄ Web ±a³Ì¿o¼Ü£¬¿ÉÒÔÓÃÓÚ¿ª¢¼¸ºoËuÓÐµÄ Web Ó¦Óá£ÓÉÓÚËuÊÇÇaÁ¿¼¶µÄÇҾ߱¸Á˳ÉÊiµÄ»º´ae½a¾o½°¸£¬ËuÌرðÊÊÓÃÓÚ¿ª¢¸ßÁ÷Á¿µÄÓ¦Óã¬ÀýÈçÃÅ»§£¬ÂÛ̳£¬ÄÚÈݹÜÀiϵͳ£¨CMS£(C)£¬µç×ÓÉÌÎñϵͳµÈµÈ¡£
ÓeͬÀa²uÆ
±È½Ï
ºÍ¶aÊýPHP¿o¼ÜÀaËÆ£¬Yii ÊÇÒ»¸o MVC µÄ¿o¼Ü¡£
Yii ÒÔÆaÓÅÒiµÄÐÔÄÜ£¬a¸»µÄ¹¦ÄܺÍÇaÎuµÄÎĵµÊ¤³oÆaËu¿o¼Ü¡£Yii ´ÓÒ»¿ªÊ¼¾Í×ÐϸÉe¼ÆÒÔÊʺÏÑϽ÷µÄ Web Ó¦Óÿª¢¡£Ëu¼È²»ÊÇÒ»¸oÆaËuÏiÄ¿µÄÑÜÉuÆ£¬Ò²²»ÊÇÒ»¸oµÚÈý½¹¤×÷µÄ×eºÏ¡£ ËuÊÇ×÷Õßa¸»µÄ Web Ó¦Óÿª¢¾­ÑeºÍ¶Ô´o¶aÊýÁ÷ÐÐµÄ Web ±a³Ì¿o¼ÜÓeÓ¦ÓõÄÑо¿Óe˼¿¼µÄ³É¹u¡£

ÐÔÄÜ

yiiÐÔÄÜ
YiiÊÇÒ»¸o¸ßÐÔÄܵĿo¼Ü£¬ÒÔϵÄͼ±iչʾÁËÓeÆaËuÁ÷ÐеÄPHP¿o¼Ü±È½ÏÏÂYiiµÄ¸ßЧÂÊ¡£ÔÚÕa¸oͼ±iÖÐ, RPS´u±i¡°Ã¿ÃeÇeÇo¡±£¬ÃeÊoÁË´Ë¿o¼ÜÿÃeÖ´ÐжaÉÙ¸oÇeÇo¡£Õa¸oÊý×ÖÔ½´o£¬´Ë¿o¼ÜµÄÐÔÄÜÔ½¸ß£¬ÎÒÃÇ¿ÉÒÔ¿´µ½£¬ÔÚÕa¸o±È½ÏÖÐ Yii ʤ¹ýÆaËu¿o¼Ü¡£The performance advantage of Yii is especially significant when the widely used APC extension is enabled.
Performance alone is not the whole story (otherwise we should all use plain HTML or PHP). With such superior performance, Yii still provides a very rich feature setwhich can greatly improve your development efficiency.
ΪʲôYiiÈç´ËÖ®¿i
YiiÈç´Ë¿iËÙÊÇÒoΪËu¹aºµØʹÓÃlazy loading¼¼Êo¡£±ÈÈç, Ö±µ½µÚÒ»´ÎʹÓõ½Õa¸oÀa£¬²Å»a°uº¬½øÀ´£»Ö±µ½¶ÔÏoµÚÒ»´ÎÃÎÊ£¬²Å»a´´ÔiÕa¸o¶ÔÏo¡£Other frameworks suffer from the performance hit because they would enable a functionality (e.g. DB connection, user session) no matter it is used or not during a request.
±e×¼ÉeÖÃ
ÏÂÃaeÎÒÃǽaÊÍÔoÑuÉe¼Æ»u×¼Ó¦Óò¢Çҵõ½ÉÏÃaeµÄRPS½a¹u.
»u×¼ÇeÇo
Since our goal is to compare the minimal overhead of each framework, the benchmark application for each framework should be the simplest one. We choose to display a "Hello World" text string by placing an echo statement in the default action of each application. Any additional framework features (e.g. session) are disabled to ensure fairness of the comparison. To obtain a copy of the benchmark applications, please check out the phpmark project.
ΪʲôÓá°Hello World¡±
ÎÒÃÇ×o¡°hello world¡±µÄ²aÊÔÖ÷ÒªÊÇΪÁË´iµ½ÎÒÃǵÄÄ¿±e£¬È磺ÕÒ³oÿ¸o¿o¼ÜµØ×iС´u¼Û¡£ºÜ¶aÈ˱§Ô¹ËµÓ¦ÓóÌÐo¡°hello world¡±ºÜûÒaÒa£¬ÒoΪÔÚÕaeʵÊÀ½çµÄÓ¦ÓóÌÐo¾­³£ÐeҪȥÉae¼°¸u¸´ÔÓµÄÈÎÎñ£¬±ÈÈçÊý¾Ý¿a²eѯ¡£ÕaÊDz»¶ÔµÄ¡£Êµ¼ÊÉÏ£¬ÓÈÆaÊÇÔÚÒ»Ð(C)´o¹aeÄ£µÄweb2.0Ó¦ÓóÌÐoÖУ¬ÎÒÃǾ­³£Óoµ½µÄÇe¿oͨ³£ÊÇÏaµ±µØ½Ó½u¡°hello world¡±¡£ÀýÈ磺ӦÓóÌÐoÒªÏiÓ¦ajaxÇeÇoµ»Øµ±Ç°þÎñÆ÷µÄʱ¼a¡£Ò³ÃaeÓдo²¿ÖÄÚÈÝÔÚ»º´ae£¬Ó¦ÓóÌÐoÖ»ÐeҪץȡ»º´aeµÄÄÚÈݲ¢ÏÔʾ֮¡£
ÁiÒ»¸oÓá°hello world¡±µÄÔ­ÒoÊǵ±ÒýÓøu¸´ÔÓ£¨È磺Êý¾Ý¿a²eѯ£(C)µÄÌØÕ÷ʱ£¬¶ÔÕÕµÄÇaÎu½«ºÜÄѱ£Ö¤¡£ÀýÈ磺¿o¼Ü¿ÉÒÔÔÚÊý¾Ý¿a²eѯִÐеÃ
dz£ÓÐЧÂÊ£¬µ«È±ÉÙ»º´ae½°¸¡£µ±ÁiÒ»¸o¿o¼ÜÔÚÊý¾Ý¿a²eѯÉÏÉÔÂý£¬È´Óи߼¶µÄ»º´aeÌØÕ÷À´»ººÍϵͳËðºÄ¡£×ܶøÑÔÖ®Óаuº¬ÁËÌ«¶aµÄÒoËØÀ´½øÐÐÇaÎuµÄ¶Ô±È¡£
±e×¼¹¤¾ßºÍ»
¾³
ÓÃApacheBench¹¤¾ßµÄÖ¸Ái¡°ab ¨Ct 30 -c 10 URL¡±À´»ñÈ¡RPS±aºÅ£¨È磺ÔÚ²¢¢¼¶Êý10ÔËÐÐtest 30Ãe£(C)¡£ÎªÁË»ñµÃÿ¸o¿o¼ÜµÄ±aºÅ£¬ÎÒÃÇÏÈÍ£Ö¹ÔÙÆo¶¯Apache WEBþÎñÆ÷À´±ÜÃa¸ÉÈÅ¡£»¹ÒªÔËÐвaÊÔ³ÌÐo¼¸´ÎÀ´¡°Ô¤ÈÈ¡±²aÊÔ»*¾³¡£ÔÚphpmark projectÖУ¬Óиo½Ðbenchmark. shµÄshell scriptʹ»u×¼³ÌÐo×Ô¶¯»¯¡£

Credits

Yii µÄºÜ¶aÏe¨À´×ÔÆaËuÖøÃu Web ±a³Ì¿o¼ÜºÍÓ¦ÓóÌÐo¡£ÏÂÃaeÊÇÒ»¸o¼o¶ÌµÄÇaµ¥¡£
Prado£ºÕaÊÇ Yii µÄÖ÷Ҫ˼ÏeÀ´Ô´¡£Yii ²ÉÓÃÁË»uÓÚ×e¼þºÍʼþÇý¶¯±a³Ìģʽ£¬Êý¾Ý¿a³eÏo²a£¬Ä£¿e»¯µÄÓ¦Óüܹ¹£¬¹u¼Ê»¯ºÍ±¾µØ»¯£¬ºÍÐi¶aËuµÄÆaËuÌصaºÍ¹¦ÄÜ¡£
Ruby on Rails£ºYii ¼Ì³ÐËuµÄÅaÖõÄ˼Ïe¡£»¹ÒýÓÃËuµÄ Active RecordµÄ ORMÉe¼Æģʽ¡£
jQuery£ºÕaÊǼ¯³ÉÔÚ Yii Ϊ»u´¡µÄ JavaScript ¿o¼Ü¡£
Symfony£ºYii ÒýÓÃËuµÄ¹ýÂËÉe¼ÆºÍ²a¼þ¼Ü¹¹¡£
Joomla£ºYii ÒýÓÃÆaÄ£¿e»¯Ée¼ÆºÍÐÅÏ¢
­Òe*½°¸¡£

 相关文章:
PHP分页显示制作详细讲解
SSH 登录失败:Host key verification failed
获取IMSI
将二进制数据转为16进制以便显示
贪吃蛇
文件下载
获取IMEI
双位运算符
发送邮件
PHP自定义函数获取搜索引擎来源关键字的方法
Java生成UUID
提取后缀名
年的日历图
在Zeus Web Server中安装PHP语言支持
让你成为最历害的git提交人
Yii2汉字转拼音类的实例代码
再谈PHP中单双引号的区别详解
指定应用ID以获取对应的应用名称
Python 2与Python 3版本和编码的对比
php封装的page分页类完整实例