¹úÍâÊ®´ó×îÁ÷ÐÐPHP¿ò¼Ü
ÒÔÏÂΪʮ¸öÄ¿Ç°×îÁ÷ÐеĻùÓÚMVCÉè¼ÆģʽµÄPHP¿ò¼Ü¡£
1. Yii
YiiÊÇÒ»¸ö»ùÓÚ×é¼þµÄ¸ßÐÔÄܵÄPHPµÄ¿ò¼Ü£¬ÓÃÓÚ¿ª·¢´ó¹æÄ£WebÓ¦Óá£Yii²ÉÓÃÑϸñµÄOOP±àд£¬²¢ÓÐ×ÅÍêÉƵĿâÒýÓÃÒÔ¼°È«ÃæµÄ½Ì³Ì¡£´ÓMVC£¬DAO/ActiveRecord£¬widgets£¬caching£¬µÈ¼¶Ê½RBAC£¬Web·þÎñ£¬µ½Ö÷Ì廯£¬I18NºÍL10N£¬YiiÌṩÁ˽ñÈÕWeb 2.0Ó¦Óÿª·¢ËùÐèÒªµÄ¼¸ºõÒ»Çй¦ÄÜ¡£¶øÇÒÕâ¸ö¿ò¼ÜµÄ¼Û¸ñÒ²²¢²»Ì«¸ß¡£ÊÂʵÉÏ£¬YiiÊÇ×îÓÐЧÂʵÄPHP¿ò¼ÜÖ®Ò»¡£
2. CodeIgniter
CodeIgniterÊÇÒ»¸öÓ¦Óÿª·¢¿ò¼Ü——Ò»¸öΪ½¨Á¢PHPÍøÕ¾µÄÈËÃÇËùÉè¼ÆµÄ¹¤¾ß°ü¡£ÆäÄ¿±êÔÚÓÚ¿ìËٵĿª·¢ÏîÄ¿£ºËüÌṩÁ˷ḻµÄ¿â×éÒÔÍê³É³£¼ûµÄÈÎÎñ£¬ÒÔ¼°¼òµ¥µÄ½çÃ棬¸»ÓÐÌõÀíÐԵļܹ¹À´·ÃÎÊÕâЩ¿â¡£Ê¹ÓÃCodeIgniter¿ª·¢¿ÉÒÔÍùÏîÄ¿ÖÐ×¢Èë¸ü¶àµÄ´´ÔìÁ¦£¬ÒòΪËü½ÚÊ¡ÁË´óÁ¿±àÂëµÄʱ¼ä¡£
3. CakePHP
CakePHPÊÇÒ»¸ö¿ìËÙ¿ª·¢PHPµÄ¿ò¼Ü£¬ÆäÖÐʹÓÃÁËһЩ³£¼ûµÄÉè¼ÆģʽÈçActiveRecord£¬Association Data Mapping£¬Front ControllerÒÔ¼°MVC¡£ÆäÖ÷ҪĿ±êÔÚÓÚÌṩһ¸öÁîÈÎÒâˮƽµÄPHP¿ª·¢ÈËÔ±¶¼Äܹ»¿ìËÙ¿ª·¢webÓ¦ÓõĿò¼Ü£¬¶øÇÒÕâ¸ö¿ìËÙµÄʵÏÖ²¢Ã»ÓÐÎþÉüÏîÄ¿µÄµ¯ÐÔ¡£
4. PHPDevShell
PHPDevShellÊÇÒ»¸ö¿ªÔ´£¨GNU/LGPL£©µÄ¿ìËÙÓ¦Óÿª·¢¿ò¼Ü£¬ÓÃÓÚ¿ª·¢²»º¬JavascriptµÄ´¿PHP¡£ËüÓÐÒ»¸öÍêÕûµÄGUI¹ÜÀíÔ±ºǫ́½çÃæ¡£ÆäÖ÷ҪĿ±êÔÚÓÚ¿ª·¢²å¼þÒ»ÀàµÄ»ùÓÚ¹ÜÀíµÄÓ¦Óã¬ÆäÖÐËٶȡ¢°²È«¡¢Îȶ¨ÐÔ¼°µ¯ÐÔÊÇ×îÓÅÏÈ¿¼ÂǵÄÖص㡣ÆäÉè¼ÆÐγÉÁËÒ»¸ö¼òµ¥µÄѧϰÇúÏߣ¬PHP¿ª·¢ÕßÎÞÐèѧϰ¸´ÔÓµÄÐÂÊõÓï¡£PHPDevShellµÄµ½À´Âú×ãÁË¿ª·¢ÕßÃǶÔÓÚÒ»¸öÇáÁ¿¼¶µ«Êǹ¦ÄÜÍêÉÆ£¬¿ÉÒÔÎÞÏÞÖƵĽøÐÐÅäÖõÄGUIµÄÐèÇó¡£
5. Akelos
Akelos PHP¿ò¼ÜÊÇÒ»¸ö»ùÓÚMVCÉè¼ÆģʽµÄwebÓ¦Óÿª·¢Æ½Ì¨¡£»ùÓÚÁ¼ºÃµÄʹÓÃÏ°¹ß£¬Ê¹ÓÃËü¿ÉÒÔÍê³ÉÈçÏÂÈÎÎñ£º
¡ô·½±ãµÄʹÓÃAjax±àдviews
¡ôͨ¹ý¿ØÖÆÆ÷¹ÜÀíÇëÇó£¨request£©¼°ÏìÓ¦£¨response£©
¡ô¹ÜÀí¹ú¼Ê»¯µÄÓ¦ÓÃ
¡ôʹÓüòµ¥µÄÐÒéÓëÄ£Ðͼ°Êý¾Ý¿âͨÐÅ
ÄãµÄAkelosÓ¦ÓÿÉÒÔÔÚ´ó¶àÊý¹²ÏíÖ÷»ú·þÎñ¹©Ó¦·½ÉÏÔËÐУ¬ÒòΪAkelos¶Ô·þÎñÆ÷ΨһµÄÒªÇó¾ÍÊÇÖ§³ÖPHP¡£Òò´Ë£¬Akelos PHP¿ò¼ÜÊÇÀíÏëµÄÓÃÓÚ·¢²¼µ¥¶ÀwebÓ¦ÓõĿò¼Ü£¬ÒòΪËü²»ÐèÒª·Ç±ê×¼PHPÅäÖñãÄÜÔËÐС£
6. Symfony
SymfonyÊÇÒ»¸öÓÃÓÚ¿ª·¢PHP5ÏîÄ¿µÄwebÓ¦Óÿò¼Ü¡£
Õâ¸ö¿ò¼ÜµÄÄ¿µÄÔÚÓÚ¼ÓËÙwebÓ¦ÓõĿª·¢ÒÔ¼°Î¬»¤£¬¼õÉÙÖظ´µÄ±àÂ빤×÷¡£
SymfonyµÄϵͳÐèÇ󲻸ߣ¬¿ÉÒÔ±»ÇáÒ׵ݲװÔÚÈÎÒâÉèÖÃÉÏ£ºÄãÖ»ÐèÒ»¸öUnix»òWindows£¬´îÅäÒ»¸ö°²×°ÁËPHP5µÄÍøÂç·þÎñÆ÷¼´¿É¡£ËüÓë²î²»¶àËùÓеÄÊý¾Ý¿â¼æÈÝ
Ïà¹ØÎĵµ£º
PHPÍøÕ¾¿ª·¢·½°¸£¨¿ª·¢ÐÂÈ˱ضÁ£©
Ò»¡¢¿ª·¢³ÉÔ±
a)ÏîÄ¿Ö÷¹Ü
b)Ò³ÃæÃÀ¹¤
c)Ò³Ã濪·¢
d)·þÎñ¶Ë³ÌÐò¿ª·¢
e)ϵͳÓëÊý¾Ý¹ÜÀí
f)²âÊÔÓë°æ±¾¿ØÖÆ
¶þ¡¢ ÍøÕ¾×鿪·¢¼òÃ÷Á÷³Ì
Èý¡¢ ¿ª·¢¹¤¾ßÓë»·¾³
a)·þÎñÆ÷ÅäÖÃ
i. W ......
2008.12.13×¢£º¹ØÓÚSPLµÄautoloadµÄº¯ÊýÊֲᣬÇë²Î¿¼ SPLº¯ÊýÊÖ²á:
http://www.phpinternals.com/blog/2008/12/translate-refs-spl-functions/
(1) autoload»úÖƸÅÊö
ÔÚ
ʹÓÃPHPµÄOOģʽ¿ª·¢ÏµÍ³Ê±£¬Í¨³£´ó¼ÒÏ°¹ßÉϽ«Ã¿¸öÀàµÄʵÏÖ¶¼´æ·ÅÔÚÒ»¸öµ¥¶ÀµÄÎļþÀÕâÑù»áºÜÈÝÒ×ʵÏÖ¶ÔÀà½øÐи´Óã¬Í¬Ê±½«À´ ......
IISÉÏ°²×°PHP5.3µÄÍêÕû½Ì³Ì·½·¨(¼°5.3.0ÒÔºó°æ±¾µÄ·½·¨)
ÓÉÓÚPHP5.3µÄÈ«ÐÂÌØЧ¼°¸Ä½ø£¬ÔÓеÄisapi·½Ê½½âÎöPHP
½Å±¾ÒѾ²»±»Ö§³Ö£¬PHP´Ó5.3
.0ÒÔºóµÄ°æ±¾¿ªÊ¼Ê¹ÓÃ΢ÈíµÄfastcgiģʽ£¬ÕâÊÇÒ»¸ö¸üÏȽøµÄ·½Ê½£¬ÔËÐÐËٶȸü¿ì£¬¸üÎȶ¨£¡
а汾
µÄPHP5.3ͨ¹ýÒÔÍùÀÏ·½·¨ÒѾ²»ÄÜÔÚIISÉÏ°²×°ÁË£¬ÏÖÔÚ¸ø³öÔÚIISÉÏ°²×°PHP5.3ÒÔº ......
ÏÖÔںöàµØ·½¶¼ÓÃUUID£¬±ÈÈçÊý¾Ý¿âµÄ¸ö×Ô¶¯µÄUUID
UUID½á¹¹ÈçÏ£¨¶¼ÎªÊ®Áù½øÖÆ×Ö·û£©
XXXXX
XXX£XXXX£XXXX£XXXX£XXXXXXXXXXX
Ñо¿ÆäÉú³ÉʵÏÖ¹ý³Ì²Å·¢ÏÖ£¬ÔÀ´ÊÇÕâÑùµÄ
1¡¢ÌáÈ¡µ±Ç°Ê±ºòÖµºÍʱ¼ä´Á
2¡¢°ÑÕâÁ½¸öֵת»»³ÉÊ®Áù½øÖÆ
3¡¢È¡Ê±¼äÖµºÍʱ¼ä´ÁµÄÇ°5ºÍʱ¼äÖµµÄÇ°Áùλ
4¡¢Éú³ÉÒ»¸öÈýλµÄÊ®Áù½øÖÆ£¬Èý¸öËÄλµÄ ......
phpÖÐsubstrµÄÓ÷¨Ïê½â
php.netÖйØÓÚsubstrµÄ˵Ã÷ºÜ¼òµ¥:
start
If start is non-negative, the returned string will start at the start 'th position in string , counting from zero. For instance, in the string 'abcdef', the character at position 0 is 'a', the character at position 2 is 'c', and so for ......