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!

HTML5 data-dojo Attribute Support

Dojo has long provided support for declaring widgets and specifying other information directly in HTML. This support makes it extremely quick and easy to get an application started. You can start instantiating widgets by adding attributes to HTML elements before even writing any code. This is not only a very convenient tool, but using a declarative approach to binding widgets to elements can be viewed as cleaner and more organized than using the imperative mechanics of JavaScript.HTML5 Powered with Semantics Widgets declared in markup have an encapsulated construction, avoiding instantiation that requires spanning and synchronizing HTML and code manually.

However, the use of Dojo’s declarative tools has been avoided by some because it uses custom attributes that are outside the HTML specification. While this approach works in every browser on the market and is implicitly allowed, it does not validate against the HTML4 validators. Now, the new HTML5 specification provides a namespace for custom attributes. The data-* attributes are available for libraries and authors to use for their own purposes and extensions while still having validating markup. The HTML5 specification further recommends that library use a sub-namespace for their custom attributes to avoid conflicts with other code. All of the Dojo custom attributes begin with data-dojo-. Let’s look at the new Dojo attributes.

Continue reading

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!

Native JSON Parsing in Dojo

Dojo 1.7 introduces a new JSON module available at dojo/json. This differs from the legacy dojo.fromJson and dojo.toJson in that it is based on the new native JSON API in the JavaScript language (introduced in EcmaScript 5). It also delegates to the native JSON parser and serializer when they are available, providing the fastest possible execution for any given browser.

Continue reading

Touching and Gesturing on iPhone, Android, and More

One of the most important parts of creating an effective and intuitive user interface on touch-enabled smartphones has nothing to do with visual appearance—instead, it has to do with creating an interface that properly responds to user input based on touch. For Web applications, this means replacing mouse events with touch events. In Dojo 1.7, new touch APIs help make this process easy.

This is an updated version of the post Touching and Gesturing on the iPhone, published in 2008.

Continue reading

Dojo Drag’n’Drop Redux

dojo/dnd is one of Dojo’s core APIs and is designed to manage the process of dragging and dropping items between two or more containers. It offers advanced features like multiple selections, item acceptance filtering on drop targets, and other behavioral tweaks. Let’s learn how to use it!

This is an updated version of the original article, Dojo Drag and Drop, Part 1, published in 2008.

Continue reading

Rich Web Experience 2011 – And so it was!

SitePen’s Dylan Schiemann delivered the last of his three Rich Web Experience 2011 presentations yesterday, Never Bet Against the Open Web.

Dylan had this to say about his time at #RWX2011:

The level of interest in AMD, object stores, and mobile is impressive. And the excitement around the potential of xstyle and put-selector was also very cool to see. The community is seemingly rabid for new tools and features that make development easier, and it’s incredible to be part of that.

And if you haven’t seen this already- Dojo 1.7 Released!

We have made all of Dylan’s Rich Web Experience 2011 (and many other) presentations available here.  Don’t forget to follow SitePen on Twitter and Google+!

Rich Web Experience 2011- Day 2- Dojo 2.0

After an amazing Real Time, Real Fast keynote address on the opening night of Rich Web Experience 2011, Dylan delivered an authoritative presentation on Dojo 2.0: Modular, Mobile, and Reinventing Web App Development.  He talked about the reinvention of the Dojo Toolkit, showed off the wide variety of features and approaches currently available in Dojo, and even gave a sneak peak of the forthcoming Dojo 2.0 release!

Hot off the presses! Dylan just penned this announcement on the release of Dojo 1.7!

Today Dylan will share his passion for the open web with all Rich Web Experience 2011 attendees through his Never Bet Against the Open Web presentation.  He will showcase his expert knowledge of the open web through explanations of how the open web is quickly replacing, diminishing or lowering the barrier to entry for all native platform capabilities.

For those of you not attending Rich Web Experience 2011, or if you were so amazed that you want to see his presentations again, we will be making all of Dylan’s Rich Web Experience 2011 presentations available online shortly after the conference.  To be one of the first to know when they are available, get social with SitePen.   Follow us on SlideShareTwitterGoogle+.

SitePen’s Dylan Schiemann to Keynote at Rich Web Experience 2011

I'm Attending Rich Web Experience 2011SitePen’s CEO, and co-founder of the Dojo Toolkit, Dylan Schiemann will be kicking off Rich Web Experience 2011 with an engaging Real Time, Real Fast keynote address.  His talk will cover WebSocket, one of the hottest new APIs in HTML5, which enables true duplex communication without the overhead, complexity, and extraneous latency of HTTP-based solutions.  His keynote will also cover the use of streaming abstractions to minimize buffering, and will consider the performance implications of topic-based publish-subscribe distribution versus filtering techniques.

But that’s not all! Dylan is sticking around.  (At SitePen, we miss him when he’s away.)

On Wednesday, November 30, Dylan will present Dojo 2.0: Modular, Mobile, and Reinventing Web App Development.  This presentation will cover the reinvention of the Dojo Toolkit, one of the original Ajax toolkits.  Through a series of improvements in modularity, performance, API improvements, adjustments for HTML5 and mobile platforms, the Dojo Toolkit will continue to provide a stellar platform for building web apps.  Dylan will show off the wide variety of features and approaches currently available in Dojo, and give a sneak peak of the forthcoming Dojo 2.0 release.

Wait!  You thought that was it?  Wanna bet? (You do know that Dylan will talk about Dojo and the open web anytime, anyplace, right?)

On Thursday, December 1, Dylan is also presenting Never Bet Against the Open Web.  Dylan will share his passion for the open web, explaining how the open web is quickly either replacing, diminishing, or lowering the barrier to entry for all native platform capabilities.

And of course, no conference would be complete without a dojo.beer.  (And Dylan is going to need one after three presentations!)

Join us on Thursday, December 1 at 7pm for a dojo.beer.ftlauderdale, sponsored by SitePen.  If you’re in the Fort Lauderdale area, or are attending Rich Web Experience 2011, then you are invited!  We’d love to have you join us.  This dojo.beer event does require you to sign up and space is limited.  Sign up today!

Dylan’s Rich Web Experience 2011 presentations will be available online shortly after the conference.  To be one of the first to know when they are available, be sure you follow us on SlideShareTwitterGoogle+.

Peace. Love. Dojo.

Dojo Toolkit Wins 1st Runner Up-2011 Packt Open Source Awards

SitePen is excited to announce that Dojo Toolkit has won 1st Runner Up in the 2011 Packt Open Source Award for Open Source JavaScript Libraries!  Congratulations to all of our competitors- jQuery, RaphaelJS, Sencha (ExtJS), and YUI Library.  It was an honor to compete with this elite group of libraries.  Thank you to everyone who voted for Dojo Toolkit .  And most importantly, thank you to everyone who continues to believe in the greatness of Dojo.

About the Open Source JavaScript Libraries Award
Dojo Toolkit competed in the category is reserved for JavaScript libraries, libraries of pre-written JavaScript controls which allow for easier development of RIAs (Rich Internet Applications), visually enhanced applications or smoother server-side JavaScript functionalities.  Voting took place between September 19 and October 31, 2011.