http://en.wikipedia.org/wiki/Model-View-ControllerWhat exactly is this MVC thing people talk about? And why is it so important?
Zend's model view - controllerWhat exactly is this MVC thing people talk about? And why is it so important?
Thanks.
- Does xenForo use "ORDER BY timestamp LIMIT ..., ..." for threads and forums?
- Does xenForo load all forum info and permissions on every page?
- Is it fully based on the MVC pattern?
Its very important because its becoming a standard. Facebook started that trend, many companies are following suit - XenForo is one of them.What exactly is this MVC thing people talk about? And why is it so important?
The MVC design pattern was conceived in 1979.Its very important because its becoming a standard. Facebook started that trend, many companies are following suit - XenForo is one of them.
IMO, this has mostly to do with the separation of concerns. So you don't mix the business logic (ie, the processing part) with the presentation layer. If you keep everything cleanly separated and not tightly coupled, you can represent your data using multiple views quite easily. A good example is the "mini user stats" which supportsI dont understand how the MVC model is any different from the way we've been programming for years. User clicks something, program calculates stuff, results are displayed. This is standard stuff.
I didn't know that!The MVC design pattern was conceived in 1979.
That's way before you, me and even the world-wide-web were born.
The MVC design pattern was conceived in 1979.
That's way before you, me and even the world-wide-web were born.
IMO, this has mostly to do with the separation of concerns. So you don't mix the business logic (ie, the processing part) with the presentation layer. If you keep everything cleanly separated and not tightly coupled, you can represent your data using multiple views quite easily. A good example is the "mini user stats" which supportshtml, xml and json views. (See Kier's post). And ideally, the controller and view don't have to know how the "data" is actually stored in the model. So for example, if you are caching something in the filesystem and you want to change it to save in a database, memcache, etc. you wouldn't need to modify the view and controller parts of your application that use the cached data since they don't care how & where it gets stored.
I hope I didn't say anything wrong. (The tension & excitement is enormous.)
No and yes, respectively.Thanks.
1. Could you elaborate on "some places"? In particular, is it used on ".../threads/...12345/page-1234" and ".../forums/...123/page-12"?
They're not really trolling. It's simply an expansion on MVC.Could you please leave my thread alone? Go troll somewhere else, please.
You will once you look at the XenForo code.I dont understand how the MVC model is any different from the way we've been programming for years. User clicks something, program calculates stuff, results are displayed.
No and yes, respectively.
We use essential cookies to make this site work, and optional cookies to enhance your experience.