lopes_andre Posted September 13, 2009 Share Posted September 13, 2009 Hi, I'm a newbie in PHP Object Oriented. I will build a website using PHP OO. I have tested many frameworks... Zend Framework I think it is very complicated to an OOP newbie, CodeIgniter seems more friendly... but I'am a newbie in PHP OOP... if I start coding with a Framework I will never learn the PHP OOP concepts, I will only learn the Framework... There is some possibility to use the MVC without any Framework? If yes, there are some examples online? Best Regards, André. Quote Link to comment https://forums.phpfreaks.com/topic/174080-how-to-use-mvc-without-a-framework/ Share on other sites More sharing options...
Zyx Posted September 13, 2009 Share Posted September 13, 2009 I don't agree that you'll learn "only the framework". Frameworks are constructed using the object-oriented programming rules, patterns etc., so you can see right there, how to model many concepts in OOP. Anyway, MVC is just a design pattern, not a library or a piece of code. It is a formula that tells, how to organize YOUR code in order to get some specific properties. Frameworks simply follow this formula and your code can follow it, too. Quote Link to comment https://forums.phpfreaks.com/topic/174080-how-to-use-mvc-without-a-framework/#findComment-917653 Share on other sites More sharing options...
lopes_andre Posted September 13, 2009 Author Share Posted September 13, 2009 Thanks for your reply. And for a newbie, wich framework should I use? Kohana, CakePHP or CodeIgniter? Best Regards Quote Link to comment https://forums.phpfreaks.com/topic/174080-how-to-use-mvc-without-a-framework/#findComment-917759 Share on other sites More sharing options...
Julius Posted December 29, 2010 Share Posted December 29, 2010 Hey guys, Few years ago, i created my first wap forum, and after that, somehow I just stopped programing. Just got tired of it. Now, i was doing some research on web design, and oop. I have tried codeigniter, and I would use it, but, i got into college after school, and I'm studying programing for computers. So, my final task in this college, will be create a website, so, i wanna start working on it. So, codeigniter will not work, because it's too easy, yes, to start learning oop, it's okay, but really, almost everything you need is in the library folder, and I want more challenges i googled for php mvc tutorials, found few, but there was more code than text that explains it. What do I want from you, you may ask. Well, I want you, to explain me, how to create my own mvc core. Little bit off topic: how the heck does codeigniter rewrite urls without .htaccess? Thanks for any help! Sorry for my bad english Quote Link to comment https://forums.phpfreaks.com/topic/174080-how-to-use-mvc-without-a-framework/#findComment-1152515 Share on other sites More sharing options...
trq Posted December 29, 2010 Share Posted December 29, 2010 Well, I want you, to explain me, how to create my own mvc core. MVC is just a design pattern. It's not rocket science, and it is definitely not the be all and all. I posted a very simple example a few years ago, maybe it will help. http://www.phpfreaks.com/forums/application-design/fully-understanding-mvc-concept/msg729041/#msg729041 That entire thread might be worth you reading actually. how the heck does codeigniter rewrite urls without .htaccess? It doesn't. All requests go to a single entry point (the front controller) which then parses the url and executes the correct controller / action. Quote Link to comment https://forums.phpfreaks.com/topic/174080-how-to-use-mvc-without-a-framework/#findComment-1152519 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.