Communicating Between Widgets in a Rich Internet Application

As a part of our October Free Dojo Support initiative, we received the following question from Manu Subramanian about how to manage communication between distinct components in a rich internet application:

We are building an application with dojo. It does have many inter connected interface parts. For example it does have a top bar with drop down buttons. The menu items opens tabs in a tab controller. In general we need to call functions from different widgets or there are many interconnections between widgets. Is it good to create a widget containing the small widgets to handle these interconnections with ‘widgetsInTemplate’ property set. Is there any change coming in near future in this regard. Especially related to ‘_TemplatedMixin’. Or is there any better architecture for this?

Excellent question, Manu! This line of inquiry often arises when constructing an application with distinct UI regions which need to intercommunicate. While there is not necessarily One Right Answer, let’s explore some promising options.

Continue reading

Introducing the Next Grid: dgrid

We have recently reached the alpha milestone in the development of dgrid, a new component for creating lists and grids. Built on the latest Dojo technology, dgrid is designed to be lightweight, fast, mobile-ready, and easy-to-use. This SitePen-led project brings the best innovations and techniques from extensive experience on the DataGrid, to create a brand new simple and fast architecture. Let’s explore some of the examples included in the project to demonstrate how to use it.

Continue reading

SitePen at BlackBerry DevCon Americas 2011

Featured as one of three sessions to see on Monday’s web track at the BlackBerry DevCon Americas conference in San Francisco this week, SitePen’s CEO Dylan Schiemann presented Make Beautiful Apps Faster Using the Dojo Mobile Toolkit.  His session talked about creating superior experiences using standard open web technologies and presented an overview of the Dojo Toolkit, HTML5 and mobile-specific features and new Dojo APIs that fundamentally change web application development for the better.

Missed his presentation?  View it here.

Find out how SitePen can help you to Make Beautiful Apps Faster Using the Dojo Mobile Toolkit.  Contact us today!

SitePen. Dojo Skills. Seattle.

Do you want to learn in depth details to create web applications with Dojo and Dijit?

Join us in Seattle on November 16th for our 2-day Dojo Skills workshop. Dojo Skills emphasizes some of the unique advantages Dojo offers in cross-browser charts and user interface widgets through a powerful development model.

By registering and attending our Dojo Skills workshop, not only will you be on your way to becoming a Dojo Master, you will also receive a FREE SitePen Mini-Boost Support plan – a $300 value (when you register by October 25th)!

Can’t make it to Seattle? Check out our full Dojo workshop schedule through June 2012.

Want to experience our extraordinary SitePen Dojo Support for FREE?  Enter our giveaway.

What the heck is a Mini-Boost Support Plan?

SitePen is on call to rescue you from between that rock and a hard place! Receive invaluable access to our experts and a plethora of web development knowledge including Ajax and the Dojo Toolkit.  Your plan will cover 1 week and 1 hour of support time with a support response time of 1 business day.  The following browsers are supported: Chrome 5+, Firefox 3.5+, IE 6, 7, 8, and Safari 4+.  All support will be handled through our web-based support system. Yes.  This can be yours when you sign up for our Seattle workshop by October 25th.

Creating a widget with full dojox.form.manager support

As a part of our Free Dojo Support initiative, we received the following question from Pong about how to add dojox.form.manager support to a custom widget:

The Question

“I would like to create a custom form widget which is a combination of dijit.form.Select and a dijit.form.ValidationTextBox.

Since this is not a standard dijit.form elements so it won’t benefit from the dojox.form.manager function like disable(), setFormValues(), observer etc..

So how can I create a custom form widget with fully support of dojox.form.manager”

Continue reading

SitePen Represents at DojoConf 2011

SitePen was in full effect at DojoConf 2011.  Not only did we lead up to the conference with our amazing tutorials, we also impressed with our intense knowledge of all things Dojo.  In case you missed it, or if you just want to see them again, here are our presentations.

Dojo Conf 2011 Keynote- Dylan Schiemann

dgrid: Next Generation Dojo Grid- Kris Zyp

The Power of Promises- Brian Arnold

Better late than never?  We think so.

Dojo. Dontcha know? SitePen. Dojo. Minnesota.

Join us for our introductory jUMP into Dojo (1 day) or our Dojo Skills (2 days) workshop – or both!- on November 1 in Minneapolis, Minnesota.  Oh, and when you register by October 14th, you will receive a FREE SitePen Mini-Boost Support plan – a $300 value!

jUMP into Dojo is the best starting point for any developer wanting to learn about Dojo, Ajax and Rich Internet Application development.  Attendees will receive a rapid introduction to the capabilities of Dojo as well as the experience in applying them to solve real-world problems.

If you are a developer who wants to learn in depth details to create web applications with Dojo and Dijit, this is the perfect workshop for you.  Dojo Skills emphasizes some of the unique advantages Dojo offers in cross-browser charts and user interface widgets through a powerful development model.

What the heck is a Mini-Boost Support Plan?
SitePen is on call to rescue you from between that rock and a hard place! Receive invaluable access to our experts and a plethora of web development knowledge including Ajax and the Dojo Toolkit.  Your plan will cover 1 week and 1 hour of support time with a support response time of 1 business day.  The following browsers are supported: Chrome 5+, Firefox 3.5+, IE 6, 7, 8, and Safari 4+.  All support will be handled through our web-based support system. Yes.  This can be yours when you sign up for our Minnesota workshops by October 14th.

FREE SitePen Support- October 2011

Yep. You read that right.  We said free.  Not free as in you get a free keychain with purchase. Actually free- no purchase required.  All you have to do is submit your question as a comment to our Facebook Note on this same topic.  From all questions submitted, our world class SitePen support team will choose one question to answer at the end of the month.

Your question can relate to any of the following:

  • Web Development Advice
  • Architectural Guidance
  • Questions about JavaScript, Dojo Toolkit, HTML, CSS & Browsers
  • Examples and guidance on how to use a specific piece of Dojo functionality
  • Dojo bug fixes (where documented functionality is broken)

What you have to do:

  1. “Like” us on Facebook
  2. Post a detailed question or support request to the FREE SitePen Support note.

SitePen will choose the question to answer by the last day of the month.  (Don’t worry. If you’re question isn’t chosen this month, you can submit it again next month!)

If your question is chosen, we’ll post our response to the SitePen blog for your learning pleasure (and for the Dojo community too)!

Can’t wait for an answer?  Sign up for a SitePen Support plan and have ALL of your questions answered on a daily basis by our expert SitePen Support engineers.

Continue reading

dojox.app: A single-Page Application Framework

dojox.app is a small application framework providing a set of classes to manage the lifecycle and behavior of a single page application hosted on mobile or desktop platforms. The main class, Application, is responsible for managing the lifecycle of the application and is designed to be easily modified with additional custom behaviors. An Application instance contains Scene objects and View objects which provide the visible user interface. The available views, scenes, module dependencies, and other information about the application are all passed into the Application class using a JSON configuration file (by convention).

Continue reading

put-selector: CSS Selector-Based DOM Element Creation and Manipulation

This entry is part 4 of 4 in the series Dojo Foundation Packages

The put-selector package provides a small yet powerful function for creating and manipulating the DOM through brief, familiar CSS selector syntax. CSS selectors are well understood by most front-end developers, used both for CSS and element selection through query engines. This function leverages this syntax for creating and updating elements quickly and efficiently. For example, to use the provided put() function to create a div with a class name of “foo” and append it to a parent element, we could write:

put(parent, "div.foo");

We can also update existing elements, here we add the class “updated” to an element:

put(element, ".updated");

Continue reading