Note that there are some explanatory texts on larger screens.

plurals
  1. POModel and backend interface generators for Zend Framework
    primarykey
    data
    text
    <p>By doing some research, one of the disadvantages often reported about <code>Zend Framework</code> is the amount of work required to get off the ground. For me this could be addressed if <code>ZF</code> had strong <code>model</code> and <code>backend interface</code> generators like Symfony does. I have been looking for those and here is what I found:</p> <h2>Model generators</h2> <ul> <li><p><a href="http://code.google.com/p/zend-db-model-generator/" rel="nofollow noreferrer">http://code.google.com/p/zend-db-model-generator/</a>: looks like official one, based on user feedback, the <a href="http://framework.zend.com/manual/en/learning.quickstart.create-model.html" rel="nofollow noreferrer">documentation</a> seems to be awful though.</p></li> <li><p><a href="http://code.google.com/p/zend-model-generator/" rel="nofollow noreferrer">http://code.google.com/p/zend-model-generator/</a>: seems quite advanced. updated 3 months ago.</p></li> <li><p><a href="https://github.com/inxilpro/Galahad-FE/" rel="nofollow noreferrer">https://github.com/inxilpro/Galahad-FE/</a>: not updated in 2 years, looks dead.</p></li> <li><p><a href="https://github.com/codeinchaos/zend-model-generator/blob/master/generate.php" rel="nofollow noreferrer">https://github.com/codeinchaos/zend-model-generator/blob/master/generate.php</a>: single php file, could be interesting to use as basis and extend as needed.</p></li> </ul> <h2>Backend interfaces</h2> <p>As usual one can use database administration tools</p> <ul> <li><p><a href="http://www.phpmyadmin.net" rel="nofollow noreferrer">http://www.phpmyadmin.net</a>: quite complete with plenty of new features since 3.5. Hard to extend.</p></li> <li><p><a href="http://www.adminer.org/" rel="nofollow noreferrer">http://www.adminer.org/</a>: single-file backend interface. Quite complete. The use of plugins seems to make extending functionality easy.</p></li> </ul> <h2>Backend interface generators</h2> <ul> <li><p><a href="http://zfdatagrid.com/grid/default/site/crud" rel="nofollow noreferrer">http://zfdatagrid.com/grid/default/site/crud</a> which comes from what looks like a very active <code>ZF</code> related project: <a href="http://code.google.com/p/zfdatagrid/" rel="nofollow noreferrer">http://code.google.com/p/zfdatagrid/</a>.</p></li> <li><p><a href="http://www.koala-framework.org/" rel="nofollow noreferrer">http://www.koala-framework.org/</a>: I've recently come across this framework which allows you to create "desktop-like" applications around Zend, which one could use to create a backend interface.</p></li> </ul> <p>Setting up the interface seems to be quite easy, for instance here is how you would display a form to edit contacts on the same page as you would edit members:</p> <pre><code>&lt;?php class MemberContacts extends Kwf_Model_Db { protected $_table = 'member_contacts'; protected $_referenceMap = array( 'Member' =&gt; array( 'column' =&gt; 'member_id', 'refModelClass' =&gt; 'Members', ) ); } ?&gt; </code></pre> <p><img src="https://i.stack.imgur.com/8LGVH.png" alt="enter image description here"></p> <p><a href="http://app-demo.koala-framework.org/" rel="nofollow noreferrer">A demo of Koala frameworks is available</a>. To be honest it looks quite impressive.</p> <p><strong>Q: Which model generators and backend interface (generators) do you use for Zend and why?</strong></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload