Hacker News new | ask | show | jobs
by ColdAsIce 5308 days ago
Most apps I worked on required only querying and events. Animations can be done with css3, but if we wherent working with html5 then simple fadein/out animations are also required.

Specifically dojo has this useless dijit widget collection. For any serious web app I doubt you would find dijit suitable to exactly your needs. Which means you have to develop your own using the query/animation/events api.

1 comments

"Most apps I worked on required only querying and events."

Well, that's not really quite the background to call the dojo widgets useless. They are a really useful set of _programmable_ widgets.

Aye, they _might_ appear to be useless to developers used to cut & paste, but if you delve a little deeper you will discover a world of useful UI widgets that can fulfill most of your needs for rich web applications.

If your needs aren't fulfilled with the provided widgets you can always make your own or modify the existing ones with the tools provided, that I must say are great at it.

Because there is really no need for the widgets dojo provides. In every project where a widget kind of thing was required - the requirement also included it to be developed in house, exactly suited to our needs. If we would have chosen dojo widgets we would have had to alter them heavily to do what we want, the way we want it, the way it fits with our codebase. We did that once though, and learned not do try that again.

How is using dojo widgets not "cut and paste"? Thats exactly what cut and paste is, all the jQuery stuff we develop is our own, not cut and pasted. If we really wanted to use dojo widgets, some in the team would have to dig deep into dijit, which makes the whole thing useless since they might as well develop their own "widgets" using jquery in less time, and less maintenence, and less dependency on yet another abstraction/library.