gp177 Posted May 15, 2007 Share Posted May 15, 2007 So I am designing my first site using a MVC framework (CodeIgniter). I love it but I'm not sure how to use it to the fullest with my site. My server is a windows 2003 box using IIS. The site has: An intranet application (only subnet access, SSL not required but can be used). A static public site. A dynamic user account section with E-commerce (requiring ssl). If my understanding is correct, than everything in any MVC framework is called through a single front controller object. If that is the case then using different IIS settings (such as force ssl) on my controllers does not work. Is it possible then, to contain my entire site within one instance of CodeIgniter? Are there other frameworks that work differently that would support what I want to do? One solution is to do the ip restriction with php, so that both my intranet and dynamic site could sit in one instance of CodeIgniter. But that still leaves my static site. Any advice is welcome, Gp Quote Link to comment Share on other sites More sharing options...
johnrcornell Posted May 18, 2007 Share Posted May 18, 2007 According to these articles http://www.alternateinterior.com/2007/03/comparing-monolithic-controllers-with-task-based-controllers.html http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html Having one controller is a big mistake. I'm still trying to wrap my head around the theory of it though, so I'm not in a position to have my own opinion (yet.) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.