“You don’t have to be great to get started, but you have to start to become great.” - Zig Ziglar
Without good code examples and supporting documentation getting to know the major concepts, structure, and conventions of that framework can be prohibitively challenging.
With Joomlatools Framework 2.0 out and about we've been hard at work to create getting started documentation to guide you through your first steps. It’s an unwritten rule among framework developers that a good getting started guide should demonstrate how to build a Todo MVC component. We do no different!
In our framework guides you will find a new step by step getting started tutorial that takes you through the creation of such an extension for Joomla using Joomlatools Framework. For the lazy developers among you, you can find the fully working Todo on GitHub. Just install using Composer as explained in the README.
We also added some extra features in the package that are not covered yet in the tutorial itself. Both serve to show you how to build solid Joomla extensions quickly.
The Todo component at a glance
We believe in Letting the code do the talking, and so with the Todo package you get a lot of examples showing you how to get things done with Joomlatools Framework.
There is a great example of how to use the Bootstrapper in your component. You can define object instantiation by its identifier in this one file.
We have a custom template helper to add delete functionality to the front end for Todo items. We show you how you might couple your item into Joomla ACL with a table behavior and use that in the layouts. The
canPerform() method gets mixed right into the item's interface. That is handy!
We even show you how you might plug todo items into the Joomla Smart Search API and display your items in a module, and so much more.
Only last week we highlighted Composer supported distribution architecture on our blog. If you haven't read it yet, now is the time!
That’s all we have so far for you. Now it’s your turn. You can help us by sending in a Pull Request to improve the Todo component.