News for hackers. Stuff that matters.
Re:Server-side view or client-side MVC? by Kiro on Wednesday February 27, 2013 @03:13AM (#5291251)
Thanks. What template engine are you using?
Re:Server-side view or client-side MVC? by orthecreedence on Wednesday February 27, 2013 @02:35PM (#5294335)
A modified version of John Resig's templating engine: http://blog.killtheradio.net/technology/a-small-modification...
Re:Server-side view or client-side MVC? by brokenparser on Wednesday February 27, 2013 @04:47PM (#5295193)
Implementing PHP syntax in JS is just ass-backwards, IMHO. Why not use something simple like Mustache? I think it's a nice middle ground because it lacks logic and runs in nearly any language. It's also used by the easiest JS templating library ever, ICanHaz.js.
Re:Server-side view or client-side MVC? by orthecreedence on Wednesday February 27, 2013 @09:54PM (#5296684)
Objection noted! Aside from the PHP opening/closing tags, the templating system is the same as John Reigs and is fast, simple, and works extremely well...so we haven't had a need to change. We've evaluated other options and realized that switching won't really get us anything we don't already have.

Maybe once our team grows we'll re-evaluate again, since it's just two devs at the moment.