cancel
Showing results for 
Search instead for 
Did you mean: 

A PHP Developer guide with an Example Magento 2 Extension with best practices

A PHP Developer guide with an Example Magento 2 Extension with best practices

In magento 1 X.commerce produced the following guide

http://info2.magento.com/rs/magentosoftware/images/magento-extension-developers-guide-v1.0.pdf

 

Its approximately 70 pages long.  I found this invaluable in learning how Magento 1 worked.  Put simply it was a short guide that produced an extension from start to finish teaching many basic principals of Magento 1 such as:

Code setup and configuration - code structure

Design setup - templates and layouts

Frontend development - database schema, models, output (blocks), routes, helpers, sample data

Backend development - admin configuration, routes, models, output (including grids), helpers, ACLs

 

I believe where this guide succeeds is that it carries a single example across many topics.  More importantly it has the right level of detail in terms of producing something useful yet not too much to becoming obsolete overnight.  And it focuses on magento in terms of PHP development unlike some of the books I've read through which cover a far wider range of topics and often include a few chapters on installation and setup for example.

 

I realise that Magento 2 is technologically more advanced and perhaps this is too difficult to achieve. However reading through the developer docs many areas still seem disjointed (and by this i mean a common example which is carried throughout - not simply a collection of snippets of information) and I feel it would be really helpful if an all-in-one guide extension guide was put together not only for me but to help the greater community.

 

To give you a bit of history I'm a competent Magento 1 developer but I'm finding some Magento 2 concepts difficult to follow.

 

I'll be honest I've seen https://u.magento.com/training/schedule/ and I believe your pricing will stall the adoption of Magento 2