Simple Machines Blogs > Developers' Blog

The future of SMF

<< < (3/55) > >>

Masterd:
Code cleaning! Yes! I had several problems with that nasty code. And i really hope that SMF 3.0 will be a completely revolution.

Daniel15:

--- Quote ---We've opted to go with a light MVCS (Model/View/Controller/Storage) pattern
--- End quote ---
Did you invent this term? I've never heard of it before :P
Is it like HMVC or MVP at all?

Fustrate:
Ya, it's kind of invented... it's basically MVC, but instead of littering the model or controller with queries, all of the queries are in "storages". If you want to alter how users are fetched, you only have to modify it in one place.

Pseudo-code:

--- Code: ---$storage = $this->getStorage('posts');

// Naughty me, hard-coding my ID :P
$postsByMe = $storage->getByUser(108127);
--- End code ---

Maybe there's already a term for it, I'm not big into formality like that. Blame MVCS on Norv :D

A.SK:
Lets hope for the best.

All the best team.

karlbenson:
Look forward to the developments.  I'll be keeping my eye out.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version