Directory Structure Cn

当你使用Akelos生成你的项目,他将为这个应用程序创建整个结构目录.Akelos知道如何在结构中找到他需要的东西,所以你无须告诉他。

这是在生成应用程序时生成的目录级数。在版本之间除了次要的变化之外,每一个Akelos project拥有相同的结构,使用的是同样的命名规则。这种一致性将给你带来巨大的好处。你可以非常迅速的在两个 Akelos projects之间移动,而不需要去重新学习项目的组织结构。

为了弄懂这个目录,我们使用在以前创建的应用程序demo。可以用这个命令C:\akelos\> akelos demo来创建。

现在我们就进如demo应用程序的根目录,如下所示:

C:\akelos\> cd demo
C:\akelos\demo> dir

你可以看到结构目录,如下所示:

demo/
    /app
        /controller
        /helpers
        /models
        /views
              /layouts
    /config
    /lib
    /log
    /public
    /script
    /test
    /tmp
    /vendor
README

现在让我解释一下每个目录的目的

Apart from these directories there will be two files available in demo directory.

 
directory_-structure_cn.txt · Last modified: 2008/07/08 11:01 by liyh
 

The Akelos Framework was created by Bermi Ferrer and other contributors.
Potions of the code and documentation have been ported from Ruby on Rails.

The Akelos Framework is released under the LGPL license.

"Akelos", "Akelos Framework", and the Akelos logo are trademarks of Bermi Labs All rights reserved.

Wiki driven by DokuWiki