

Blog: http://blog.evan.pro/
GitHub: http://github.com/EvanDotPro
Twitter: Sorry, I don't tweet. ;)
...
|~modules/
| |~FooModule/
| | `-Module.php
1 <?php
2
3 namespace FooModule;
4
5 class Module {}
|~module_root/
| |~configs/
| | `-module.config.php
| |~public/
| | |+css/
| | |+images/
| | `+js/
| |~src/
| | `~<module_namespace>/
| | `-<code files>
| |+tests/
| |~views/
| | `~<controller-name>/
| | `-<.phtml files>
| |-autoload_classmap.php
| |-autoload_function.php
| |-autoload_register.php
| `-Module.php
1 <?php
2 class Module
3 {
4 public function init($moduleManger)
5 {
6 $events = $moduleManager->events();
7 $events->attach('init.post', function($e) {
8 // All modules loaded now
9 });
10 }
11 }
$ zf install MyModule
$ zf install git://github.com/EvanDotPro/MyModule.git
$ zf install http://evan.pro/MyModule.phar
Only slide with incomplete, everything else is real and works today
$ tar -cf MyModule.tar MyModule/Send to -> Compressed Zip FolderBetter than any other framework/project support I've seen.
1 <?php
2 return new Zend\Config\Config(array(
3 'module_paths' => array(
4 realpath(__DIR__ . '/../modules'),
5 ),
6 'modules' => array(
7 'Application'
8 ),
9 ));
1 <?php
2 return new Zend\Config\Config(array(
3 'module_paths' => array(
4 realpath(__DIR__ . '/../modules'),
5 // Override module location for
6 // 'non-standard' modules:
7 'My\Module' => '/some/other/path/MyModule',
8 ),
9 'modules' => array(
10 'Application',
11 ),
12 ));
1 <?php
2 $appConfig = include __DIR__ . '/../configs/application.config.php';
3 $moduleLoader = new Zend\Loader\ModuleAutoloader(
4 $appConfig->module_paths
5 );
6 $moduleLoader->register();
1 <?php
2 $moduleManager = new Zend\Module\Manager(
3 $appConfig->modules
4 );
5 $config = $moduleManager->getMergedConfig();

| Table of Contents | t |
|---|---|
| Exposé | ESC |
| Full screen slides | e |
| Presenter View | p |
| Source Files | s |
| Slide Numbers | n |
| Toggle screen blanking | b |
| Show/hide slide context | c |
| Notes | 2 |
| Help | h |