- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi all,
I am new to php and my level of php mastery is only basic create, update, delete, login/logout using sessions.
I’m currently on a personal project to make a basic blog which will not go live on the web. Since i’m not using any framework or special techniques to do this site, i tend to see lots of repetitive code.
I’ve heard a lot about php framework, mvc, oop.
What are the difference between mvc , oop ? Which is better or which is more widely used nowadays on professional projects or even what css-tricks use.
If by OOP you mean Object Oriented Programming then that is not a framework, it is a part of the language introduced in PHP 5 I think. Check out this for more infomation and some videos explaining it quite well.
MVC stands for Model View Controller and is a way of organising your code, more infomation can be found here
Hope this helps
Matt
Article on OOP:
http://en.wikipedia.org/wiki/Object-ori … rogramming
Article on MVC:
http://en.wikipedia.org/wiki/Model–view–controller
For PHP, I’d look into the codeigniter frameworks. It is an object oriented framework that adheres to MVC design pattern. It’s really great, and a lot of hard work has already been done for you.
http://www.codeigniter.com
CakePHP is another one.
Best of luck,
-D