14 Comments
- crown, on 10/12/2007, -0/+0What exactly does Dojo have to do with AJAX? I don't see it. All I see is 1mb+(!!) of JavaScript libraries. DHTML, yes. AJAX, no.
- fartninja, on 10/12/2007, -0/+0Uh, it is a Javascript framework/toolkit/library. The AJAX is only a part of it, using the XMLHTTPRequest methods. For me, that's the primary way I use it. But, I also like the standard library they provide for app development. Sure, I could just do everything by myself in JS, but that's what I like about Dojo, they've taken a lot of the messing around out of it and given us a standard library to work from. You absolutely do not need Dojo for AJAX, but it is a part of it.
- fartninja, on 10/12/2007, -0/+0KICK ASS! DOJO ROCKS! Thanks to all the devs who make this toolkit possible!
- abhibeckert, on 10/12/2007, -0/+090 diggs and it's down. :(
- dude3609, on 10/12/2007, -0/+0This is awesome.
http://archive.dojotoolkit.org/nightly/tests
I like this one,
http://archive.dojotoolkit.org/nightly/tests/fx/test_fx.html
But its not really ajax stuff.. Still cool. :) - overeasy, on 10/12/2007, -0/+0For a taste of the glory enabled by Dojo, see TurboDbAdmin...
http://www.turboajax.com/turbodbadmin.html
http://www.digg.com/programming/AJAX_PHPMyAdmin_Database_Manager_Alternative - nthitz, on 10/12/2007, -0/+0Don't get me wrong, its an amazing library. But its huge. As someone pointed out earlier 1 MB for all the bells and whistels. For anyone on dialup, that can take minutes! And honestly, I would be afraid about not uploading parts of the library to my server, for fear that it would break things. Although, come to think of it, javascript includes are usually cached according to most default settings. However some people, like myself, choose not to cache em.
- dylans, on 10/12/2007, -0/+0Nthitz, Dojo has a package system (details at http://dojo.jot.com/DojoPackageSystem )... basically in production, "The packaging system allows you to list a single [compressed] script include file, which will then find and fetch packages as they are needed for your application, from the Dojo source tree."
Yes, there are smaller toolkits... we'll be eventually building a linker to make packaging even more finely grained. The size of package files tends to range from 30K - 400K. The web application I work on for example is currently ~400K (200K for Dojo and 200K) of custom widgets and code. When gzipped this is about 75K. For what we're doing, this isn't bad. - spurton, on 10/12/2007, -0/+0There are some other cool Javascript and Ajax libraries here and here
- spurton, on 10/12/2007, -0/+0Doh! http://script.aculo.us/ and http://prototype.conio.net/ :)
- fartninja, on 10/12/2007, -0/+0Nthitz,
My Dojo.js file is only 84k. (version 0.1) You only need all the files if you want all the features. For example, I dont realy use the widgets and events, and the standard Ajax stuff is built in the main dojo.js file (ajax version I use).
Maybe someone who knows more about it than I can answer this: Isn't it true that when you want a widget you call that package and dojo will only load that set of data? So, you don't actually cause a 1MB download? - headzoo, on 10/12/2007, -0/+0This could be just what I need for a current project. As others have mentioned, this thing is huge, but the docs that I glanced through gave me the impression that you can choose not to load the parts you're not going to be using. So maybe it's not that bad. And the turboajax demo runs pretty quickly, and it's using DoJo.
- fridge2k, on 10/12/2007, -0/+0AJAXIMIFIED!
- grayrest, on 10/12/2007, -1/+0beat me by 5 seconds


What is Digg?