2015-08-21 22 views
-1

對於CakePHP 3,我找不到文件夾App和文件夾Model,View,Controller。與CakePHP 2有什麼不同嗎?這是Cakephp3如何在CakePHP 3上查找文件夾App和MVC

CakePHP Folder Structure

+2

'介紹CakePHP 3','使用CakePHP 3','這是Cakephp3','CakePHP的-3.0' - 你填充與 「CakePHP的3.0」,使您的問題它足夠長的時間來問?這聽起來不像你花很多時間尋找mvc文件夾。 – AD7six

+0

感謝您的評論我在Cakephp版本3中是新的我找不到MVC文件夾 – Meas

回答

1

檢查你的src文件夾。 CakePHP的src文件夾是您將完成大部分應用程序開發的地方。 Cookbook

+0

在文件夾「src」中,我可以看到View,Controller但找不到「models」 – Meas

0

現在安裝CakePHP的最佳方法是作曲:

作曲家創建項目--no-DEV的CakePHP /應用程序。

CakePHP的文件夾結構

config 
logs 
plugins 
src - this is app folder, contains Controller, Model, View 
tmp 
vendor 
    aura - cake core dependency  
    cakephp 
     cakephp - cakephp core 
     chronos - cake core dependency (used for datetime functions) 
    composer 
    mobiledetect - cake core dependency 
    psr  
    zendframework - cake core dependency 
webroot 
    css 
    favicon.ico 
    font 
    img 
    js