Dojo

How is Dojo 2+ trending?


#1

Is it still too early to tell? Does 2+ have buy-ins from companies that are too big to let 2+ fail? Are there any metrics available?


#2

It seems to be a Site Pen project only. Dojo Toolkit 1 was strongly backed by quite a big development team from IBM which also attracted many other programmers. So to speak, Dojo Toolkit 1 was (inoffically?) IBM’s JavaScript framework - like YUI was for Yahoo. But as far as I can see, IBM has completely dropped out of the project.


#3

Thanks for the info. It sounds right.

Can’t say that I am surprised. Dojo has always been ahead of its time. I wrote an app in 2008 that is still running today. I didn’t appreciate the value of Dojo then and the owners of the app still don’t. Since I have the freedom to do so, I am going to invest further in 2+ just out of trust in the folks at SitePen. I think it is a brilliant move that they have built a company around support of all forms of JS frameworks. This allows them to see in depth what is out there and provide a model to keep 2+ alive until the rest of the world catches up.

Dojo 2+ has been difficult to assimilate, but it doesn’t make sense that for decades we have remained basically the same distance away from the machine. Coding obviously must continue to abstract the target. Seems like it has been overdue.

One question that I have is whether or not 2+ is actually a React clone or is there much more to the picture than reactivity?


#4

This answers some of my questions about whether or not Dojo 2+ is a React clone:


#5

The given article by Site Pen’s Kitson Kelly (who is no longer with Site Pen) does not mention a third strategy: The strategy of a “frameless” framework for everybody.

If you have a look at the original Dojo 2 release candidate by the IBM team, you can clearly see this strategy and its benefits: http:// ibm-js. github. io/ deliteful/ .

It is based on well maintained third party libraries which are too popular to fail: DCL.js, Handlebars.JS, Require.JS, jQuery and so on.

It adds in the missing pieces to make it a full blown UI library based on Dojo 1, which has both, a profund i18n and a11y support. It carefully adds new features like the possibility to invalidate a widget to improve DOM rendering and to prevent inefficient frequent updates. Furhermore, it is flexible, since you can easily instantiate widgets either programmatically (the React way) or by HTML markup as web components (which I prefer). It also has a CLI now. Someone used to Dojo 1 should therefore be able to programm easily with Delightful.JS. Site Pen’s Dojo 2 is a completely different product. It just uses the established brand name “Dojo” in my eyes - and I’m quite annoyed about that. I’m really angry especially about Dylan not mentioning the unreleased real Dojo 2 candidate by IBM and the overall project situation und changes behind the scenes.

The Site Pen team did an excellent job in the past (see e. g. dgrid and dstore). And no doubt: The team is highly competent. But you have to bear in mind, that behind the scenes, the Dojo team has changed and the fast majority of developpers has gone, developpers maybe, that made Dojo ahead of its time, resisting trends and main stream buzz-wording like VDOM, state containers, injectors.

Dylan thinks, Dojo has to look up to React and thus he wants to make Dojo React-like https://www.youtube.com/watch?v=lHRuIA7cyU0 . I don’t think so. Bill Keese has done an excellent job on his rewrite of Dojo 1 called Delightful.JS. We don’t really need a virtual DOM but programmers who understand what they do with the DOM and how they do it. By reinventing the wheel, Dojo 2+ is a complete rewrite of a completely new UI widget system which (yet) misses widgets and features: Dialogs e.g. are not draggable by mouse and so on. In Dojo 1, this is not a problem. Also in the rewrite of Dojo 1, Delightful.JS .

But in the end, it is maybe a matter of taste which framework you choose. I like the old Dojo-1 / Delightful.JS-style more, and keeping this up would have been the real unique selling proposition in the market if you compare the frameworks. Besides that, Dojo 1 / Delightful.JS main advantages is its sophisticated, proven UI library with full i18n, a11y support, which has matured over the years.


#6

You could say that the activity on this forum is a metric and it’s not particularly promising - seems to be very little action here.


#7

Sorry, most of the activity is on live chat (Discord) which has a few hundred members asking questions pretty actively.

We don’t track usage strictly, but usage and interest has picked up with the metrics we have (number of people asking questions, pull requests, etc.). In terms of enterprise adoption, we know of some companies that have started adopting modern Dojo and those enterprises seem quite happy with it and with the responsiveness in working through the issues they report.

Paul, I ask that you kindly stop adding drama about Dojo and SitePen that simply doesn’t exist. The team we have working on Dojo today is incredibly strong and you’re ****** on their work open source work which is unnecessary. If you look at the history of frameworks, pretty much every major framework has turnover as people get burnt out or decide they want to work on something different.

Unfortunately no one is going to use Delite/Deliteful because it is not what the world wants today, no matter how many times you mention it. Yes, we still have a fair amount of work to do on the modern Dojo widget system (and we do have Dojo 1 - modern Dojo interop for when our widgets are not there yet), but maybe file issues (or even pull requests) to help improve it rather than dismiss the excellent work being done.

In terms of Dojo leading the pack, it doesn’t really matter, but I will say that Dojo was the first framework to announce and start its rewrite in TS (Angular, Vue, and others have followed), and many of the interesting features we’ve added were also done first (e.g. type safety for class auto-completion, conditional polyfilling, build time rendering, recent advancements in testing)… there’s a lot of great work going on and a lot more great stuff planned for the future, and none of this is about being a React clone.

Regarding Dojo vs. React, React drew much inspiration from Dojo, and modern Dojo does draw inspiration from React and others. It would be foolish for us to ignore the greater JavaScript ecosystem and do everything from scratch without looking at how others solve problems. Dojo strives to streamline and simplify the process of building modern apps in an ecosystem where things have become increasingly complex.


#8

Dylan says, that he does not track usage strictly, but usage and interest has picked up in his eyes with the metrics he has(number of people asking questions, pull requests, etc.).

As of 24/02/2019, the status of pending pull requests on github (and the mentioned programmer’s affilitation on github / google) shows for me as follows:

dojo/framework:
12 pending pull requests: 4 by agubler (SitePen), 2 matt-gadd (SitePen), 1 nicknisi (SitePen), 2 bryanforbes (SitePen), 1 maier49 (probably SitePen), 1 rorticus (probably SitePen), 1 dasa

dojo/meta:
2 pending pull requests: 1 by dylan (SitePen), 1 matt-gadd (SitePen)

dojo/widgets:
6 pending pull requests: 2 by tomdye (SitePen), 1 nicknisi (SitePen), 1 aciccarello (SitePen), 1 maier49 (probably SitePen), 1 schontz

Or better check out for yourself the contributors lists / history of contributions on github for the repsective repositories and check the programmer’s affiliation.

@dylan: I appreciate the work for open source and don’t ****** on the peoples works, but I get quite annoyed about you and your way you communicate with the community, especially about the things you don’t communicate. I perceive this as quite dishonest and this really triggers.

Delitful is a nice rewrite of the of Dojo 1 framework and is much closer to Vue.js, a programming style, I prefer more. Deliteful is good enough for most projects - without any learning curve for Dojo 1 programmers.


#9

I was not aware that it is a crime for a company to actively contribute to open source to push things forward. Yes, most of the active work on modern Dojo has been done by SitePen and I am not trying to hide that, just as most of the work done on React in its early days was done by Facebook, much of the work on Angular in its early days was done by Google. After you reach a point of stability and adoption grows, then other people start to engage.

I would think it would be a positive that SitePen, a relatively tiny company, is willing to invest so much time and resources into Dojo rather than something to attack me about. The Deliteful project that you love is not getting much support at all from the very large company that started it. It’s an absolute shame that Deliteful did not get the support it deserves, but that is not something I can change.