1. 리유
CodeIgniter를 Modules 로 전환하도록 함2. 설치
홈페이지가 bitbucket으로 되어 있음오른쪽 끝에 있는 get source에서 소스를 받아서
https://github.com/tariqrahiman/hmvc/zipball/master
압축파일 안의 core 디릭토리에 있는 파일 두개는 application/core에
third_party 디렉토리의 MX 디렉토리를 application/third_party로 통째 복사해 넣는다
application/core/MY_Loader.php
application/core/MY_Router.php
application/third_party/MX/
3. 사용
설정을 별도로 하지 않아도 CodeIgniter만 사용할 때와 똑같이 하면 된다application 디렉토리에 modules를 만들고 그 밑에 새 프로젝트 디렉토리를 만들고, 거기에 controllers, views, models 디렉토리를 만든다
(application/modules/NEW PROJECT/ controllers, views, models)
No comments:
Post a Comment