Generating and Viewing Custom Dojo API Documentation

By on January 18, 2013 12:30 am

When developing a JavaScript framework that others will consume, it’s hugely beneficial to provide clean, organized API documentation to accompany your codebase. With the August release of Dojo 1.8, we saw a brand new, extensible documentation parser, which is used to generate output for Dojo’s API viewer. Generating documentation for any project and serving up a custom API viewer is easy, and this post will show you exactly how to do it.

Dojo 1.8 Documentation Highlights

By on August 16, 2012 9:36 am

With Wednesday’s release of Dojo 1.8, there are many exciting improvements to check out!

Our top goal for this release was to significantly improve the quality of Dojo’s documentation. SitePen proudly contributed in the following areas:

  • Helped make many of the more than 500 fixes to our documentation based on community feedback (thank you!)
  • Helped improve the content found in the reference guide
  • Developed a brand new, extensible JavaScript-based documentation parser, which we use to generate output for the API viewer
  • Updated 70% of the existing Dojo tutorials to be accurate for Dojo 1.8. The remainder will be updated in the next few weeks.
  • Started working on 10 new tutorials, including an updated Ajax tutorial covering the new dojo/request API for Ajax requests.

Thanks for your ongoing suggestions and support. We look forward to your feedback on this release.

From workshops to support to full-scale development, SitePen is the leading industry expert in all things Dojo. Contact us today to discover the best way SitePen can help you upgrade to Dojo 1.8.

Dojo Tutorial: Animations

By on March 29, 2011 8:52 am

Our ongoing series of Dojo tutorials continues with Animations.

More than just simple fades

In previous tutorials we’ve shown how to create simple fades using dojo.fadeIn and dojo.fadeOut, but there’s a lot more we can do that just animate the opacity of an element. With Dojo you can actually animate just about every CSS property of an element. In this tutorial we’ll show you how to animate various properties, as well as add easing for a more natural motion. We will also demonstrate how dojo.fx.chain and dojo.fx.combine work with these more generalized animations, making for some really slick looking animations.

Check it out!

Sound interesting? Check out the tutorial.

Want to see a specific Tutorial? Want to Learn More?

Is there something you’d like to learn how to do with Dojo? Always wanted to know how something in Dojo works? Leave us a message in the blog comments and we’ll see about getting a tutorial created for you. Or sign-up for an upcoming SitePen Dojo Workshop to get a fully immersive hands-on experience with Dojo.

Learning Dojo 1.4

By on March 5, 2010 3:05 am
Notice: There is a newer version of this post available

There is so much existing information about the Dojo Toolkit that it can be challenging to know where to begin. The following is a Dojo curriculum (I use this term loosely) highlighting community resources and a logical path for self-learning the foundational parts of Dojo.  If you understand the purpose of a variable and function, or you are new to Dojo, then this is for you.

Dojo Search with Yahoo BOSS

By on February 20, 2009 12:02 am

Header

The new Dojo Search is now live. I worked on creating this with the goal of showing how much information there is out there about the Dojo Toolkit and supplying a way to aggregate that information in a central location. Now you can search all of Dojo’s Resources instead of dojotoolkit.org alone. Most of the time if you have a question, it’s already been asked and answered!

The Dojo community is large and there is a lot of great information spread out across the vastness of the web. The Dojo Toolkit has been around for a while and has undergone numerous additions and improvements since its inception. Unfortunately, some of the documentation and valuable data needed by users and enthusiasts is decentralized. Dojo Search is designed to help alleviate this problem.

Dojo Drag and Drop, Part 1: dojo.dnd

By on June 10, 2008 12:02 am
NOTE: This post contains information pertaining to an older version of Dojo.
Read the updated version now!

Most anyone who’s looked at the feature list knows that one of Dojo’s core features is a drag and drop framework. What’s not immediately obvious is that Dojo actually has two drag and drop APIs. The first, dojo.dnd, is designed to manage the process of dragging items between two or more containers, including multiple selection, item acceptance filtering on drop targets, and other behavioral tweaks. The second API, dojo.dnd.move, is a bit lower-level in scope; it’s designed to manage the process of moving single objects around, without the concept of attaching items to containers. Both of these are very useful features to have at your disposal. In this article, we’ll cover dojo.dnd.

Supercharge Your MAMP Environment

By on May 16, 2008 12:13 am

MAMP is an easy way to get a basic MAMP (Mac, Apache, MySQL, PHP) environment running. Each package in the stack is configured such that it’s easy to drop the MAMP directory into /Applications and serve up a database-backed PHP site.

New Dojo Offline Release

By on July 6, 2007 9:55 am

SitePen and Dojo are proud to announce a new beta release of Dojo Offline. This release has a huge amount of exciting new functionality, including a full port to Google Gears, a port from Dojo 0.4 to 0.9, and more.