GioBulia Posted June 7, 2012 Share Posted June 7, 2012 Hello, I want to write own MVC, I need some tutorials can anyone recommend me any tutorials website for learn OOP and MVC in this moment I have made this: bootstap.php class Bootstrap {function __construct() { if(isset($_GET['mod'])) { $mod = $_GET['mod']; } if(ctype_alnum(@$_GET['mod'])) { $mod = explode('/',$mod); } if(file_exists('system/modules/' . $mod[0] . '.php')) { require_once 'system/modules/' . $mod[0] . ".php"; } else { require_once 'system/modules/pagenotfound.php'; }}} Thank you 2 Link to comment Share on other sites More sharing options...
thescientist Posted June 8, 2012 Share Posted June 8, 2012 you can always start at the sourcehttp://us3.php.net/oop Link to comment Share on other sites More sharing options...
Ingolme Posted June 8, 2012 Share Posted June 8, 2012 After developing systems in different ways, I'm not sure I like MVC the best. I'd rather have the classes represent objects of the system like users, posts and other things. Link to comment Share on other sites More sharing options...
ckrudelux Posted June 9, 2012 Share Posted June 9, 2012 This gives you some idea what you are after:http://www.youtube.com/watch?v=ZbBf4jfwWko Link to comment Share on other sites More sharing options...
birbal Posted June 9, 2012 Share Posted June 9, 2012 More resouce on the concept of MVC http://anantgarg.com/2009/03/13/write-your-own-php-mvc-framework-part-1/http://www.tonymarston.net/php-mysql/model-view-controller.htmlhttp://www.phpro.org/tutorials/Model-View-Controller-MVC.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now