thinkphpÎļþ¼Ð×éÖ¯½á¹¹ÊÇʲôÑùµÄ
ÔÚʹÓÃThinkPHP¿ò¼Ü¿ª·¢Ê±£¬ÓÅÒìµÄÎļþ¼Ð×éÖ¯½á¹¹ÖÁ¹ØÖ÷Òª¡£Ò»¸öÓÅÒìµÄ×éÖ¯¼Ü¹¹Äܹ»Ê¹ÄúµÄ´úÂëÔ½·¢ÇåÎúÒ׶Á£¬´Ó¶øÌá¸ß¿ª·¢Ð§ÂÊ¡£
ThinkPHP¿ò¼ÜµÄÎļþ¼Ð×éÖ¯½á¹¹ÈçÏ£º
©À©¤ application //Ó¦ÓÃĿ¼ ©¦ ©À©¤ command //¿ØÖÆָ̨Áî (3.2°æ±¾ÒÔºóÐÂÔö) ©¦ ©À©¤ common //¹«¹²Ä£¿éĿ¼ ©¦ ©À©¤ config //ÉèÖÃÎļþĿ¼ ©¦ ©À©¤ controller //¿ØÖÆÆ÷Ŀ¼ ©¦ ©À©¤ model //Ä£×ÓĿ¼ ©¦ ©À©¤ service //ЧÀͲãĿ¼ (3.2°æ±¾ÒÔºóÐÂÔö) ©¦ ©À©¤ view //ÊÓͼĿ¼ ©¦ ©¸©¤ ... //ÆäËû×Ô½ç˵ģ¿éĿ¼ ©À©¤ extend //À©Õ¹Àà¿âĿ¼ ©À©¤ public //¹«¹²ÎļþĿ¼ ©À©¤ runtime //ÔËÐÐʱĿ¼ ©À©¤ thinkphp //¿ò¼Ü½¹µãĿ¼ ©À©¤ vendor //µÚÈý·½Àà¿âĿ¼ ©À©¤ composer.json //ComposerÉèÖÃÎļþ ©À©¤ think
µÇ¼ºó¸´ÖÆ
ÆäÖУ¬applicationĿ¼ÊÇÎÒÃÇÖ÷ÒªÊÂÇéµÄĿ¼¡£ÏÂÃ棬ÎÒÃÇÏêϸÏÈÈÝÒ»ÏÂÿ¸öĿ¼µÄ×÷Óãº
applicationĿ¼
Á¬Ã¦Ñ§Ï°¡°PHPÃâ·ÑѧϰÌõ¼Ç£¨ÉîÈ룩¡±£»
applicationĿ¼ÊÇÎÒÃÇÖ÷ÒªÊÂÇéµÄĿ¼£¬Ëü°üÀ¨ÁËÎÒÃÇÓ¦ÓõÄËùÓн¹µãÂß¼¡£Õâ¸öĿ¼Ï°üÀ¨ÁËÐí¶à×ÓĿ¼£¬ºÃ±Ècommand¡¢common¡¢config¡¢controller¡¢model¡¢service¡¢view µÈ¡£
extendĿ¼
extendĿ¼ÊÇÀ©Õ¹Àà¿âĿ¼£¬ÎÒÃÇ¿ÉÒÔͨ¹ý½«Ò»Ð©³£ÓõĵÚÈý·½Àà¿â·ÅÈëÕâ¸öĿ¼À´¾ÙÐÐͳһÖÎÀí¡£
publicĿ¼
publicĿ¼ÊÇÎÒÃÇÓ¦ÓõĹ«¹²ÎļþĿ¼£¬ºÃ±ÈͼÏñ¡¢JavaScriptÎļþ£¬ÉÐÓÐÍøÕ¾µÄһЩ¾²Ì¬Ò³Ãæ¡£
runtimeĿ¼
runtimeĿ¼ÊÇÒ»¸öÔËÐÐʱĿ¼£¬ÄÚÀï°üÀ¨ÁËÓ¦ÓõÄÈÕÖ¾Îļþ¡¢»º´æÎļþµÈ¡£
thinkphpĿ¼
thinkphpĿ¼ÊÇ¿ò¼Ü½¹µãĿ¼£¬°üÀ¨ÁË¿ò¼ÜµÄËùÓн¹µã´úÂë¡£
vendorĿ¼
vendorĿ¼ÊǵÚÈý·½Àà¿âĿ¼£¬Æ¾Ö¤ComposerµÄ¹æ·¶¾ÙÐÐ×éÖ¯¡£
composer.jsonÎļþ
composer.jsonÎļþÊÇComposerµÄÉèÖÃÎļþ£¬ÓÃÓÚÖ¸¶¨ÏîÄ¿»ù´¡ÐÅÏ¢¡¢ÒÀÀµ¹ØϵµÈ¡£
ÒÔÉϾÍÊÇthinkphpÎļþ¼Ð×éÖ¯½á¹¹ÊÇʲôÑùµÄµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡