关于Javascript框架的神回帖,值得围观

在zemanta的blog上看到一篇文章,后边来自Eran Medan的回帖让人惊讶,一起围观一下:

I agree, I can't keep up, I just finished learning backbone.js and now I'm found out on that it's old news, and I should use ember.js, cross that, it has opinions, I should use Meteor, no, AngularJS, no, Tower.js (on node.js), and for html templates I need handlebars, no mustache, wait, DoT.js is better, hang on, why do I need an HTML parser inside the browser? isn't that what the browser for? so no HTML templates? ok, DOM snippets, fine, Web Components you say? W3C are in the game too? you mean write REGULAR JavaScript like the Google guys? yuck, oh, I just should write it with CofeeScript and it will look ok, not Coffee? Coco? LiveScript?  DART? GWT? ok, let me just go back to Ruby on Rails, oh it doesn't scale? Grails? Groovy? Roo? too "Springy?" ok, what about node.js? doesn't scale either?? but I can write client side, server side and mongodb side code in the same language? (but does it have to be JavaScript?) ok, what about PHP, you say it's not really thread safe? they lie?? ok, let me go back to server coding, it's still Java right? no? Lisp? oh it's called Clojure? well, it has a Bridge / protocol buffers / thrift implementation so we can be language agnostic, so we can support our Haskell developers. Or just go with Scala/Lift/Play it's the BEST framework (Foresquare use it, so it has to be good). of course we won't do SOAP and will use only JSON RESTful services cause it's only for banks and Walmart, and god forbid to use a SQL database it will never scale 
I've had it, I'm going to outsource this project... they will probably use a wordpress template and copy paste jQuery to get me the same exact result without the headache and in <del>half</del><ins>quarter</ins> the price

中文翻译:

 我承认,我跟不上。我刚刚学会了backbone.js,但现在发现它已经过时了,我应该使用ember.js,了解的过 程中,有人说我应该使用Meteor,不,应该用AngularJS,不,应该Tower.js (基于node.js),而对于HTML模板,我应该使用handlebars,而不是mustache,稍等一下, DoT.js看起来更好,慢着,为什么要用一个浏览器里的HTML解析器?浏览器不就是干这事的吗?那么,不该使用HTML模板吗?对,用DOM snippets,好,你是说Web Components吗?W3C不是专门做这个的吗?你是说像Google那样开发一个常规的 Javascript语言吗?太扯了,我只需要用CoffeeScript就行了,它的表现不错,不用CoffeeScript?用Coco? LiveScript? DART? GWT?这样吧,我还是重新使用Ruby on Rails吧,哦,它没有扩展性?Grails?Groovy? Roo?太简单?那好,node.js怎么样?扩展性也不好??但是用它我既可以写客户端代码,服务器端代码,还可以写mongodb代码,都用同一种语 言。(非要用Javascript语言吗?)那么,PHP怎么样?你说它不是真正的线程安全?他们在撒谎??那好,让我们重新回到服务器端编程吧,还是用 Java怎么样?不好?Lisp?哦,应该是Clojure?不错,它有一个Bridge / protocol buffers / thrift实现,这样语言就相通了,这样我们的Haskell程序员也能开发了。或者用Scala/Lift/Play,它们都是最好的框架 (Foresquare就是用的它们,它们一定很不错)。当然,我们不该用SOAP,应该用JSON RESTful服务,只有银行和沃尔玛用SOAP,还有,坚决不能用SQL数据库,它们不可能扩展。


我明白了,我打算把这个项目外包出去… 他们可能会用一个Wordpress模板,然后拷贝粘贴一些jQuery代码,这样就能实现完全相同的效果,不会有任何上面说的那些让人头疼的事。

原文地址:https://www.cnblogs.com/jiji262/p/2605972.html