Jump to content

Recommended Posts

I am told MVC isn't OOP.

 

I am creating a basic framework for my own use. I am determined to follow MVC. I also want to use a full OO style - and know I can do it properly rather than for the sake of it.

 

(1) Is it really that bad to try and follow MVC whilst also using OOP?

 

(2) I hear people talk about Singleton / Factory etc. for designing classes. Should I follow a certain design for these (that fits in with my current design). My other forum post should explain how I want to design my classes: http://www.phpfreaks.com/forums/php-coding-help/oop-linking-parentchild-classes-(and-if-to-instantiate-or-not)/.

 

(3) Overall, am I right in what I am doing?

 

 

Link to comment
https://forums.phpfreaks.com/topic/219226-mvc-not-oop/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.