Basic
Test
Model Test
Ebook
quiz-1: CakePHP Model Test
Index
CakePHP Home
Basic
65
Libraries
2
Models
3
Controllers
1
Views
1
Installation
3
Schools
Ebook
Question:
Controller classnames are ______, CamelCased, and end in Controller.
A
plural
B
singular
C
both
D
none
Note:
Not available
Show answer
Show Note
Report
Question:
The getReady() function of the PeopleController class will look for a view template in:
A
/app/view/People/get_ready.ctp
B
/app/view/PeopleController/get_ready.ctp
C
/app/People/get_ready.ctp
D
/app/view/get_ready.ctp
Note:
Not available
Show answer
Show Note
Report
Question:
In general, filenames match the classnames, which are:
A
uppercase
B
lowercase
C
CamelCased
D
Capitalized
Note:
Not available
Show answer
Show Note
Report
Question:
The ____folder is where you'll place third-party PHP libraries you need to use with your cakePHP application.
A
app
B
vendors
C
lib
D
plugins
Note:
Not available
Show answer
Show Note
Report
Question:
Model classnames are ______ and CamelCased.
A
plural
B
singular
C
both
D
none
Note:
Not available
Show answer
Show Note
Report
Question:
CakePHP's_____folder is where you'll do most of your application development.
A
app
B
vendors
C
lib
D
plugins
Note:
Not available
Show answer
Show Note
Report
Question:
CakePHP does not support composite primary keys.
A
true
B
false
C
none
Note:
Not available
Show answer
Show Note
Report
Question:
A_____is a class that aids in controller logic.
A
Component
B
helper
C
behavier
D
model
Note:
Not available
Show answer
Show Note
Report
Question:
_______are an abstraction that enable models to manipulate different types of data consistenty.
A
views
B
components
C
behaviours
D
Datasources
Note:
Not available
Show answer
Show Note
Report
Question:
The render() method is automatically called at the end of each requested controller______.
A
controller
B
model
C
action
D
view
Note:
Not available
Show answer
Show Note
Report
First
Prev
4
5
6
7
Next
Last
/7
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd