CodeIgniter 살펴보기
지금 근무중인 회사에서 Old type PHP 를 사용하고 있어, 이를 개선하기 위해 PHP MVC Framework 도입을 고려하던 중 CodeIgniter 가 긍정적이라는 팀원들의 의견을 듣고 살펴보고 사내 위키에 게시하였다. 다음 내용이 그것이다. --------------- 이 페이지는 본인이 CodeIgniter 를 처음 사용해보고 작성한 것으로, 이해부족으로 사실과 다른 내용이 있을 수 있다. 장점 PHP4에서 사용가능하다. 오픈 소스이다. MVC의 기본 개념에 충실한 것 처럼 보인다. 비교적 단순하고 읽기 쉬운 소스 코드 구조. PHP 모듈이나 다른 라이브러리에 대한 의존성이 적다. 충실한 공식 한글 자료. 단점 PHP4 호환을 위해 PHP5의 좋은 특징을 충분히 수용하지 못했다. 객체 참조 OOP를 위한 Access Modifiers (public/private/protected) Test 를 지원하기 위한 interface 사용의 부재 가장 아쉬운 것은 예외 처리. PHP 의 원시적 오류 처리는 골치 아프다. 자유롭지 못한 라이센스. 소스코드 수정과 배포에 제약이 따른다. (배포버전의 license.txt 중) Any files that have been modified must carry notices stating the nature of the change and the names of those who changed them. Products derived from the Software must include an acknowledgment that they are derived from CodeIgniter in their documentation and/or other materials provided with the distribution. Persistence La...