11Nov2014
Developer guide
Lately I did some experiences with other MVC frameworks and other developers. Is always a good thing look out and to see what exists and how it works.
I wrote tons of code and I read tons of code wrote by others: a lot unnecessary code using X3 CMS.
The result of those experiences is that X3 CMS is mature enough for a Developer Guide.
Simple is better is our motto
I saw many bad thing, the worst is unnecessary complexity. To write code should be a pleasure not a never ending struggle. Life is one.
The goal of the Guide is to show how simple could be write a web application with X3 CMS.
A small example: with X3 CMS you don't have to worry about Routes definition.
Chapter One: Controllers
Here you will discover:
- how to write less code with shortcuts
- how to handle arguments and GET and POST without headache
- how to write simple controllers for the admin area and for the others areas
- how to integrate a controller in the CMS and use all the bells and whistles included in X3
Chapter Two: Models
The easy way to interact with a database without to use an ORM: what you can do with 10 lines of code or even without code.
Let me know if I have to go on :)
Have fun