1.What is meant by MVC?
model view controller, it is a software architecture, used to isolates business logic from presentation logic. cakephp is based on mvc pattern.
1. The Model represents the application data
2. The View renders a presentation of model data
3. The Controller handles and routes requests made by the client
2. The View renders a presentation of model data
3. The Controller handles and routes requests made by the client
3.list some of the features in Cake php
1. Compatible with versions 4 and 5 of PHP
2. MVC architecture
3. Built-in validations
4. Caching
5. scaffolding
2. MVC architecture
3. Built-in validations
4. Caching
5. scaffolding
4.what is the name of Cake’s database configuration file?
by default it is database.php.default, you can find it in /app/config/database.php.default
for connecting to database, it should be renamed to database.php
by default it is database.php.default, you can find it in /app/config/database.php.default
for connecting to database, it should be renamed to database.php
5.What is default function for a controller?
index() function
index() function
What are 3 important parts of MVC?
- The Model represents the application data
- The View renders a presentation of model data
- The Controller handles and routes requests made by the client
list some of the features in Cake php
- Compatible with versions 4 and 5 of PHP
- MVC architecture
- Built-in validations
- Caching
- scaffolding
for connecting to database, it should be renamed to database.php
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 for a controller?
index()
functionWhat is a Component in cakephp?
Components are packages of logic that are shared between controllers. They are useful when a common logic or code is required between different controllers.
What are commonly used components of cakephp?
* Security
* Sessions
* Access control lists
* Emails
* Cookies
* Authentication
* Request handling
what is cakephp
Cakephp is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. it uses commonly known design patterns like MVC,ORM within the convention over configuration paradigm, It also reduces development costs and helps developers write less code.
what is the directory structure when you download cakephp?
* app/
o config/
o controllers/
o models/
o plugins/
o tmp/
o vendors/
o views/
o webroot/
* cake/
o config/
o docs/
o libs/
* vendors/
Cakephp is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. it uses commonly known design patterns like MVC,ORM within the convention over configuration paradigm, It also reduces development costs and helps developers write less code.
what is the directory structure when you download cakephp?
* app/
o config/
o controllers/
o models/
o plugins/
o tmp/
o vendors/
o views/
o webroot/
* cake/
o config/
o docs/
o libs/
* vendors/
what is the name of Cake's database configuration file?
by default it is database.php.default, you can find it in /app/config/database.php.default
for connecting to database, it should be renamed to database.php
by default it is database.php.default, you can find it in /app/config/database.php.default
for connecting to 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
bootstrap.php , yes it can be changed , either through index.php , or through htaccess
why cakephp, and why not any other framework.
it has been for years in the market with strong support in the form of communities and online documentation, it supports php 4/5
using cakephp, what all are drawbacks.
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.
what is the naming convention in cakephp?
Table names are plural and lowercased,model names are singular and CamelCased: ModelName, model filenames are singular and underscored: model_name.php, controller names are plural and CamelCased with *Controller* appended: ControllerNamesController, controller filenames are plural and underscored with *controller* appended: controller_names_controller.php,
what is habtm.
has and belongs to many is a kind of associations that can be defined in models for retrieving associated data across different entities.
how can we use ajax in cakephp.
By calling ajax helper and then using it in controller for rendering.
can you list some database related functions in cakephp.
find, findAll , findAllBy , findBy , findNeighbours , query
it has been for years in the market with strong support in the form of communities and online documentation, it supports php 4/5
using cakephp, what all are drawbacks.
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.
what is the naming convention in cakephp?
Table names are plural and lowercased,model names are singular and CamelCased: ModelName, model filenames are singular and underscored: model_name.php, controller names are plural and CamelCased with *Controller* appended: ControllerNamesController, controller filenames are plural and underscored with *controller* appended: controller_names_controller.php,
what is habtm.
has and belongs to many is a kind of associations that can be defined in models for retrieving associated data across different entities.
how can we use ajax in cakephp.
By calling ajax helper and then using it in controller for rendering.
can you list some database related functions in cakephp.
find, findAll , findAllBy , findBy , findNeighbours , query
Nice Answers...check out http://askxpert.com/php-interview-questions-and-answers
ReplyDeletecan Any Body please explain before filter() function
ReplyDeleteGood article to combine into a single one. Much helpful for web bloggers.
ReplyDeleteCheck this link also:
http://www.namasteui.com/cakephp-interview-questions/
--
Regards,
Namaste UI
http://www.namasteui.com
Its really nice article .Hats off to you friend.
ReplyDeletecheck for PHP Tutorials and questions:
http://www.websnube.com/php-tutorial-for-beginner-day2-learn-php-syntax/
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDelete
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
Very nice post with lots of information. Thanks for sharing this updates.
ReplyDeleteBlue Prism Training in Chennai
Blue Prism Training Institute in Chennai
UiPath Training in Chennai
Robotics Process Automation Training in Chennai
RPA Training in Chennai
Data Science Course in Chennai
Blue Prism Training in OMR
Blue Prism Training in Porur
75+ CodeIgniter Interview Questions To Hire Or Get Hired With - Algrim.co
ReplyDeleteThanks for posting useful information.You have provided an nice article, Thank you very much for this one. oracle training in chennai
ReplyDeletePublish Research Paper: Authors should submit the manuscript/paper that has been attentively proof-read and brilliance. Authors are mandatory to refer to the UIJRT manuscript/paper template format. This will assure fast processing and publication. Through E-mail acceptance or rejection, the notification will be sent to all authors. Fast Paper Publication
ReplyDeletewonderful article contains lot of valuable information. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.
ReplyDeleteAWS certification course in Chennai
Title:
ReplyDeleteBest Oracle DBA Training in Chennai | Infycle Technologies
Description:
Did you want to set your career towards Oracle? Then Infycle is with you to make this into reality. Infycle Technologies offers the best Oracle DBA training in Chennai, which offers various stages of Oracle such as Oracle PL/SQL, etc., along with 100% hands-on training guided by experienced trainers in the field. Once after the training, the interviews will be arranged in the MNC's and firms for the placement. To have the Oracle with the best future, call 7502633633 and make this happen for your happy life.
Oracle training in Chennai
You can publish your research and review paper at Multidisciplinary International Journal of Research and Development.
ReplyDeleteMmorpg Oyunlar
ReplyDeleteinstagram takipçi satın al
tiktok jeton hilesi
TİKTOK JETON HİLESİ
Sac Ekim Antalya
INSTAGRAM TAKİPÇİ SATİN AL
İnstagram takipçi satın al
METİN PVP
takipçi
tül perde modelleri
ReplyDeletesms onay
TURKCELL MOBİL ÖDEME BOZDURMA
nft nasıl alınır
ankara evden eve nakliyat
trafik sigortasi
dedektör
web sitesi kurma
aşk kitapları