Blog example based on Zend Framework 2 and ZendSkeletonApplication.
-
create tables from entity classes run "./vendor/bin/doctrine-module orm:info" - view info run "./vendor/bin/doctrine-module orm:validate-schema" - validate schema run "./vendor/bin/doctrine-module orm:schema-tool:update --force" - create tables run "./vendor/bin/doctrine-module orm:validate-schema" - to check
-
create roles
INSERT INTO role
(id
, parent_id
, roleId
)
VALUES
(1, NULL, 'guest'),
(2, 1, 'user'),
(3, 2, 'moderator'),
(4, 3, 'administrator');
for social login add to composer.json
"socalnick/scn-social-auth": "dev-master",
-
http://zf2cheatsheet.com http://docs.doctrine-project.org/en/2.0.x/reference/annotations-reference.html#annref-manytoone http://zf2.com.ua/doc/161 http://twig.sensiolabs.org/doc/templates.html http://paperplane.su/advantages-twig/ http://habrahabr.ru/post/146983/ - nodejs application with express fw http://blog.tomaka17.com/2012/12/random-tricks-when-using-angularjs/ - angular tricks http://www.cheatography.com/proloser/cheat-sheets/angularjs/ - angular cheat-sheets
-
..........