Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Anyone use Dojo before?

I have a client who wants a site like: http://www.hoerbiger.com/ Problem is they use Dojo/Dijit and I'm not at all familiar with it.

Is it easy to pick up? Or should I just build the functionality from scratch using HTML5?

3 Answers

Jim Hoskins
STAFF
Jim Hoskins
Treehouse Guest Teacher

I've used dojo before. In fact the first version of our code challenges application was built on dojo. It's since been rebuilt.

I found it to be quite good. It can be used to sprinkle dynamic functionality here or there, much like jQuery, but it's power comes from building out complicated interfaces programmatically. There is a learning curve, but once you are familiar with the widget/component pattern, each thing you want to build follows a pretty similar process.

I was surprised when building up a fairly complex interface with tabs and dynamic editors, at the end when I finally loaded it up in IE 8, it worked, and looked pretty much identical. The only issues were outside of the dojo code itself, I was impressed at its portability.

It will take a little while to get up and running with dojo, for sure, but it's quality software, and is very capable. If you have a complicated app with a lot of moving parts, it may well be worth the time to learn. If you are doing very basic stuff that can be handled by a tool you may already know, like jQuery, you may be better served to stick with what you know.

I have nooo idea how Dojo works, but can't see any reason why you can't build that as a static website (XHTML/HTML5 + CSS2/3 + Javascript).

Nick Pettit
STAFF
Nick Pettit
Treehouse Teacher

Hey Kurt,

Andrew and Jim are pretty awesome at JavaScript. I've emailed them about this thread so that they can help. :)