AMD: The Definitive Source

So what is AMD? As web applications continue to grow more advanced and more heavily rely on JavaScript, there has been a growing movement towards using modules to organize code and dependencies. Modules give us a way to make clearly distinguished components and interfaces that can easily be loaded and connected to dependencies. The AMD module system gives us the perfect path for using JavaScript modules to build web applications, with a simple format, asynchronous loading, and broad adoption. The

Read More »

18 things to look forward to in Dojo 1.8

After many months of work, Dojo 1.8 Beta is almost here. We expect beta to be ready for use on June 22, 2012, with the final 1.8 release due 4-6 weeks later! dojo/request We’re very excited about this release for many reasons. For the new features, I’m most excited about the work led by Bryan Forbes with dojo/request. This is the third major iteration of how Dojo works with Ajax. The first ever Dojo release, dojo.io.bind, was completed at SXSW

Read More »

Feature Detection and Device Optimized Builds

The mobile device revolution has placed new demands on web applications. Mobile devices generally have lower bandwidth and lower CPU capacity, forcing us to avoid large complex code. Fortunately, the mobile space has a greater percentage of users running modern browsers than on desktops, so it is feasible to write similar applications with much less code when targeting mobile browsers. However, dealing with the multitude of different platforms is non-trivial, and creating appropriately small packages of code for mobile devices,

Read More »

dgrid and Dojo Nano Build

You’ve likely read that the new dgrid can be as small as 32KB gzipped when including just its minimal dependencies. However, if you use the standard settings for the Dojo Web Builder or a standard Dojo build profile, you end up with a build that’s closer to 100KB gzipped. So, how do you actually get dgrid and Dojo to be a small as possible? Use a custom build. Where to start with Dojo Builds The Dojo build tutorial is an

Read More »

SitePen: Small Business, Big Plans

“Small businesses embody the spirit of innovation and they are the lifeblood of our economy,” says David Chavern, U.S. Chamber executive vice president and chief operating officer. We think so too, David! It’s said that small business — firms with fewer than 500 employees — drive the U.S. economy by providing jobs for over half of the nation’s private workforce. We helped! SitePen has been in business since 2000, surviving through two economic downturns, a bunch of hard lessons learned

Read More »

Thinking of upgrading to Dojo 1.7? SitePen can help.

Upgrading to Dojo 1.7 With the release of the revolutionary Dojo 1.7, you may be wondering if it’s time to upgrade.  If you haven’t already, we recommend that you check out the Dojo 1.7 documentation and tutorials.  They’re pretty awesome (if we do say so ourselves)!  Still have questions?  Read on! Upgrade FAQs Why should I upgrade? Dojo 1.7 offers massive improvements over previous versions of Dojo.  This doesn’t mean that previous versions of Dojo are bad or useless, only that

Read More »

Basic Mobile Layout

Mobile web development is an expansive field of engineering and design, and can require extensive expertise and involve using many tools. Dojo is designed for mobile development at many levels, including lightweight, granular modules for bandwidth and CPU constrained devices, touch and gesture events, mobile-style widgets in Dojo Mobile, feature branching for mobile customizations, and much more. However, before even getting into these sophisticated aspects of mobile development, it is worth considering some of the basics of mobile layouts. Many

Read More »

SitePen at IBM Impact 2012

Dylan wrapped up his 2012 Dojo tour last week, presenting twice at IBM Impact 2012 in Las Vegas, Nevada. If you attended IBM Impact 2012 and missed Dylan’s talks, or didn’t attend IBM Impact and want to see what was presented we’ve posted the slides of the talks: Star Search: Dojo 2 and HTML 5 Beyond Dojo: The Rise of Asynchronous Module Definition (AMD) – with James Thomas A big thank you to IBM for having us speak at Impact

Read More »

CSS Styling of dgrid

The new dgrid is a powerful, but lightweight grid component. It is specifically built to be easily styled with CSS, rather than relying on programmatic properties and changes. The dgrid makes numerous element classes available to reference from CSS and avoids inline styles as much as possible to ensure ease of CSS customization. Stylesheet Loading Order Before diving into CSS styling of the dgrid, it is highly recommended that you start your dgrid styling stylesheet with an import (or a

Read More »

dgrid: Getting down to the nitty griddy

What does dgrid mean to Dojo? dgrid has come to represent and demonstrate the future and power of third-party packages for Dojo. The dgrid package helps to jump-start the repository-centric approach, with parts of DojoX expected to eventually follow suit. It also demonstrates extensive use of the new features and architecture in 1.7 — including granular dependencies, and the new event mechanism in dojo/on — showing how components can use Dojo 1.7 to create amazingly compact and fast user interfaces.

Read More »

Decruft. Delight. dgrid Beta Is Here!

Does the code for your grid customizations involve more lines than an Apple product launch? You are not alone, brave developer. We feel your pain – the type that results from banging your head on a keyboard until the room spins – and that is why we have an amazing gift for you! Read on… Dojo users and SitePen customers alike have needed a grid since the Dojo Toolkit project began. At first, we and several other companies banded together

Read More »

Only two stops left! Phoenix Mobile Festival and IBM Impact 2012.

Over the last few weeks, Dylan has given talks across the western United States and Europe and we’ve tracked his every move on our blog. Dylan will finish his trip with stops in Tempe, AZ and Las Vegas, Nevada. Phoenix Mobile Festival.  Tempe, AZ.  April 21. Speaking at the inaugural Phoenix Mobile Festival, Dylan will present how Dojo’s adoption of AMD allows you to create the most extremely optimized JavaScript toolkit for your application.  (Attendance at the event is free

Read More »