ディレクトリ・ファイル構成
특징
1. EC-CUBE 3에서는 Silex 프레임 워크를 채용하고 있기 때문에, 2 계에서 크게 디렉토리 구조가 변화 했습니다.
2. Symfony2의 디렉토리 구조를 참고 로, EC-CUBE 3 독자적인 구성 되어 있습니다.
3. 공개 디렉토리에 대한 2 계를 거의 답습 하고 있습니다.
주요 디렉토리 및 역할
- 이하 기본 폴더와 디렉토리 구조를 보여줍니다.
아래에 각 디렉토리의 내용을 설명합니다.
app : 주로 환경에 따라 변경이 들어가는 것을 배치했다.
app配下설정 파일 과 로그 파일 등 이 배치 플러그인은 "Plugin"디렉토리 아래에 배치
C:\xampp\htdocs\ec-cube\app>tree C:. ├─cache ├─config │ └─eccube ├─log ├─Plugin <Installed Plugin> │ ├─ContactProduct 商品問い合わせプラグイン │ ├─OrderPdf 帳票出力プラグイン │ ├─Point ポイントプラグイン │ └─SortProduct 商品並び替えプラグインECCUBE3系用 │ └─template <Installed TemplateDesign> ├─admin ├─default └─L3001 |
html : Document Root되는 폴더. 외부에서 직접 참조하는 물건 만 배치.
html配下공개 디렉토리 되어, 리소스 파일 (css 나 이미지 파일)을 배치
C:\xampp\htdocs\ec-cube\html>tree C:. ├─plugin ├─template <Installed TemplateDesign> │ ├─admin │ │ └─assets │ │ ├─css │ │ ├─fonts │ │ ├─img │ │ └─js │ ├─default │ │ ├─css │ │ ├─img │ │ └─js │ ├─install │ │ ├─assets │ │ │ ├─css │ │ │ ├─img │ │ │ └─js │ │ ├─css │ │ ├─dist │ │ │ ├─css │ │ │ ├─fonts │ │ │ └─js │ │ └─img │ └─L3001 │ ├─css │ ├─img │ └─js ├─upload │ ├─save_image │ └─temp_image └─user_data |
src : EC-CUBE의 CORE가 되는 소스를 배치했다.
src配下응용 프로그램 본체 되고, php 파일이나 Twig 파일을 배치
C:\xampp\htdocs\ec-cube\src>tree フォルダー パスの一覧: ボリューム TI312906D0D ボリューム シリアル番号は BA1A-C0BB です C:. ├─Eccube │ ├─Application │ ├─Command │ │ └─GeneratorCommand │ │ └─generatortemplate │ ├─Common Common / Constant.php EC-CUBE 버전 등 기본 정보의 정수입니다. │ ├─Controller * Source Code Check │ │ ├─Admin │ │ │ ├─Content │ │ │ ├─Customer │ │ │ ├─Order │ │ │ ├─Product │ │ │ ├─Setting │ │ │ │ ├─Shop │ │ │ │ └─System │ │ │ └─Store │ │ ├─Block │ │ ├─Install │ │ └─Mypage │ ├─ControllerProvider │ ├─Doctrine │ │ ├─EventSubscriber │ │ ├─Filter │ │ └─ORM │ │ ├─Mapping │ │ │ └─Driver │ │ ├─Query │ │ └─Tools │ │ └─Pagination │ ├─Entity │ │ └─Master │ ├─Event │ ├─EventListener │ ├─Exception │ ├─Form │ │ ├─DataTransformer │ │ ├─Extension │ │ └─Type │ │ ├─Admin │ │ ├─Front │ │ ├─Install │ │ └─Master │ ├─Log │ │ └─Monolog │ │ ├─Helper │ │ └─Processor │ ├─Plugin │ ├─Repository │ │ └─Master │ ├─Resource │ │ ├─config constant.yml.dist 주로 프로그램에서 사용하는 정수입니다. │ │ ├─doctrine │ │ │ ├─master │ │ │ └─migration │ │ ├─functions │ │ ├─locale │ │ └─template │ │ ├─admin │ │ │ ├─Content │ │ │ ├─Customer │ │ │ ├─Form │ │ │ ├─Order │ │ │ ├─Product │ │ │ ├─Setting │ │ │ │ ├─Shop │ │ │ │ └─System │ │ │ └─Store │ │ ├─default │ │ │ ├─Block │ │ │ ├─Cart │ │ │ ├─Contact │ │ │ ├─Entry │ │ │ ├─Forgot │ │ │ ├─Form │ │ │ ├─Help │ │ │ ├─Mypage │ │ │ ├─Product │ │ │ └─Shopping │ │ ├─exception │ │ └─install │ ├─Security │ │ ├─Core │ │ │ └─Encoder │ │ └─Voter │ ├─Service │ ├─ServiceProvider │ ├─Twig │ │ └─Extension │ └─Util └─silex-doctrine-migrations |
定数 EC-CUBE 3で利用される定数は以下に保存されています
- Common / Constant.php
· EC-CUBE 버전 등 기본 정보의 정수입니다.
Resource / config / constant.yml.dist
· 주로 프로그램에서 사용하는 정수입니다.
'EC-CUBE' 카테고리의 다른 글
EC - CUBE Tutorial - PlugIn Design Template (0) | 2018.07.29 |
---|---|
EC-CUBE3 - Oracle VM VirtualBox (CentOS7) (0) | 2018.07.10 |
EC-CUBE3 - XAMPP (0) | 2018.07.01 |
EC-CUBE3 - Silex Framework (0) | 2018.07.01 |
EC-CUBE (0) | 2018.07.01 |