News Feed
Jobs Feed
Sections




News Archive
feed this:

Rob Allen:
Thoughts on module directory structure
January 04, 2013 @ 09:09:55

Rob Allen, in his Zend Framework 2 development, has come up with a list of suggestions about the use of modules in your applications, mainly relating to the structure of the files inside of them.

I've been working on a Zend Framework 2 module within a larger project that doesn't have that many PHP class files. Specifically, it has a controller, a mapper, an entity, a service and a form. As a result, the traditional Zend Framework 2 directory structure for the Account module looks [overly complicated]. That's a lot of directories for not many files! As a result, I decided to flatten it to [something simpler].

He includes both the "before" and "after" directory structures and continues on with two more suggestions - the removal of the top level "Account" folder inside of "src/" and, finally, removing "src/" all together with a slight modification to the autoloading. With a simpler module, though, something like this might make it easier to maintain and "follow" later down the road.

0 comments voice your opinion now!
zendframework2 module structure directory minimal


PHPKitchen:
Seagull 0.6.0 Released
August 23, 2006 @ 07:27:33

On PHPKitchen, there's a new note about the release of the latest stable version of the popular Seagull Framework, version 0.6.0.

After 3 release candidates stable version 0.6.0 of the Seagull framework was released last week, download it here. Blame it on the heat wave this summer in the UK, we broke our "1 release per month" mantra for the first time in 3 years, but I think the results were worth waiting for.

There's information included about how to install (minimal and developer versions) as well as some of the improvements made, including:

  • automated module installation for admin users, and improvements to the module generator wizard
  • mproved wizard functionality based on PEAR's HTML_QuickForm_Controller (Malaney J. Hill)
  • nice CAPTCHA component (Steven Stremciuc)

You can get complete information on the framework on its site and grab the download here.

0 comments voice your opinion now!
seagull framework release database stable minimal developer seagull framework release database stable minimal developer



Community Events











Don't see your event here?
Let us know!


release composer unittest conference zendframework2 framework tool functional community series interview testing language podcast example introduction opinion object development code

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework