SMF 2.0.19 has been released! Please update. Read more.
Started by Suki, September 05, 2013, 09:44:50 AM
Quote from: Arantor on September 04, 2013, 05:59:29 PMDo it. It needs it. The entire structure of SMF being monolithic templates is very bad. Make every content unit a template and display a list of them and then this becomes a template block too.
QuoteOK, one last question, how does that class knows what to load?
Quotewhere there's no real definition of model and view in the first place or rather there is just soo much stuff going on that the whole MVC thing gets completely obsolete/override very quickly
QuoteOh, and I realize this means completely re-design the default theme on it self, the current one depends on itself just too much. Lots of work just to be ignored, sounds fun!
Quote from: Suki on September 05, 2013, 09:44:50 AMThat's the thing, I really don't think they want such a change, even my futile attempt to add some hotspots to the Display.template wasn't well received or rather wasn't even received.
Quoteit doesn't seem you should be any worried about not receiving feedback, maybe in a couple of months it may be included.
Quote from: Arantor on September 05, 2013, 10:52:19 AMQuoteOK, one last question, how does that class knows what to load?It doesn't. It has absolutely NO responsibility for loading anything. As I said with: "However that function gets defined is irrelevant to the template system." The template system is solely responsible for *calling* the functions in the right order and whatnot.OK, practical example. Board index is where the info centre section is added (it's an entire layer with several blocks in it), the board index is not only responsible for adding it to the skeleton, it's also responsible for loading the info centre template file too.
Quote from: Arantor on September 05, 2013, 10:52:19 AMWell, you could hammer it into an MVC like pattern, it seems to work for XenForo well enough, however I'd argue that it's not really ideal for the same reason. MVC is a structure and it works well for certain applications but as you intimate it doesn't work for a forum. It's more than that, though, MVC is really designed around a single purpose application with multiple facets, not potentially multiple bits of applications tied together in a single base like a typical SMF install is.
Quote from: Suki on September 05, 2013, 12:44:25 PMAre forums the only complicated system that doesn't really fit into MVC? si that the reason why most forum systems are trying to fit in MVC rather than funding their own solution?The very core principles of MVC doesn't really fit within a forum environment, a forum as a whole is not something you can just simple re-use with something else.I dislike the way the "cool guys" are heading with forums, things like discourse or Lithium's Sphere are pushing forums to fit something forums aren't designed to fit it.
Quote from: Bloc on September 06, 2013, 11:58:44 AMSmCore became dormant mostly because the creator(s) stopped believing in it, instead of being prepared to code the modules themselves, they anticipated others would..which was of course an utopia.Lesson learned?
Quote from: Arantor on September 06, 2013, 12:59:38 PMThe biggest problem with smCore was the 'OMG we need to rewrite everything' problem.