-
Create structure
zf create project
-
Enable layout
zf enable layout
-
Create Controllers (index, auth, post)
zf create controller auth 1
zf create action login auth 1
zf create action logout auth 1
zf create controller post 1
zf create action add post 1
zf create action edit post 1
zf create action delete post 1
zf create controller comment 1
zf create action add comment 1
zf create action reply comment 1
zf create action edit comment 1
zf create action delete comment 1
-
SetUp Database connection (pgsql, mysql)
run sql script docs/createTables.sql
$ mysql -u root -p <createTables.sql
-
Create Models (user, post, comment)
zf create db-table.from-database
add models methods
-
Create Forms (login, post, comment)
zf create form login
zf create form post
zf create form comment
-
Auth (Zend_Auth_Adapter_DbTable)
$adapter = new Zend_Auth_Adapter_DbTable( $db, 'users', 'email', 'password', 'SHA1(?)' );
-
Log (Zend_Log, Firebug)
resources.log.fb.writerName = "Firebug"
resources.log.fb.writerParams.firebug
Default user login:
test@test.com
and passwordtest
Zend Framework Example with Add posts and comments
abtris/ZF-Examples-My-Quickstart
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Zend Framework Example with Add posts and comments
Resources
Stars
Watchers
Forks
Packages 0
No packages published