1. Question: To work with database in the latest version of cakePHP,______must be enabled in your php.ini file.

    A
    mysql

    B
    pdo_mysql

    C
    pdo_mysqli

    D
    mysqli

    Note: Not available
    1. Report
  2. Question: When a user uses a form to POST data to your application, that information is available in:

    A
    $this->get->data

    B
    $this->post->data

    C
    $this->form->data

    D
    $this->request->data

    Note: Not available
    1. Report
  3. Question: To change the default value of security salt,you have to work with the core php file located in

    A
    /app/Config/core.php

    B
    /app/core.php

    C
    /system/config/core.php

    D
    /config//app/core.php

    Note: Not available
    1. Report
  4. Question: The _____seed is used for encrypt /decrypt strings.

    A
    salt

    B
    cipher

    C
    hash

    D
    rsa

    Note: Not available
    1. Report
  5. Question: The _________is the bread and butter of cakePHP applications.

    A
    controller class

    B
    Model class

    C
    component class

    D
    view class

    Note: Not available
    1. Report
  6. Question: We use the SessionComponent's SessionComponent::________method to set a massage to a session variable to be displayed on the page after redirection.

    A
    setFlash()

    B
    setMessage()

    C
    showMessage()

    D
    showFlash()

    Note: Not available
    1. Report
  7. Question: CakePHP's model class files located in

    A
    /app/config/model

    B
    /app/system/Model

    C
    /app/Model

    D
    /app/Models/Model

    Note: Not available
    1. Report
  8. Question: CakePHP works with convention over configuration.

    A
    True

    B
    False

    Note: Not available
    1. Report
  9. Question: By naming your model post ,cakephp will automatically infer that this model work with controller name

    A
    postcontroller

    B
    post_controller

    C
    PostController

    D
    post

    Note: Not available
    1. Report
  10. Question: The mode named post will tied to a database table named_________automatically

    A
    post

    B
    posts

    C
    tbl_post

    D
    none

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd