Re:Cloudkick: Closing in on Google Closure
by eclark on Wednesday June 30, 2010 @02:02PM
(#1475623)
The soy templates are a timesaver for anything that is going to be generated in JS and styled by a designer. We use it at work and I haven't regretted it at all. The only thing I want is a better handling of namespaces.
I am debating using the rest of closure for my next project but the verbosity is a little bit scary.
Re:Cloudkick: Closing in on Google Closure
by apphacker on Wednesday June 30, 2010 @04:50PM
(#1476179)
I swear I thought those words would get edited out by someone else at Cloudkick. I wrote that half jokingly and I guess it made into the actual blog post. :P
Re:Cloudkick: Closing in on Google Closure
by johnswamps on Wednesday June 30, 2010 @03:20PM
(#1475853)
I'm not sure if your question was rhetorical or not (I suspect it was), but for the record, it's a basic templating system for javascript and java like what most web frameworks have. You write a template with parameters ("hello $name") and basic commands ("{foreach $foo in $foolist} ..."). Then in your code you can parameterize the template with data ({name: "benatkin", foolist: [...]}) and it'll get expanded.
I am debating using the rest of closure for my next project but the verbosity is a little bit scary.
(I know I can google it. It just doesn't make sense to me for there not to be an explanation in the article.)