Hi Folks,
Great work on the Joomla Framework. Previously I have used Code Ignitor for developing standard alone web apps. After the Ellis Labs CI update from December 2012, I decided it was time to find a new development framework.
Initially I was trying to decide between Laravel or F3 (yes, I know they are very different). When I read the announcement about the Joomla Framework reaching 1.0, I thought I might try this one and see if I could leverage any experience from component development.
To be honest, for the first day or two I thought I might have done something wrong. I had been tempted to fall back on one of the other choices. Now, after 3 days and some tears I am very happy that I stuck it out. The learning curve is a bit steeper than I had expected but well worth the effort.
* To use the default Joomla\Router\Router class you need to have .htaccess working to re-write URL's to remove index.php otherwise matching the route fails. Also adding index.php to the route was resulting in an invalid routes.json file.
* When specifying the defaultController for the router using setDefaultController the namespaced controller class name needs to be used.
* Don't forget to pass in the Joomla\Registry\Registry object to the application when bootstrapping with valid config details to connect to the database
* How to create routes a bit more easily than using $router->addMap. I know the framework-app shows how to use routes.json and decode this to array then pass to $router->addMaps(), which is what I eventually did. It just took time reading through all the sample code.
So, after the overly long preamble. My question I guess is, would the wiki be the best place to put this sort of page? It the sort of information that doesn't belong in the source code docs but just would be convenient for when people are using google to try and find answers.
Thoughts would be great before I just run ahead and maybe end up either duplicating something else that already exists or that people feel is not really needed?
Cheers,
Eric.