Posts in the ‘Training’ Category

Learning Dojo

Friday, March 5th, 2010

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.

(more…)

Stocker: Advanced Dojo Made Easy

Wednesday, April 1st, 2009

SitePen is excited to announce Stocker, which demonstrates some of the more advanced capabilities of Dojo, including the newly released DataChart, the DataGrid, Data Store, Comet, Persevere, and BorderContainer. SitePen is also offering a one-day workshop where you will learn how to create Stocker yourself, but I’m here to give you a sneak peak of what Stocker is and how it works.

Stocker uses these technologies to emulate a stock monitoring application. We’re using made up data, but that’s actually more interesting. The Persevere server generates new stock items at certain intervals, and then pushes them to the browser with Comet. Then the Data Store updates its items and triggers an onSet notification. The DataGrid and DataChart are both connected to the same store, and are listening to that event. They then update their displays and show the stock items and their latest data.

Stocker

(more…)

Munich Dojo Workshop

Friday, March 20th, 2009

SitePen and uxebu are pleased to announce their first joint Dojo workshop in Munich, Germany. Come join some of the co-creators of Dojo on the 7th and 8th of May, 2009 to learn how to build great web sites and applications with Dojo. This new workshop will be an engaging experience for anyone wanting to learn more about Dojo!

(more…)

Forget Everything You Know About Functions: JavaScript Subroutines

Wednesday, February 11th, 2009

Performing frequent training courses has given SitePen a chance to learn new ways to improve our training approach. Some concepts in JavaScript can be trickier than others and as we interact with the classes, we’re able to develop fun explanations for these tricky concepts. I’d like to share one of the explanations I developed at a recent training course.

A common phrase that results from these training sessions is “I didn’t know JavaScript could do that.” The first time we hear it is usually after we’ve covered how to work with functions in JavaScript, when we start showing how JavaScript allows us to use functions (in an approach termed functional programming). We try to conclude each part of the course with code examples that incorporate everything from the section we’ve just covered. At the end of our section on functional programming, we have the following example:

(more…)

Dojo Sensei Reader, a Training Application

Tuesday, October 14th, 2008

When conducting Dojo training courses, we’ve found it to be very valuable to go beyond simple code snippets to demonstrate APIs, patterns, and other key concepts. Snippets and demos are useful, but they often lack a very important quality: context. Nothing beats having a full application in front of you—with code available to read and modify as you learn the ropes—so we built the Dojo Sensei Reader, a rich, powerful RSS reader realized as a single-page web application.

(more…)

A Beginner’s Guide to Dojo Charting, Part 2 of 2

Monday, June 16th, 2008

Part 1 of this guide on Dojo charting covered a basic charting example and the options available in defining our chart type. Today we will examine the options for defining our axes and data sets.

(more…)

Dojo Storage and Dojo Bling

Friday, March 14th, 2008

There was a lot of activity in the Dojo Toolkit community this week, including an update for Dojo Storage plus articles on productivity and writing DRYer code.

(more…)

Dojo Workshop Updates and the Grails eXchange!

Wednesday, September 26th, 2007

With the recent launch of Dojo 0.9 and the planned launch of 1.0 in late October, the SitePen Dojo training courses have been revamped and now focus exclusively on the new code base.

SitePen’s partnership with UK-based Skills Matter is allowing us to offer our 3-day Dojo training workshop overseas, several times, in the upcoming months.

  • London, Oct. 15-17, 2007
  • London, Nov 14-16, 2007
  • London, July 9-11, 2007
  • Denmark, July 15-17, 2008

On another note, and speaking of Skills Matter, the Grails eXchange is taking place October 17-19 in London, and I will be giving a brief talk on Dojo there as well. Skills Matter puts on a number of great training sessions and evening seminars, and we have high expectations for their first major conference. The itinerary includes a number of excellent sessions on Ajax and Comet techniques to be presented by Joe Walker, Jonas Jacobi, Scott Davis, Dave Crane, and Sven Haiges. As an event sponsor, SitePen is pleased to offer a £100 discount to all of our friends and clients. Please contact us for the promotion code and then visit Grails eXchange to register!

Softening polylines with DojoX Graphics

Monday, July 16th, 2007

One of the more exciting projects coming out of the Dojo Toolkit is DojoX Graphics–a cross-browser API for creating vector graphics. Over the next few months, I’ll be writing a series of tutorials showing you how you can use DojoX Graphics to accomplish a number of tasks–starting with showing you how to soften a polyline like this:

Straight polyline…to this…Eventual spline representation…using cubic bezier curve segments.

(more…)

Upcoming events

Saturday, May 19th, 2007

We’re speaking at and/or attending a number of upcoming events and conferences. We hope to see you there!

  • May 20-23: Alex will be attending the IEEE Privacy and Security Symposium in Oakland, CA. Prior to our Dojo days, Alex spent most of his time thinking about security.
  • May 23-25: I’ll be conducting a 3-day Dojo Training Course in London. The course will focus on Dojo 0.4, but will explain many of the changes happening in 0.9 as we work through the relevant topics.
  • May 24: While in London for the training course, I’ll lead an evening discussion about Dojo 0.9.
  • May 31: A few of us from the SitePen team will be attending the Google Developer Day in Mountain View to hang out and learn more about the latest Google Developer APIs.
  • (more…)