1.å½ä»è¾ä¸ºå¸¸è§ç3ç§ webåºç¨ç¨åºå¼åå¹³å°ç±»å
å½ä»è¾ä¸ºå¸¸è§ç3ç§ webåºç¨ç¨åºå¼åå¹³å°ç±»å
Openbiz Cubi PHPå¼åæ¡æ¶
è¿æ¾ç¶æ¯ä¸ä¸ªé«è¦åæ§çæ¡æ¶ç代表ï¼æç¹è®©å¼å人åâæå å ¥ä½âå¿«æ·é åºä¸æ ·ççæè§ãOpenbiz Cubi æ¯ä¸ä¸ªåºç¨å¹³å°å¼çå¼åæ¡æ¶ãè½ç¶ä¸ä¼å¤æ´å è³çè½è¯¦çæ¡æ¶ç¸æ¯ Openbiz Cubi ä»ç¶æ¯ä¸å¹é»é©¬ï¼ä½æ¯è¿æ¯ä¸ä¸ªååå¼å¾æ¨èçæ¡æ¶ãå®èªèº«åºäºZend Frameworkæ建ï¼ä½æ¯æ¥æèªå·±ç¬ç¹çåºäºå æ°æ®ç MVC å ORM é»è¾ï¼å¹¶éç¨SmartyåPHPæ¨¡æ¿ ä½ä¸ºä¸»è¦UIç模æ¿å¼æï¼æ以å¦æä½ æ¯Zendæ¡æ¶çç©å®¶ï¼å«æ å¿ï¼Openbiz Cubiç代ç ä¹ä¼åæ ·è®©ä½ å¾å®¹æä¸æã
å®ä¸åäºå ¶ä»ä¼ ç»æä¹ä¸çPHPæ¡æ¶ï¼å®å ·æä¸ä¸ªç±»ä¼¼JAVAçå æ°æ®å¼æï¼ å¯ä»¥éè¿XMLçæ¹å¼æ¥âæè¿°â大å¤æ°å¯¹è±¡ï¼çè³éè¿XMLçæè¿°å°±å¯ä»¥å®ç°æ°æ®çCRUDï¼å¢å 读æ¹ï¼è¿äºæä½ãå¦æä½ çä¸å¡éæ±ä» ä» æ¯è¦å®ç°ä¸äºç®å çæ°æ®CRUDæä½ï¼ä½ çè³ä¸éè¦å»åä»ä¹PHP代ç ï¼XMLå°±å¯ä»¥å ¨é¨æå®ãèä½ çPHPå夫å¯ä»¥éè¿ä»çPlugin-Serviceæ¹å¼ç¨äºéä¸å¨ å®ç°æäºç¹æ®çä¸å¡é»è¾ä¸ã
Openbiz Cubiç® åè¿æä¸ä¸ªå«å Openbiz Appbuilder çè¶ çº§å¥½ç¨ç代ç çæå·¥å ·ï¼å¯¹äºè¿ä¸çOpenbizçXMLå æ°æ®çå¼å人åæ¥è¯´ï¼Appbuilder ç»å¯¹æ¯ä¸ä¸ªå¯ä»¥å¸®å©ä½ å¿«éä¸æçå©å¨ï¼ä»éè¿å¾å½¢çé¢ççæå导æ¥å¸®ä½ èªå¨å建æ°æ®å¯¹è±¡ã表å对象ãåµå ¥å¼æå¡ï¼çè³æ´ä¸ªåºç¨ç¨åºçéå½¢ã æOpenbizçå®æ¹ä»ç»æ¥è¯´ï¼ä½ åªéè¦æèæ¸ æ¥ä½ çåºç¨ç¨åºçä¸å¡é»è¾ï¼å©ä¸ç代ç å·¥ä½å°±äº¤ç»Openbiz Appbuilderæ¥å¸®ä½ æå®å§ã
CakePHP å¼åæ¡æ¶
å¦æä½ ä»ç¶éè¦ç¼åé¢åPHP4å ¼å®¹ç代ç ï¼CakePHP å°æ¯ä¸ä¸ªé常ä¸éçéæ©ï¼ å¨PHP 4 & 5çMVCå¼æ¡æ¶å表éé¢ï¼CakePHPé½æ¾ç»æ¯ææµè¡çãå®è¿æä¾äºå¾å¤ç§éå¾çææ¯æ¯æï¼è®¨è®ºç»ãçè¨æ¿ãIRCçï¼è¿æä¼ç§çæç¨ã CackePHPæ¯ä¸ªå¾å®¹æä¸æçæ¡æ¶ï¼ä½æ¯ä½ 并ä¸å®¹æå¨ççå å¨çæ¶é´å°±å®å ¨ææ¡å®ã
Zend Frameworkæ¡æ¶
Zend Framework æ¯é¢å¯¹ä¸äºè¾æç»éªçå¼åè åä»åºå±æ建ä¸äºä¼ä¸çº§åºç¨ç¨åºè设计çãï¼ä¾å¦ï¼å®£ç§°é¢åä¼ä¸åºç¨è设计ç Openbiz Cubi å°±æ¯åºäºZend Frameworkæ¡æ¶ä¹ä¸èæ建çãï¼è¯¥æ¡æ¶æ¯é«åº¦æ¨¡ååçãè¿æå³çä½ å¯ä»¥æä½ çå®é éè¦æ¥å¼ç¨Zendç代ç ãæäºå½æ°åºçè³å¯ä»¥å¾å®¹ç被æååºæ¥ åç¬ä½¿ç¨ï¼ä¾å¦Zend_Gdataï¼è¿ä¹æ¯ä¸ªä½è¦åæ§çç¹ç¹ï¼ä½¿ç¨Zendæ¡æ¶ï¼ä½ ä¸å¿ éè¦éµä»å®çMVCæ¶æï¼ï¼è½ç¶ä½ æ好è½è¿ä¹åï¼ï¼å¹¶ä¸å®è¿æä¾ äºè®¸å¤å 建çé«çº§åè½ç¨äºå®æä¸ç°æçwebæå¡æ´åï¼å¤è¯è¨ååå®ç°åå æµè¯è¿äºä»»å¡ã
CodeIgniter
CodeIgniter æ¯ä¸ä¸ªPHP5.2+ çMVCæ¡æ¶ï¼å®ä½ç§¯å°å·§åå ·æ丰å¯çææ¡£èµæºãé常被称为âåå¦è æ¡æ¶âï¼å 为å®ç¸å¯¹å®¹æè¯ç¨åè¾ççå¦ä¹ æ²çº¿ï¼æ¤å¤CodeIgniterä¹æ¯ååçµ æ´»å强大çã该æ¡æ¶æ¥æä¸ä¸ªé常åºå¤§ç社åºæ¯æã并ä¸å¨ç¤¾åºéé¢å¾å®¹ææ¾å°å¤§éçCIå½æ°åºï¼ä½ å¯ä»¥å¤§èç梦æ³ï¼ ä¹è®¸ä½ æ£éè¦åçäºæ å¨ç¤¾åºçæ个交æµï¼æ个人已ç»æå®å®ç°äºã
Symfony
Symfony æ¯æå¤èçPHPæ¡æ¶ä¹ä¸ï¼ç¸ä¿¡ä½ ä»ä»çç½ç«é£æ ¼ä¸ä¹åç°è¿ä¸ç¹äºï¼ï¼ä»åæ ·ä¹æ¯è½¬ä¸ºä¼ä¸çº§Webåºç¨ç¨åºè设计çãç¶èï¼å¯¹äºä»æè½æä¾çææå¨ååæ§ è½èè¨ï¼å®åªæ¥æå¾å°çä½ç§¯å¹¶ä¸é常容æé ç½®å¨å¤§å¤æ°phpç主æºç¯å¢ä¸ãç±äºä»ç年头æé¿ä¹ ï¼ä½ ä¼å¾å®¹ææ¾å°è®¸å¤å ³äºSymfonyçæç¨ã书记çèµ æï¼å¯¹äºæ°ææ¥è¯´ï¼è¿ç»å¯¹æ¯ä»¶å¥½äºå¿ã
Symfony使ç¨å½ä»¤è¡ä»£ç çæå·¥å ·æ¥ä¸ºé¡¹ç®å¿«éçææéç代ç ï¼è¿ç§æ¹å¼ä¹è®¸å¯¹äºæäºå¼å人åæ¥è¯´æ¯åææªé»çï¼å¨é£ä¸ªå¹´å¤´ï¼ä¹è®¸ å§ãããï¼ç¶åï¼ä»å¯ä»¥å¸®å©ä½ å¨å¾ççæ¶é´éå®æ代ç 并æ¯ä»ä»¬å¯ä»¥è¿è¡ãSymfonyçç½ç«ä¸ææºäºå¤§éçæç¨åèä¾ä»£ç ï¼æ¥å¸®å©ä½ çæææ¡ä»ä»¬ã
Yii Framework
Yii æ¯ä¸ä¸ªé«åº¦æ¨¡ååï¼é«æ§è½çPHP5æ¡æ¶ï¼ä¸é¨ä¸ºäºWebåºç¨ç¨åºèå¼åãYiiéç¨äºå¤§éçå½ä»¤è¡çæå·¥å ·ï¼è®©ä½ å¯ä»¥å¿«éççæä¸äºä»£ç ï¼å æ¤ï¼ä»æé åäºå欢å¨å½ä»¤è¡çé»çªå£ä¸æ²æ²ææç人ãææè¿äºä»£ç çæå·¥å ·æå³çä½ éè¦è®°ä½æ´å¤çå½ä»¤ååæ°ï¼ä½æ¯ä¸ç¹ä½ åå°äºï¼ä½ ä¼åç°ï¼å®ä»¬å°å¤§å¤§åå°ä½ æè¦è± è´¹çæ¶é´æ¥è®¾ç½®åé ç½®ä½ çåºç¨ç¨åºã
è¿ç§å¼åæ¹å¼ é常类似äºOpenbiz Appbuilderææä¾çå导å¼ç代ç çææ¹å¼ï¼æ大çä¸åç¹æ¯Yiiæ¯åºäºå½ä»¤è¡å»çæ代ç ï¼Openbiz Appbuilderæ¯å¨å¾å½¢çé¢ä¸çæ代ç ã
ThinkPHP
ThinkPHPæ¯ä¸ä¸ªå è´¹å¼æºçï¼å¿«éãç®åçé¢å对象çè½»é级PHP å¼åæ¡æ¶ï¼éµå¾ª Apache2 å¼æºåè®®åå¸ï¼æ¯ä¸ºäºç®åä¼ä¸çº§åºç¨å¼ååææ·WEBåºç¨å¼åèè¯ççãåé´äºå½å¤å¾å¤ä¼ç§çæ¡æ¶å模å¼ï¼ä½¿ç¨é¢å对象çå¼åç»æå MVC 模å¼ï¼èåäº Struts ç Action ææ³å JSP ç TagLibï¼æ ç¾åºï¼ã RoR çORMæ å°å ActiveRecord 模å¼ï¼ å°è£ äº CURD åä¸äºå¸¸ç¨æä½ï¼ åä¸å ¥å£æ¨¡å¼çï¼å¨æ¨¡çå¼æãç¼åæºå¶ã认è¯æºå¶åæ©å±æ§æ¹é¢åæç¬ç¹ç表ç°ã
Yii Framework
Yiiæ¯ä¸ä¸ªåºäºç»ä»¶çé«æ§è½PHPæ¡æ¶ï¼ç¨äºå¼å大åWebåºç¨ãYiiéç¨ä¸¥æ ¼çOOPç¼åï¼å¹¶æçå®åçåºå¼ç¨ä»¥åå ¨é¢çæç¨ãä» MVCï¼DAO/ActiveRecordï¼widgetsï¼cachingï¼ç级å¼RBACï¼Webæå¡ï¼å°ä¸»é¢åï¼INåLNï¼Yiiæä¾äºä»æ¥Web 2.0åºç¨å¼åæéè¦çå ä¹ä¸ååè½ãäºå®ä¸ï¼Yiiæ¯æææççPHPæ¡æ¶ä¹ä¸ã
Yiiæ¯ä¸ä¸ªé«æ§è½çPHP5çwebåºç¨ç¨åºå¼åæ¡æ¶ãéè¿ä¸ä¸ªç®åçå½ä»¤è¡å·¥å · yiic å¯ä»¥å¿«éå建ä¸ä¸ªwebåºç¨ç¨åºç代ç æ¡æ¶ï¼å¼åè å¯ä»¥å¨çæç代ç æ¡æ¶åºç¡ä¸æ·»å ä¸å¡é»è¾ï¼ä»¥å¿«éå®æåºç¨ç¨åºçå¼å
phalcon
Phalconæ¯ä¸å¥å®ç°MVCæ¶æçé«æ§è½PHPåºç¨ç¨åºæ¡æ¶ãåå§çæ¬åå¸äºå¹´æï¼å¼æ¾æºä»£ç 并åºäºBSDæææ¡æ¬¾ãä¸å ¶ä»å¤§é¨åçPHPæ¡æ¶ä¸åï¼Phalconæ¯ä»¥æ©å çæ¹å¼ä»¥Cè¯è¨æç¼åï¼å æ¤Phalconçæ§è¡é度é«è¿å ¶ä»PHPæ¡æ¶ï¼å¹¶ä¸æ¶èæ´å°çèµæºï¼æ ¹æ®å®æ¹çæµè¯ï¼Phalconæ¯ç®åä¸çä¸é度æå¿«çPHPæ¡æ¶ä¹ä¸ã[1]