Blog Posts

Zend Framework 2: layouts per module and action

The talented Evan Coury created a module that allows you to specify alternative layouts to use for each module.
I forked Evan's module and extended it to allow layouts per action as well as per module. This way if one of your controller actions needs a different layout for example a large table, you can set a different layout template for it.

Get the module at my Github: https://github.com/ericpaige/EdpModuleLayouts

 

module/EdpModuleLayouts/Module.php

Automatic database backups using cron, ssh and mysqldump

Here is a little bash script I wrote to do a daily backup of my databases.
This script will work unattended if you have ssh keys set up already so you won't be asked for credentials.

dbBackup.sh

Zend Framework 2 Acl using a module and plugin

This is my first attempt at using ZF2's new module system to use Zend's access control list (ACL) implementation for priviledges management. More information on ""Zend\Permissions\Acl" can be found on Zend's website here.

Recent Posts

The talented Evan Coury created a module that allows you to specify alte

Here is a little bash script I wrote to do a daily backup of my database

This is my first attempt at using ZF2's new module system to use Zend's

Need Help?

Recent comments

Socialize with me

               


What am I doing now!






Google+ EricPaige on google+
Go to top