Blog

Jan 18

Generating and Viewing Custom Dojo API Documentation

By Paul Bouchon 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.

Aug 16

Dojo 1.8 Documentation Highlights

By Dylan Schiemann 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.

Mar 29

Dojo Tutorial: Animations

By Torrey Rice on March 29, 2011 8:52 am
This entry is part 10 of 13 in the series Dojo Tutorials

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.

Mar 5

Learning Dojo 1.4

By Cody Lindley 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.

Feb 20

Dojo Search with Yahoo BOSS

By Mike Wilcox 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.

Jun 10

Dojo Drag and Drop, Part 1: dojo.dnd

By Revin Guillen 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.

Feb 26

Screencast of Dojo Offline + Demo + Release Download

By Brad Neuberg on February 26, 2007 8:37 am

[Note: This blog post is out of date. For up to date information on Dojo Offline please see the official web page.]

Hi folks; lots of news on the Dojo Offline front.First, we have put up a screencast that shows a demo of Dojo Offline named Moxie. Moxie is an example application bundled with Dojo Offline that shows how to use the Dojo Offline framework. It is a web-based word processor that features local storage and offline access. Moxie is now finished for Dojo Offline.

Thumbnail of beginning of Dojo Offline screencast for 02-20-2007

Watch the Dojo Offline Screencast

Next, we’ve finished the JavaScript layer of Dojo Offline. Dojo Offline consists of two major pieces: a JavaScript API that is included with a web application, and which helps with syncing, on/offline status notification, caching of data and resources, etc.; and a local small web proxy download that is cross-platform and cross-browser and which is web application independent. The JavaScript API is now finished, and can actually be used even though we have not finished the local web proxy yet. This is done by having the JavaScript layer be able to use the browser’s native cache if no offline cache is available. This means you can start playing with Dojo Offline right now, with the download link included in this blog post below. Note that using the browser cache instead of the web proxy is only suitable for prototyping and should not be deployed on production applications; it will work with varying degrees of success on Internet Explorer and Firefox, but not consistently on Safari. Higher levels of reliability will only come when we deliver the local web proxy component.