Matador: MVC for Node
obvious.github.com
Matador: MVC for Node
1–10 of 17 posts
Re: Matador: MVC for Node
#2Re: Matador: MVC for Node
#3Maybe it's just me, but I honestly have trouble taking anyone who uses mustache templates seriously because I automatically assume they've never worked on a large website.
Re: Matador: MVC for Node
#4Maybe it's just me, but I honestly have trouble taking anyone who uses mustache templates seriously because I automatically assume they've never worked on a large website.
Re: Matador: MVC for Node
#5Re: Matador: MVC for Node
#6@dustindiaz I'm curious about the usecase for Matador. Its mentioned in the docs that it uses Express. I use Express pretty heavily and it seems that most of the things made available via Matador is already available in Express. Why should I consider stacking Matador on top of a framework that already works pretty well?
We still tack on Express requests and responses onto your controller instances.
Most of all, the router -> controller mapping with request filtering (middleware-like) is where Matador comes in most useful. We have other features we'd like to add, especially in the scaffolding layer, but figured we'd open source early and get developer feedback.
Thanks!
Re: Matador: MVC for Node
#7Maybe it's just me, but I honestly have trouble taking anyone who uses mustache templates seriously because I automatically assume they've never worked on a large website.
I'm the co-author of Matador. I worked on Twitter.com - which is a relatively sized website - and we used Mustache... so there's that.
Re: Matador: MVC for Node
#8Maybe it's just me, but I honestly have trouble taking anyone who uses mustache templates seriously because I automatically assume they've never worked on a large website.
From what I've read, Github uses Mustache also. Logic-less templates are nice. It keeps code out of the views.
It keeps code out of the views.
...and put it in controllers, which is terrible for large-scale organization. I would hate to see what their back-end looks like.Re: Matador: MVC for Node
#9@dustindiaz I'm curious about the usecase for Matador. Its mentioned in the docs that it uses Express. I use Express pretty heavily and it seems that most of the things made available via Matador is already available in Express. Why should I consider stacking Matador on top of a framework that already works pretty well?
I wrote my own version of this last year, and found that it was a really good learning experience, but I didn't think it was worth publishing publicly. However, there is definitely room for a scaffolded MVC prototyping framework on top of Express, imo.
Re: Matador: MVC for Node
#10Earlier quoted context omitted.
I'm the co-author of Matador. I worked on Twitter.com - which is a relatively sized website - and we used Mustache... so there's that.
Twitter has about 5 "pages" on their whole website. From a template perspective it's the MOST simple kind of website you can build. So, there's that.