가장 많이 묻는 면접 질문과 답변 & 온라인 테스트
면접 준비, 온라인 테스트, 튜토리얼, 라이브 연습을 위한 학습 플랫폼

집중 학습 경로, 모의고사, 면접 준비 콘텐츠로 실력을 키우세요.

WithoutBook은 주제별 면접 질문, 온라인 연습 테스트, 튜토리얼, 비교 가이드를 하나의 반응형 학습 공간으로 제공합니다.

Prepare Interview

모의 시험

홈페이지로 설정

이 페이지 북마크

이메일 주소 구독

CakePHP 면접 질문과 답변

Ques 1. What is CakePHP?

CakePHP is a free, open-source, rapid development framework for PHP.

Example:

// echo 'Hello, CakePHP!';

도움이 되었나요? Add Comment View Comments
 

Ques 2. Explain the MVC architecture in CakePHP.

MVC stands for Model-View-Controller. In CakePHP, it separates the application logic into three interconnected components.

Example:

// class PostsController extends AppController {}

도움이 되었나요? Add Comment View Comments
 

Ques 3. How to create a new CakePHP project?

You can use the 'composer create-project' command to create a new CakePHP project.

Example:

// composer create-project --prefer-dist cakephp/app my_project

도움이 되었나요? Add Comment View Comments
 

Ques 4. Explain the 'beforeFilter' method in CakePHP controllers.

The 'beforeFilter' method is called before every controller action. It's commonly used for setting up components or checking authentication.

Example:

// public function beforeFilter() {
    // Code here
}

도움이 되었나요? Add Comment View Comments
 

Ques 5. How to define routes in CakePHP?

// Routes in CakePHP are defined in the 'config/routes.php' file. You can use the 'Router::connect' method to define routes.

도움이 되었나요? Add Comment View Comments
 

Most helpful rated by users:

Copyright © 2026, WithoutBook.