3 ms·
Maybe I'm missing something, but what about this is interesting? Is it that Redis is the backend? I'm not trying to bash it; I'm genuinely curious.
by mattlong 16y ago
Maybe I'm missing something, but what about this is interesting? Is it that Redis is the backend? I'm not trying to bash it; I'm genuinely curious.
- antirez 16y agoThe interesting things are in my opinion that Redis is the sole backend, the code is simple, and no Redis operation was "forced" to do something that was not the natural goal. In practice this example shows how the Redis data model is a natural way to model complex needs without a line of SQL and without any need to setup indexes or things like that. I think this is a pretty important point. Another interesting technical detail is that the whole site uses only an HTML template and everything else is done via javascript using jquery.
- gaiusparx 16y agoAgreed. It also highlights that you don't need an mvc frameworks for web app. Due to the popularity of framework such as Rails, many assume a framework is the only way to go. Powerful client JavaScript library is changing how people develop web apps.
- fredoliveira 16y agoEven though you are right and it is certainly not necessary to use an MVC framework to build a web-app such as this, you'll have to agree that the thoughts behind using such a framework are important (data/code/interface separation). But that doesn't mean MVC is a hammer for any nail.
- blasdel 16y agoExcept that this webapp is absolutely built with an MVC framework — it's just that the M, V, and C are in different places than they are in the dogmatic arrangement. MVC is not a fixed design, it's a legitimate universal Design Pattern (unlike most of the GoF book). It's a shared nomenclature for describing the arrangement of concerns, not a prescriptive blueprint.