Raphaël Malié Posted October 5, 2011 Share Posted October 5, 2011 The dispatcher is one of the main new technical feature of 1.5 version. Instead of using multiple files on the root folder like product.php, order.php or category.php, only one file is used : index.php. URI will look like index.php?controller=category, index.php?controller=product, etc. There are several advantages for this system : It's easier to add a controller. You can use custom routes to change your friendly urls (really better for SEO !) Only one single entry point in programm, which improve reliability of PrestaShop, and facilitates developments You can discuss here about the dispatcher and give us feedbacks and ideas Link to comment Share on other sites More sharing options...
philee Posted October 5, 2011 Share Posted October 5, 2011 Sounds great! What if you're currently using commands to stretch out a PHP center column to right column. I.E. Global.CCS body#cms #center_column { width: 718px; margin: 0px 14px 0px 16px;} Link to comment Share on other sites More sharing options...
dazzza Posted October 5, 2011 Share Posted October 5, 2011 This will be a lot better for security & explains the changes in the globals. Link to comment Share on other sites More sharing options...
Asenar Posted October 5, 2011 Share Posted October 5, 2011 An other great adding for devs' around controllers : 1.5 will have 3 abstract classes : Controller, FrontController and AdminController (The two last inheriting from the first one). Thanks to Raphaël who worked a lot on that. Link to comment Share on other sites More sharing options...
mexique1 Posted October 31, 2011 Share Posted October 31, 2011 Another thing that I was waiting for, great ! When I first used PrestaShop I was suprised that you were using several scripts to do the same thing... However, IMHO there is still a major problem is PS : folders with source code are accessible by URL. Those should be stored one folder up the public folder of the server. The only public folders should be the theme, the css, js, and so on... 1 Link to comment Share on other sites More sharing options...
Recommended Posts