2008年Dojo发生了什么事? [英] What happened to Dojo in 2008?

查看:146
本文介绍了2008年Dojo发生了什么事?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

许多人看到

图表似乎表明对Dojo的兴趣倒塌2008年第二季下降80%; jQuery收获松弛,最终增长到Dojo的三倍以上。



为什么? 2008年第二季度发生了什么,拆除了Dojo的兴趣?



(请注意,我对;即使你可以解释为什么一个比另一个更好,很难看出2008年4月为什么突然变得清晰了)。

免责声明:我是Dojo提交者,但这是我作为JavaScript内部人士的个人观点。



首先:图表绝对是完全不正确仔细看图表链接,并阅读事件。这是与Dojo相关的事件列表:


  1. 为Ajax声明Dojo—好的,它可能是相关的


  2. Dojo:停止Windows Vista启动时运行的程序[视频]— 不相关的


  3. Dojo:添加复制到并将命令移动到具有此注册表黑客的Windows XP资源管理器— 甚至没有关闭


  4. Dragon Dojo MartialArts®被命名为NASCAR®的官方小企业,由OfficeDepot®提供 —


  5. 山景中的黑客Dojo引发了想法和修补


为什么? Dojo是大多数软件开发区域以外的通用术语,Yui(作为YUI的图表中的其他JavaScript工具包)是一个非常受欢迎的日本歌手名人,只有jQuery是一个独特的术语。



那么图表显示了什么?不幸的是没有关系。



嗯,déjàvu。是的,我已经说过了一次。所以请允许我引用自己的内容(添加小注释,更正链接):


关于Google趋势。在有问题的5个图书馆[jquery,mootols,prototype,yui和dojo]中,只有两个(jquery和mootools)在调查中有一个远程相关的机会,主要是由于它们的独特名称。其余的使用通用名称(原型和dojo)或别名(yui => Yui,非常受欢迎的日本歌手/歌曲作者/演员)。所以,如果你想解释突然的尖峰,尝试Google的新闻故事,看看是否可以解释没有表面手段的起伏。



这里是一个链接另一项科学研究证明毫无疑问,jQuery比Marilyn Monroe,Elvis Presley更受欢迎,甚至最近超越了米老鼠: Google趋势: jquery,mootools,marilyn monroe,elvis presley,mickey mouse


现在回到你的问题。图表错误2008年下半年没有任何相关事件。一切都在2007年下半年完成:




  • 8/20/2007— Dojo 0.9被宣布。这是以前版本的主要突破:Dojo 0.4。立即你对Dojo的现有知识被摧毁了70%以上。

  • 11/5/2007— Dojo 1.0被宣布 。这个版本使得Dojo 0.4在心理上很古老。



从技术上讲,休息是有道理的,心理上这是用户的重大打击Dojo 0.4应用程序即将在2010年生产)。



有些人开始学习0.9 / 1.0 API,有些人决定迁移到别的地方,缺陷的成本与学习新的Dojo的成本几乎相同。当时市场上有老玩家和相对新手:jQuery。大多数前Dojo用户在对别人进行抽样后选择了Dojo。所以大多数叛逃者从Dojo到了jQuery而不是其他工具包,而在开始时他们定居在Dojo的时候,这些工具没有。



但这不是唯一的原因。不知何故,人们喜欢将Dojo与jQuery进行比较。让我们来比较他们的社区和社会方面。



jQuery在营销方面好多了只需比较一个John Resig所生产的博客文章数量与所有Dojo开发人员的博客文章合并在一起,比较John在会议上的演讲数量和Dojo谈话的总和次数。事实是Dojo是由可能擅长技术,但不善于营销的怪人制造的。



社交功能也很重要,因为它们有助于成长社区。我们来看看为两个工具包提供一些随机代码。 Dojo有一个奇怪的项目的地方:DojoX。 jQuery有一些相当的jQuery插件。任何人都可以做出贡献,但对于DojoX来说,进入的障碍要高得多,因为提交的内容将被审查,如果不符合严格的标准,则可以拒绝。一般来说,它需要很多时间,而在jQuery地方,任何人都可以随时提交任何代码作为插件,并附带许可证。这使得属于jQuery社区更容易。



在我个人看来,DojoX过程产生更好的技术结果:几乎任何随机的DojoX项目质量都比许多jQuery插件。显然有很好的支持高品质的jQuery插件,但这不是重点。关键是jQuery插件进程在构建社区方面比DojoX进程更好。



目标市场也不同。 jQuery的目标是比较简单的事情:向常规网站添加一些JavaScript魔术,做一些渐进增强,使用这个代码段的事情等等。 Dojo具有模块化系统,构建/打包工具和OO / AOP规定,吸引了网络应用人群。猜猜什么市场有更多的人。其中一个含义很简单:Dojo广泛用于IT,不会引起任何公众认可和争议;即使是这样的系统的开发人员的次要嗡嗡声也比Dojo更小。



另一个令人痛心的事实是,Dojo社区在2007年放弃了球:文档是混乱的,博客文章很少见,主要是关于高级程序员的晦涩难懂的技术资料,而不是教程看看做简单的事情是多么容易。论坛几乎被垃圾邮件发送者关闭了。 0.4 / 0.9的突破伤害了Dojo的搜索引擎的可见性寻找新东西的人大多发现了0.4件,这对他们来说是没有用的。



所以你有它:2008年第二季度是错误的学习时间。看看H2 2007.看看为什么jQuery比Dojo或任何其他竞争对手更多的质量诉求。



但是让我们去现在。 b
$ b

在我的不科学经验中,Dojo有新用户的流入。我看到更多的人使用Dojo,我知道更多的项目开始与Dojo。它开始于2009年中期的某个地方。我看到的原因是:


  1. 上面提到的许多问题是修复或


  2. freenode上的#dojo频道非常活跃,其他基于网络的资源比以往任何时候都更为相关。


  3. 作为大多数美国现象,Dojo终于开始走向国际。


现在特别注意确保旧版Dojo版本的用户不会感冒。例如,对最后一次安全性咨询做出反应,所有已发布版本的Dojo都已更新:从0.4到目前的1.4。我相信0.4 / 0.9的分裂不会再重复,当Dojo在未来达到2.0时:进化而不是革命在社会上是可以接受的。



我相信Dojo的技术官僚终于明白了他们的技术决策的社会影响,改变了,社区还活着。



Dojo会打jquery数字任何时间?虽然技术上Dojo看起来像一个干净的超集jQuery,然后一些,两者都可以在同一个渐进式增强市场中使用,Dojo不太可能打乱jQuery。看到上面针对不同的市场,并记住与其他工具包的斗争,甚至不是一个目标,他们在Dojo上工作,他们专注于使Dojo在广泛的场景中更加有用,并建立自己的社区。最终,用户可以根据自己的需要做出自己想要的决定。



更新:我希望没有人会得出结论,Dojo放弃球和jQuery刚刚在这里。没有那样的事。 jQuery在很大程度上是特别在概念层面上。我们喜欢jQuery,并希望它是最好的。比较我们在构建其他工具包方面的努力是基准。


Many of you have seen this graph of Google Trends of popular AJAX frameworks (Dojo, jQuery, YUI).

The graph seems to make it clear that interest in Dojo collapsed in the second quarter of 2008, falling by 80%; jQuery picked up the slack and ultimately grew to more than triple the size of Dojo.

Why? What happened in Q2 2008 that demolished interest in Dojo?

(Note that I'm not really interested in a comparison of Dojo vs. jQuery; even if you can explain why one is better than the other, it's hard to see why that suddenly became clear to the world in April 2008.)

解决方案

Disclaimer: I am a Dojo committer, but this is my personal view as a JavaScript insider.

First of all: the graph is absolutely and completely incorrect. Look at the chart link closely, and read "events". This is the list of events "related" to Dojo:

  1. "Declaring Dojo for Ajax" — ok, it may be relevant.

  2. "IT Dojo: Stop programs from running when Windows Vista starts [video]" — irrelevant.

  3. "IT Dojo: Add Copy To and Move To commands to Windows XP Explorer with this registry hack" — not even close.

  4. "Dragon Dojo Martial Arts® Named 'Official Small Business of NASCAR®, Courtesy of Office Depot®'" — nope, missed again.

  5. "Hacker Dojo in Mountain View sparks ideas and tinkering" — nowhere near.

Why? Dojo is a generic term used mostly outside of software development area, Yui (as YUI — the other JavaScript toolkit in the chart) is an extremely popular Japanese singing celebrity, and only jQuery is a unique term.

So what does the graph show? Unfortunately nothing relevant.

Hmm, déjà vu. Yes, I already said it once. So allow me to quote myself (adding minor annotations, and correcting the link):

Regarding Google Trends. Out of 5 libraries in question [jquery, mootols, prototype, yui, and dojo] only two (jquery and mootools) have a fighting chance to be remotely relevant in the survey mostly due to their unique names. The rest use either a generic name (prototype and dojo) or alias to something else (yui => Yui, extremely popular Japanese singer/songwriter/actress). So if you want to explain sudden spikes try to Google for news stories of that time to see if ups and downs can be explained without superficial means.

Here is a link to another "scientific" study that proves without any doubt that jQuery is more popular than Marilyn Monroe, Elvis Presley, and even overtook Mickey Mouse recently: Google Trends: jquery, mootools, marilyn monroe, elvis presley, mickey mouse.

Now back to your question. The chart is wrong — nothing relevant happened in 2008. Everything was done in the second half of 2007:

  • 8/20/2007 — Dojo 0.9 is announced. This was the major break with the previous version: Dojo 0.4. Immediately your existing knowledge of Dojo was decimated by 70% or more.
  • 11/5/2007 — Dojo 1.0 is announced. This release made Dojo 0.4 psychologically ancient.

While technically the break was justified, psychologically it was a major blow to users (there are major Dojo 0.4 applications in production even now in 2010).

Some people started learning 0.9/1.0 API, some decided to migrate to something else — the cost of defecting was almost the same as the cost of learning new Dojo. The market at that time had all old players and a relative newcomer: jQuery. Majority of former Dojo users chose Dojo for a reason after sampling others. So most defectors went from Dojo to jQuery rather than to other toolkits, which was not available when they settled on Dojo in the beginning.

But it is not the only reason. Somehow people like to compare Dojo to jQuery. Let's compare their communities and social aspects.

jQuery was/is much better at marketing — just compare how many blog posts were produced by one John Resig vs. blog posts of all Dojo developers taken together, compare how many times John gave a talk at conferences vs. all Dojo talks taken together. The truth is Dojo is made by geeks who may be good at tech, but not good at marketing.

Social features are important too because they help grow the community. Let's take a look at contributing some random code to both toolkits. Dojo has a place for odd projects: DojoX. jQuery has a somewhat equivalent jQuery Plugins. Anybody can contribute to both, but for DojoX the barrier of entry is much higher because a submission will be reviewed, and can be rejected if it doesn't meet strict criteria. In general it takes a lot of time, while in jQuery land anybody can submit any code as a plugin at any time and with any license. It makes it easier to "belong" to the jQuery community.

In my personal opinion the DojoX process produces better technical results: almost any random DojoX project is of better quality than many jQuery plugins. Obviously there are very well supported high quality jQuery plugins, but it is not the point. The point is that the jQuery Plugins process is better at building a community than the DojoX process.

Targeted markets are different too. jQuery targets relatively simple things: add some JavaScript magic to regular web sites, do some "progressive enhancement", "use this snippet" kind of things, and so on. Dojo with its modular system, the build/packaging tools, and OO/AOP provisions appeals to the web app crowd. Guess what market has more people. One of implications is simple: Dojo is used extensively in IT, which doesn't bring any public recognition ⇒ even the "secondary buzz" from developers of such systems is smaller than it should be for Dojo.

Another bitter truth is that the Dojo Community dropped the ball back in 2007: documentation was in disarray, blog posts were rare and mostly about obscure technical stuff for advanced programmers, rather than tutorials "see how easy it is to do simple things". The forum was practically shut down by spammers. The 0.4/0.9 break hurt Dojo's search engine visibility — people looking for new stuff found mostly 0.4 stuff, which was of no use for them.

So there you have it: Q2 2008 is the wrong place in time to study. Look at H2 2007. And see why jQuery has more mass appeal than Dojo or any other "competitor".

But let's go to "now".

In my unscientific experience Dojo has a sharp inflow of new users — I see much more people using Dojo, and I know of much more projects started with Dojo. It started somewhere in the middle of 2009. The reasons for that as I see it:

  1. Many problems mentioned above are fixed or being fixed.

  2. The #dojo channel on freenode is extremely vibrant, and other web-based resources are more relevant than ever.

  3. Being a mostly American phenomenon Dojo finally started to go international.

Special care is taken now to ensure that users of older Dojo versions are not left in the cold. For example, reacting to the last security advisory, all published versions of Dojo were updated: from 0.4 to the current 1.4. I am sure that the 0.4/0.9 split is not going to be repeated again, when Dojo goes to 2.0 in the future: evolution rather than revolution is more socially acceptable.

I believe that Dojo technocrats finally understood social implications of their technical decisions, changes were made, the community is alive and well.

Is Dojo going to "beat" jQuery at numbers any time soon? While technically Dojo looks like a clean superset of jQuery and then some, and both can be used in the same "progressive enhancements" market, Dojo is unlikely to upset jQuery. See above about targeting different markets, and remember that fighting other toolkits is not even a goal for geeks, who work on Dojo, — they are focused on making Dojo even more useful in a broad spectrum of scenarios, and on building their own community. Ultimately it is up to users to make a decision on what they want based on their needs.

Update: I hope nobody will make a conclusion that "Dojo dropped the ball and jQuery just happened to be here". Nothing like that. jQuery had a lot going for it especially on the conceptual level. We love jQuery and wish it the best. It is the benchmark to compare our efforts in building other toolkits.

这篇关于2008年Dojo发生了什么事?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆