SMF 2.1.4 has been released! Take it for a spin! 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.
Quote from: Arantor on September 06, 2013, 02:18:11 PMSee, that's mostly a case of refactoring, not writing code and then testing it, retesting it etc.
Quote from: Suki on September 06, 2013, 02:22:40 PMBloc, you misunderstand me, I wasn't the one who said anything about social networking, you did, I don't want to build a facebook clone either, never said that.I'm not "dispelased" I just see thinks can be improved, I never ever used the word "perfect" or "quality" neither. The current codebase is truly unmaintainable, let alone for a project without enough man-power, trying to make it more re-usable is hardly what I call been perfect or improve its quality.And thanks for the advice, its been long ago since I'm following my idea, it hasn't anything to do with forums or "pure forums" or facebook clones, is a blog and not, I don't want to innovate or re-invent the wheel I just like to code something I will use. Using Ruby/jekyll combo I was able to set a simple blog page with all I wanted to have within minutes, well, it was about 2 weeks, most of that time was me struggling with the command line However, this isn't about my goal or what I want, last time I check I don't own SMF nor I'm involved with it, I'm offering alternatives to continue with its development. Alternatives based on knowing the state SMF currently is, if they have a healthy and numerous group of devs I wouldn't even mention the word framework and I don't mind SMF staying as just a pure forum either.I'm not looking at what SMF should be but rather what base will it chose to get there. I know perfectly well my ideas are going more into "Revolution" (start fresh or re-implement the core) and SMF has chose "Evolution"(extend the current codebase) instead. Thats also fine, the current codebase can still last at least for another 5, maybe 10 years if there is enough will and users can stay happy with a few features been released every once in awhile.If you pop out from the SMF bubble you will realize that it isn't as popular as you might think it is.