CakePHP Interview Questions and Answers for Experienced basic advanced 2015-2016,CakePHP Interview Questions and Answers 2015,Top 20 CakePHP Interview Questions,CakePHP Interview Questions & Answers,CakePHP Interview Questions and Answers For Freshers and Experienced, CakePHP Frequently Asked Interview Questions,Freshers Latest CakePHP Technical Interview Questions & Answers,F2F Interview,CakePHP, Interview Questions & Answers,What would be some common CakePHP interview questions,CakePHP interview questions and answers for 2 years,CakePHP Developer Interview Questions,10 Common face to face CakePHP interview questions and answers,CakePHP Interview Questions and Answers,Top 10 CakePHP Interview Questions and Answers 2015,CakePHP (CMS)Interview Question Answer,Technical CakePHP Interview Questions and Answers for getting Job,Where can I find good CakePHP interview questions,CakePHP job interview questions and answers for freshers,CakePHP interview questions and answers for experienced,10 Tough CakePHP Interview Questions With Smart Answers,CakePHP interview questions and answers for experienced,How to Answer CakePHP Interview Questions,Where can I find good CakePHP interview questions ,Download CakePHP Interview Questions.
What is cakephp?.
CakephpCakePHP is a free, open-source, rapid development framework for PHP. It's a foundational structure for programmers to create web applications. There is number of in built component like Ajax, RequestHandler, Session etc
What are are drawbacks of cakephp.
The learning curve, and it loads full application before it starts your task. Its not recommended for small projects because of its resource heavy structure.
When CakePHP Was Developed?
CakePHP started in April 2005.When a Polish programmer Michal Tatarynowicz wrote a minimal version of a Rapid Application Framework in PHP, dubbing it Cake.CakePHP version 1.0 released in May 2006. (source:http://en.wikipedia.org/wiki/CakePHP)
What Is The Current Stable Version Of CakePHP?
3.0 (on date 2015-06-12).
What Is MVC In CakePHP?
Model view controller (MVC) is an architectural pattern used in software engineering.
Model : Database functions exist in the model
View : Design parts written here
Controller : Business Logic goes here
What is the name of Cakephp database configuration file name and its location?
Default file name is database.php.default.
Its located in "/app/config/database.php.defaut"
What are component, helper and why are they used?
A component is an independent piece of code written for specific task that can be used(Eg Email, Ajax, RequestHandler and Session).
A helper is used for helping cakephp in rendering the data to be shown to user with views(Eg Form, HTML etc).
Server Requirements For CakePHP.
Here are the requirements for setting up a server to run CakePHP:
An HTTP server (like Apache) with the following enabled: sessions, mod_rewrite (not absolutely necessary but preferred)
PHP 4.3.2 or greater. Yes, CakePHP works great in either PHP 4 or 5.
A database engine (right now, there is support for MySQL 4+, PostgreSQL and a wrapper for ADODB).
How To Install CakePHP?
step1: Go to cakephp.org and download the latest version of cakephp.
step2: Cakephp comes in a .zip file,so unzip it.
step3: Extract the files in the localhost in the desired folder (for example:cakephp).
step4: Open the browser and run the URL localhost/cakephp
step5: Just Follow the instructions display on the page.
What are commonly used components of cakephp?
Following are some components which is used in cakephp.
Security
Auth(Authentication)
MVC architecture
Built-in validations
Caching
scaffolding
Emails
Sessions
ACL(Access control lists)
Cookies
RequestHandling
What is HABTM.
Full form of Has And Belongs To Many.
It is a kind of associations that can be defined in models for retrieving associated data across different entities.
What Is The Name Of Cakephp Database Configuration File Name And Its Location?
Default file name is database.php.default.
Its located at "/app/config/database.php.default".To connect with database it should be renamed to database.php
What Is The First File That Gets Loaded When You Run A Application Using Cakephp?Can You Change That File?
bootstrap.php
yes it can be changed.Either through index.php , or through .htaccess
What Is The Use Of Security.Salt And Security.CipherSeed In Cakephp? How To Change Its Default Value?
- The Security.salt is used for generating hashes.we can change the default Security.salt value in /app/Config/core.php.
- The Security.cipherseed is used for encrypt/decrypt strings.We can change the default Security.cipherSeed value by editing /app/Config/core.php.
What Is Default Function For A Controller?
index() function
Which Function Is Executed Before Every Action In The Controller?
function beforeFilter()
What Are Controllers?
A controller is used to manage the logic for a part of your application. Most commonly, controllers are used to manage the logic for a single model. Controllers can include any number of methods which are usually referred to as actions. Actions are controller methods used to display views. An action is a single method of a controller.
What is default function and default controller of cakephp which is called automatically?
Default controller is indexController.php and Default function is index.
How cakephp URL looks in address bar
http://example.com/controller/action/param1/param2/param3
Why cakephp have two vendor folder?
There is two vendor folder, one folder in root and another is in "app" folder
What is cakephp?.
CakephpCakePHP is a free, open-source, rapid development framework for PHP. It's a foundational structure for programmers to create web applications. There is number of in built component like Ajax, RequestHandler, Session etc
What are are drawbacks of cakephp.
The learning curve, and it loads full application before it starts your task. Its not recommended for small projects because of its resource heavy structure.
When CakePHP Was Developed?
CakePHP started in April 2005.When a Polish programmer Michal Tatarynowicz wrote a minimal version of a Rapid Application Framework in PHP, dubbing it Cake.CakePHP version 1.0 released in May 2006. (source:http://en.wikipedia.org/wiki/CakePHP)
What Is The Current Stable Version Of CakePHP?
3.0 (on date 2015-06-12).
What Is MVC In CakePHP?
Model view controller (MVC) is an architectural pattern used in software engineering.
Model : Database functions exist in the model
View : Design parts written here
Controller : Business Logic goes here
What is the name of Cakephp database configuration file name and its location?
Default file name is database.php.default.
Its located in "/app/config/database.php.defaut"
What are component, helper and why are they used?
A component is an independent piece of code written for specific task that can be used(Eg Email, Ajax, RequestHandler and Session).
A helper is used for helping cakephp in rendering the data to be shown to user with views(Eg Form, HTML etc).
Server Requirements For CakePHP.
Here are the requirements for setting up a server to run CakePHP:
An HTTP server (like Apache) with the following enabled: sessions, mod_rewrite (not absolutely necessary but preferred)
PHP 4.3.2 or greater. Yes, CakePHP works great in either PHP 4 or 5.
A database engine (right now, there is support for MySQL 4+, PostgreSQL and a wrapper for ADODB).
How To Install CakePHP?
step1: Go to cakephp.org and download the latest version of cakephp.
step2: Cakephp comes in a .zip file,so unzip it.
step3: Extract the files in the localhost in the desired folder (for example:cakephp).
step4: Open the browser and run the URL localhost/cakephp
step5: Just Follow the instructions display on the page.
What are commonly used components of cakephp?
Following are some components which is used in cakephp.
Security
Auth(Authentication)
MVC architecture
Built-in validations
Caching
scaffolding
Emails
Sessions
ACL(Access control lists)
Cookies
RequestHandling
What is HABTM.
Full form of Has And Belongs To Many.
It is a kind of associations that can be defined in models for retrieving associated data across different entities.
What Is The Name Of Cakephp Database Configuration File Name And Its Location?
Default file name is database.php.default.
Its located at "/app/config/database.php.default".To connect with database it should be renamed to database.php
What Is The First File That Gets Loaded When You Run A Application Using Cakephp?Can You Change That File?
bootstrap.php
yes it can be changed.Either through index.php , or through .htaccess
What Is The Use Of Security.Salt And Security.CipherSeed In Cakephp? How To Change Its Default Value?
- The Security.salt is used for generating hashes.we can change the default Security.salt value in /app/Config/core.php.
- The Security.cipherseed is used for encrypt/decrypt strings.We can change the default Security.cipherSeed value by editing /app/Config/core.php.
What Is Default Function For A Controller?
index() function
Which Function Is Executed Before Every Action In The Controller?
function beforeFilter()
What Are Controllers?
A controller is used to manage the logic for a part of your application. Most commonly, controllers are used to manage the logic for a single model. Controllers can include any number of methods which are usually referred to as actions. Actions are controller methods used to display views. An action is a single method of a controller.
What is default function and default controller of cakephp which is called automatically?
Default controller is indexController.php and Default function is index.
How cakephp URL looks in address bar
http://example.com/controller/action/param1/param2/param3
Why cakephp have two vendor folder?
There is two vendor folder, one folder in root and another is in "app" folder
Thanks for questions .You can find Latest CakePHP Questions from Here. Thanks
ReplyDeleteHi Mate,
ReplyDeleteMuchas Gracias Mi Amigo! You make learning so effortless. Anyone can follow you and I would not mind following you to the moon coz I know you are like my north star.
i’m actually working on an app similar to the one on angular-meteor.com. I'm working with a theme full of plugins and i don’t know how to make them work on my app.
i also want to add custom directives on my modules based on attribute name but it doesn’t work. this i a sample of my socially like file Comparateur.js
import ocLazyLoad from ‘oclazyload’;
import uiBootstrap from ‘angular-ui-bootstrap’;
import ‘./comparateur.html’;
import {name as LandingPage} from ‘…/landingPage/landingPage’;
class Comparateur {}
const name = ‘comparateur’;
// create a module
export default angular.module(name, [
angularMeteor,
uiRouter,
LandingPage,
ocLazyLoad
]).component(name, {
templateUrl: imports/ui/components/${name}/${name}.html,
controllerAs: name,
controller: Comparateur
})
.directive(‘landing-scrollspy’, function () {
return {
restrict: ‘A’,
link: function (scope, element, attrs) {
element.scrollspy({
target: ‘.navbar-fixed-top’,
offset: 80
});
}
}
})
.config(config)
function config($stateProvider,$locationProvider, $urlRouterProvider, $ocLazyLoadProvider) {
‘ngInject’;
$locationProvider.html5Mode(true);
$urlRouterProvider.otherwise('/landingPage');
$ocLazyLoadProvider.config({
// Set to true if you want to see what and when is dynamically loaded
debug: true
});
}
Once again thanks for your tutorial.
Best Regards,
Morgan
ReplyDeleteHi Your Blog is very nice!!
Get All Top Interview Questions and answers PHP, Magento, laravel,Java, Dot Net, Database, Sql, Mysql, Oracle, Angularjs, Vue Js, Express js, React Js,
Hadoop, Apache spark, Apache Scala, Tensorflow.
Mysql Interview Questions for Experienced
php interview questions for freshers
php interview questions for experienced
python interview questions for freshers
tally interview questions and answers
codeingniter interview questions
cakephp interview questions
express Js interview questions
react js interview questions
laravel Interview questions and answers
This comment has been removed by the author.
ReplyDeleteI am very happy to visit your blog. This is definitely helpful to me, eagerly waiting for more updates.
ReplyDeleteBlue Prism Training in Chennai
Blue Prism Training Institute in Chennai
UiPath Training in Chennai
Data Science Training in Chennai
RPA course in Chennai
RPA Training Institute in Chennai
Blue Prism Training in Anna Nagar
Blue Prism Training in T Nagar
75+ CodeIgniter Interview Questions To Hire Or Get Hired With - Algrim.co
ReplyDelete