Skip to content
/ linkin Public

link suggestion - php - Web Programming Project ICT2 2012-2

Notifications You must be signed in to change notification settings

DxTa/linkin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linkin

link suggestion - php - Web Programming Project ICT2 2012-2

Setup

  • Requirements

  • create database name "ictwp9"

  • make folders

    app/tmp
    app/tmp/cache
    app/tmp/cache/models
    app/tmp/cache/persistent
    app/tmp/cache/views
    app/tmp/logs
    app/tmp/sessions
    app/tmp/tests

    For unix-line command

    cd #{PROJECT}
    mkdir -p app/tmp/{cache,logs,sessions,tests} && mkdir -p app/tmp/cache/{models,persistent,views}

    ensure app/tmp is writable

  • configure you app/Config/database.php (user,password) - (example from app/Config/database.php.default)

Note

chỉ push lên branch sub
trong quá trình cài đặt mà gặp lỗi gì thì google sửa nhé, hoặc liên hệ với giang hồ.

Coding

  • Update new database

    after pull new request, run instuction "./app/Console/cake schema create"
    if no new table added, can skip above instruction and run: "./app/Console/cake schema update"

  • Model

    all model is already created, if anyone want to add new, do copycat or google :D

  • Controller

    same as Model

  • View

    create view by your own (using google :D, or using bake - google for it =)) )

  • Routes

    add route by add new line in "./app/Config/routes.php".
    There are also some examples in this file.

  • DebugKit

    DebugKit is debug tool of CakePHP. It is installed. Google how to use it.
    very usefull

About

link suggestion - php - Web Programming Project ICT2 2012-2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages