This is first post in the series that describes building a simple Todo application using Mojito. The constraint that we have in our first implementation is that the controller
will have common
affinity.
As a prerequisite to understanding the implementation, I would assume that you are well versed with JavaScript and are hands on with Mojito. If not, it may be worthwhile to explore my initial posts on getting started with Mojito.
The complete code generated can be structured in the following steps:
- Initial code generation using Mojito CLI tools
- Application and routes configuration
- Initial UI – View and CSS
- Model
- Controller
- Binder
- Action – List all TODOs
- Action – Add a TODO
- Action – Edit a TODO
- Action – Mark one or all complete
- Action – Delete a TODO