본 문서 저작권은 백성용(helloboy.co.kr)에게 있고 무단도용시 법적 제재는 가하지 않습니다.  복사, 재배포, 게시하고자 하는 경우에는 가능한 출처와 작성자는 정확히 밝혀주세요.

오늘은 내용을 올리진 않겠습니다. 현재 일하는 시간이라서 ~ ㅎ
주말에 올릴께요~

CakePHP 디렉토리 구성도:

cake/
|-- app     - 어플리케이션 디렉토리
|   |-- config    - 라우터, 데이터베이스, ACL 등의 설정파일
|   |   |-- acl.ini.php
|   |   |-- bootstrap.php
|   |   |-- core.php   - 전역 설정파일
|   |   |-- database.php  - 데이터베이스 설정파일
|   |   |-- database.php.default - 데이터베이스 설정파일(Sample file)
|   |   |-- inflections.php  - 인플렉션 설정파일
|   |   |-- routes.php   - 라우트 설정파일
|   |   `-- sql
|   |       |-- db_acl.sql
|   |       `-- sessions.sql
|   |-- controllers   - 컨트롤러 디렉토리
|   |   `-- components   - 컴포넌트 디렉토리
|   |       `-- empty
|   |-- index.php   - 어플리케이션 디렉토리를 DocumentRoot로 설정하는 파일
|   |-- models    - 모델 디렉토리
|   |   `-- empty
|   |-- plugins    - 플러그인 디렉토리
|   |   `-- empty
|   |-- tmp    - 캐시/로그/세션/임시파일등을 수용하는 디렉토리
|   |   |-- cache
|   |   |   |-- empty
|   |   |   |-- models
|   |   |   |   `-- empty
|   |   |   |-- persistent
|   |   |   |   `-- empty
|   |   |   `-- views
|   |   |       `-- empty
|   |   |-- empty
|   |   |-- logs
|   |   |   `-- empty
|   |   |-- sessions
|   |   |   `-- empty
|   |   `-- tests
|   |       `-- empty
|   |-- vendors    - 어플리케이션용 써드 파티 라이브러리 디렉토리
|   |   `-- empty
|   |-- views    - 뷰 디렉토리
|   |   |-- elements   - 사이즈가 적은 뷰를 위한 디렉토리
|   |   |   `-- empty
|   |   |-- errors   - 에러 페이지를 위한 디렉토리
|   |   |   `-- empty
|   |   |-- helpers   - 헬퍼 디렉토리
|   |   |   `-- empty
|   |   |-- layouts   - 레이아웃 디렉토리
|   |   |   `-- empty
|   |   `-- pages   - 정적파일용 디렉토리
|   |       `-- empty
|   `-- webroot    - 어플리케이션 DocumentRoot용 디렉토리(css/js/img/files 등의 정규파일)
|       |-- css
|       |   `-- cake.generic.css
|       |-- css.php
|       |-- favicon.ico
|       |-- files
|       |-- img
|       |   |-- cake.power.png
|       |   |-- w3c_css.png
|       |   `-- w3c_xhtml10.png
|       |-- index.php
|       `-- js
|           `-- vendors.php
|-- cake    - CakePHP의 핵심 라이브러리 디렉토리
|   |-- LICENSE.txt
|   |-- VERSION.txt
|   |-- app_controller.php
|   |-- app_model.php
|   |-- basics.php
|   |-- bootstrap.php
|   |-- config
|   |   |-- config.php
|   |   `-- paths.php
|   |-- dispatcher.php
|   |-- libs
|   |   |-- cache.php
|   |   |-- cake_log.php
|   |   |-- class_registry.php
|   |   |-- configure.php
|   |   |-- controller
|   |   |   |-- component.php
|   |   |   |-- components
|   |   |   |   |-- acl.php
|   |   |   |   |-- acl_base.php
|   |   |   |   |-- dbacl
|   |   |   |   |   |-- db_acl.php
|   |   |   |   |   `-- models
|   |   |   |   |       |-- aclnode.php
|   |   |   |   |       |-- aco.php
|   |   |   |   |       |-- acoaction.php
|   |   |   |   |       |-- aro.php
|   |   |   |   |       `-- aros_aco.php
|   |   |   |   |-- iniacl
|   |   |   |   |   `-- ini_acl.php
|   |   |   |   |-- request_handler.php
|   |   |   |   |-- security.php
|   |   |   |   `-- session.php
|   |   |   |-- controller.php
|   |   |   |-- pages_controller.php
|   |   |   `-- scaffold.php
|   |   |-- error.php
|   |   |-- file.php
|   |   |-- flay.php
|   |   |-- folder.php
|   |   |-- inflector.php
|   |   |-- legacy.php
|   |   |-- model
|   |   |   |-- connection_manager.php
|   |   |   |-- datasources
|   |   |   |   |-- datasource.php
|   |   |   |   `-- dbo_source.php
|   |   |   |-- dbo
|   |   |   |   |-- dbo_adodb.php
|   |   |   |   |-- dbo_mssql.php
|   |   |   |   |-- dbo_mysql.php
|   |   |   |   |-- dbo_mysqli.php
|   |   |   |   |-- dbo_odbc.php
|   |   |   |   |-- dbo_pear.php
|   |   |   |   |-- dbo_postgres.php
|   |   |   |   `-- dbo_sqlite.php
|   |   |   |-- model.php
|   |   |   |-- model_php4.php
|   |   |   `-- model_php5.php
|   |   |-- neat_array.php
|   |   |-- neat_string.php
|   |   |-- object.php
|   |   |-- router.php
|   |   |-- sanitize.php
|   |   |-- security.php
|   |   |-- session.php
|   |   |-- set.php
|   |   |-- validators.php
|   |   `-- view
|   |       |-- helper.php
|   |       |-- helpers
|   |       |   |-- ajax.php
|   |       |   |-- cache.php
|   |       |   |-- form.php
|   |       |   |-- html.php
|   |       |   |-- javascript.php
|   |       |   |-- number.php
|   |       |   |-- session.php
|   |       |   |-- text.php
|   |       |   `-- time.php
|   |       |-- templates
|   |       |   |-- elements
|   |       |   |   `-- dump.thtml
|   |       |   |-- errors
|   |       |   |   |-- error404.thtml
|   |       |   |   |-- missing_action.thtml
|   |       |   |   |-- missing_component_class.thtml
|   |       |   |   |-- missing_component_file.thtml
|   |       |   |   |-- missing_connection.thtml
|   |       |   |   |-- missing_controller.thtml
|   |       |   |   |-- missing_helper_class.thtml
|   |       |   |   |-- missing_helper_file.thtml
|   |       |   |   |-- missing_layout.thtml
|   |       |   |   |-- missing_model.thtml
|   |       |   |   |-- missing_scaffolddb.thtml
|   |       |   |   |-- missing_table.thtml
|   |       |   |   |-- missing_view.thtml
|   |       |   |   |-- private_action.thtml
|   |       |   |   `-- scaffold_error.thtml
|   |       |   |-- layouts
|   |       |   |   |-- ajax.thtml
|   |       |   |   |-- default.thtml
|   |       |   |   `-- flash.thtml
|   |       |   |-- pages
|   |       |   |   `-- home.thtml
|   |       |   `-- scaffolds
|   |       |       |-- add.thtml
|   |       |       |-- edit.thtml
|   |       |       |-- index.thtml
|   |       |       `-- view.thtml
|   |       `-- view.php
|   `-- scripts
|       |-- acl.php
|       |-- bake.php
|       `-- templates
|           |-- skel
|           |   |-- app_controller.php
|           |   |-- app_model.php
|           |   |-- config
|           |   |   |-- acl.ini.php
|           |   |   |-- bootstrap.php
|           |   |   |-- core.php
|           |   |   |-- database.php.default
|           |   |   |-- inflections.php
|           |   |   |-- routes.php
|           |   |   `-- sql
|           |   |       |-- db_acl.sql
|           |   |       `-- sessions.sql
|           |   |-- controllers
|           |   |   |-- components
|           |   |   `-- pages_controller.php
|           |   |-- index.php
|           |   |-- models
|           |   |   `-- behaviors
|           |   |-- plugins
|           |   |-- tmp
|           |   |   |-- cache
|           |   |   |   |-- models
|           |   |   |   |-- persistent
|           |   |   |   `-- views
|           |   |   |-- logs
|           |   |   |-- sessions
|           |   |   `-- tests
|           |   |-- vendors
|           |   |-- views
|           |   |   |-- elements
|           |   |   |-- errors
|           |   |   |-- helpers
|           |   |   |-- layouts
|           |   |   |   |-- ajax.thtml
|           |   |   |   |-- default.thtml
|           |   |   |   `-- flash.thtml
|           |   |   `-- pages
|           |   `-- webroot
|           |       |-- css
|           |       |   `-- cake.generic.css
|           |       |-- css.php
|           |       |-- favicon.ico
|           |       |-- files
|           |       |-- img
|           |       |   `-- cake.power.png
|           |       |-- index.php
|           |       `-- js
|           |           `-- vendors.php
|           `-- views
|               `-- home.thtml
|-- docs
|   |-- CHANGELOG.txt
|   |-- COPYING.txt
|   |-- INSTALL.txt
|   `-- README.txt
|-- index.php
`-- vendors    - 시스템 전체에 사용되는 써드 파티 라이브러리용 디렉토리

이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 백성용 헬로우보이