Eleven Trends for 2012: The Year of Dojo

Most 2012 trend lists include 12 trends. (Get it?  12 in ’12.  Of course you do.).  Because we are not fond of adding unnecessary or filler content (read code), Dylan has come up with 11 trends for 2012.

1.  Mobile

Mobile will gain even more momentum in 2012.  There’s no doubt we will see many new APIs, development tools and capabilities in place to both build and install most any app as a web app rather than using native technology.

2.  AMD

Following on the increasing emergence of microtoolkits in 2010 and 2011, 2012 will be the year everything becomes an AMD module, making it easier for Dojo, jQuery, MooTools and other toolkits to play nicely together.

3.  Builders & Loaders

With so many modules, performance, loading and building will need to be optimized.  Use of package management will become increasingly important.

4… Check out the rest of Dylan’s 11 Trends for 2012! And don’t forget that SitePen’s got your back when it comes to implementing efficient and scalable solutions.  Contact us today!

The Year of Dojo is Here!

Welcome to 2012 – The Year of Dojo!  We are expecting an amazing year! Make SitePen your one stop shop for all of your web application needs; Dojo workshops, JavaScript support and web app development.  Together, with SitePen, you will meet your 2012 goals!  When you’re happy, so are we.

Learn Dojo - We are dedicated to providing you with the highest quality Dojo Toolkit workshops in the industry.  Whether you want to learn the basics of Dojo or sharpen your Dojo skills, we have a workshop just for you.  All of our Dojo Workshops are taught by our Dojo experts.  We promise you won’t be subjected to listening to some trainer who can’t live without his slides.  Wondering if our Dojo Workshops will cover Dojo 1.7?  The answer is yes!

Ready to learn Dojo?  Check out our full list of 2012 workshop dates and locations.  Sign up for any of our 2012 Dojo Workshops by January 31, 2012 with promo code IHEARTDOJO and get 10% off!

Here to help - Did you know we also have support plans to fit every size and every need?  No matter which support plan you choose, our expert engineers will help you by answering questions, resolving bugs, and solving problems. We offer no-hassle ways to get in touch with your SitePen Support team, which means no waiting on hold, or having to explain your issue over and over again until you get to the right person.  With us, you always have access to the right people. If your project runs in to a critical issue, our expert SitePen engineers will jump in to help you quickly get back on track. Oh, and yes, all of our support plans include support for dGrid and Dojo 1.7! Having a SitePen Support plan is preparing for possibilities.  Even football teams have backup quarterbacks.

From 2 support hours to 200 support hours, SitePen has a support plan to fit your needs.  Take a look!

Perfect match of design and development - We are your one stop shop for your next project, including mobile web applications! Our expert team will take your web application from concept to launch.  We’ve mastered the front end and are here to help you build powerful, simple, and usable web apps, every single time.

Whether you need a traditional web application, mobile web application or installable mobile web app store application, SitePen can help!

Still not sure how we can help you?  Contact us today! (You can even call us if you want.)  Celebrate 2012 – The Year of Dojo!

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

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

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

What is the best way to use Dojo with a Symfony backend?

As a part of our Free Dojo Support initiative, we received the following question from Alexander about the best way to use Dojo with a Symfony application:

The Question

“I’m looking to use Dojo with Symfony2 to build a modular back end user interface. It would feature a single action that kicks off a parse-on-load border layout with an accordion on the left hand side. Each modular section – for the users’ sake, I call “areas” – would have free-run over what goes on in the main content region of the border layout.

Unrelated – but only to a degree – on the Symfony side, I was planning on creating a class that represents an area that can be tagged as such, with a few abstract controller methods.

When the back end is accessed, the dependency injection container could be queried for that tag, returning all classes which are then called for their respective accordion and content code. The code they return in this case would be dojo markup found inside of twig templates. They’re then all put together and shipped out at once.

The first appeal that came to mind with this approach is that server-side, each instance of an area can decide whether the user is eligible for the interface (or portions of it) and either opt out or tailor some data & script to be included with their dojo markup. Second is that at no point in time are the natural features of dojo (or Symfony, I hope!) subverted. I end up leveraging the templating from Symfony as well as all of Dojo’s power.

The problem is: I don’t know if this is a sane approach! Set me straight! ;)”

Continue reading

How do I create a dynamic, validating, internationalized form in a Dialog?

As a part of our Free Dojo Support initiative, we received the following question from Ron about the best way to build a complex form:

The Question

I’d like to see a nice clean example of how to best implement a form inside a popup dialog (either dijit.Dialog or dijit.TooltipDialog), but with the complication that the form has various types of behavior such as the disabled status, visibility, and/or required status of fields changing based on changes to other fields. I have typically done this by subclassing dijit.form.Form and using a template to make use of attach points and events, but have not yet figured out the best way to tie that in with validating and handling the dialog submit through JavaScript (rather than a regular form submit). To add yet another wrinkle, can localization be added as well so that strings are not hard-coded into the template?

Continue reading