developer.com
Search EarthWeb
CodeGuru | Gamelan | Jars | Wireless | Discussions
Navigate developer.com
Architecture & Design  
Database  
Java
Languages & Tools
Microsoft & .NET
Open Source  
Project Management  
Security  
Techniques  
Voice  
Web Services  
Wireless/Mobile
XML  
New
 
Technology Jobs  

   Developer.com Webcasts:
  The Impact of Coding Standards and Code Reviews

  Project Management for the Developer

  Defining Your Own Software Development Methodology

  more Webcasts...




Vote for the Developer.com Product of the Year Winners!




Developer Jobs

Be a Commerce Partner














 


Related Article -
Make Your Site Script.aculo.us
The Twelve Days of AJAX
Create a Chronological Photo Album with Java
Evolution of the J2EE Business Delegate Design Pattern
Implementing the Intercepting Filter Pattern in Your Enterprise Java Applications
Build and Command Objects—Using Design Patterns
Spring: the Eclectic Framework
Developer News -
Are We Ready for the Cloud?    November 7, 2008
Windows 7 Drivers to Get a Makeover    November 6, 2008
Sun Serves Up Some Java EE 6 in GlassFish    November 6, 2008
Devs Dish Some iPhone App Tips    November 5, 2008
Free Tech Newsletter -

The Web 2.0 Movement Is Here. But What Does It Mean to You?
By Vlad Kofman

Go to page: Prev  1  2  

Dojo Toolkit

Dojo has a lot of similarities with Script.aculo.us in the way it is installed and used, but that is about all. It has a very different collection of pre-packaged widgets and different way to use them. The framework has very good intentions and an ambitious launch, but poor execution. As of the time of this writing, its version is 0.4.3, and it is not yet ready for production use. However, it does try to deliver the most useful features, widgets, and Web 2.0 styles to the web development. For example, it comes with a large library of controls, such as in-line editing, fisheye, exploding tooltips, dynamic trees, sortable tables, and so forth, but most of them are poorly documented, and require a lot of looking thorough a lot of code.

To set up Dojo, you will need to extract the archive into some directory on the web server where you have JavaScript, and import the reference into your pages. For example:

<script type="text/javascript" src="js/dojo/dojo.js"></script>
<script>
   dojo.require("dojo.widget.Editor");
</script>
Note: The Editor widget is now deprecated.

Here is the Rich Text Editor screen:

The rich text editor, for instance, seems to have been upgraded to version 2 somewhere between Dojo 0.4.1 and 0.4.3, but most of the examples are for the original editor widget, and even the new one is rather buggy. On a positive note, the editor widget is the most ambitions, in terms of features and functionality, among any other AJAX framework. When all of the bugs are fixed, it can be a great addition to any site.

Most of the widgets are simply called with a CSS type or a custom type, such as this:

<textarea dojoType="Editor"
   items="bold;italic;underline;strikethrough;|;createLink;">
</textarea>

Or:

<div dojoType="Editor" items="textGroup">
   some content
</div>

Or

<div class="dojo-Editor">
   some content
</div>

The fisheye widget is a lot of fun to use. It is similar to the Apple OS interface.

Some of the demos on the site have bugs, and may require some tinkering to get them to work correctly on you site.

Here are some more widgets included with Dojo: the tree and the buttons.

There is a lot of documentation online, some of it old or difficult to navigate, but overall if someone wants to implement compelling Web 2.0 features on the site, using this free toolkit, and is not discouraged by fixing some bugs, Dojo may be a good fit.

Conclusion

In this article, I have talked about Web 2.0, what it means for developers, for users, and for new companies. I have also described fundamental definitions of Web 2.0 and two of the frameworks for the "Web 2.0 style" development. It will be very interesting to see the evolution of the online social platforms, and the new uses for AJAX and Web 2.0 frameworks. For instance, the creators of Wikipedia are working on the social search, where web users will rate the results. And maybe there is a Web 3.0 on the horizon, as well.

References

About the Author

Vlad Kofman is working on enterprise-scale projects for major Wall Street firms. He has also worked on defense contracts for the U.S. government. His main interests are object-oriented programming methodologies, UI, and design patterns.

Go to page: Prev  1  2  


Tools:
Add www.developer.com to your favorites
Add www.developer.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed


Techniques Archives






internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers