Category: Tutorials

  • The Definitive TypeScript 4.0 Guide

    The Definitive TypeScript 4.0 Guide

    Jason Cheatham | September 18, 2020

    Originally published October 2018. Updated September 2020. This article describes the features and functionality of TypeScript 4.0.  One of the most interesting languages for large-scale application development is Microsoft’s TypeScript. TypeScript is unique in that it is a superset of JavaScript, but with optional types, interfaces, generics, and more. Unlike other compile-to-JavaScript languages, TypeScript does not

    Read More >>
  • Improving Performance with the Paint Timing API

    Improving Performance with the Paint Timing API

    Umar Hansa | October 6, 2017

    Introduction Outline Accessing paint metrics from JavaScript Reporting paint timing metrics to a server Viewing paint metrics in the Chrome DevTools Browser Implementations Traditionally, front-end performance focused primarily on page load times as an important performance metric. Commercial web performance dashboards would show granular level performance metrics for back-end aspects, like database lookup times, template

    Read More >>
  • Browser Automation with Puppeteer

    Umar Hansa | October 4, 2017

    Automating browsers provide many benefits including faster execution of repetitive tasks, ability to parallelise workloads and improved test coverage for your website. Google recently announced Puppeteer, a new tool to assist with Chrome browser automation.

    Read More >>
  • A Guide to Faster Web App I/O and Data Operations with Streams

    A Guide to Faster Web App I/O and Data Operations with Streams

    Umar Hansa | October 2, 2017

    Why should you care about streams? On the modern web platform, many interesting features appear which enable new functionality which were not previously possible, for example, Web Bluetooth, Background Sync & Web VR. For new features in JavaScript specifically, many are just syntactic sugar for things you could already do in an alternative way, like

    Read More >>
  • Intern and testing Grunt tasks

    Kit Kelly | September 3, 2015

    You can use Intern to test just about everything!  How about testing your Grunt tasks?  Even though Intern focuses on tests authored as AMD modules, it certainly can be used to test CommonJS modules, like those used with Grunt. (As well as TypeScript, ES6 modules, and non-module code) Why would you want to test your

    Read More >>
  • Dojo Tutorial: Feature Detection and Device Optimized Builds

    Dojo Tutorial: Feature Detection and Device Optimized Builds

    Dylan Schiemann | January 25, 2013

    As part of our great updates to the Dojo Tutorials for Dojo 1.8, we’ve been busy creating several new tutorials. Feature Detection and Device Optimized Builds Dojo 1.7+ now uses the popular has() pattern for feature detection in combination with a has()-aware build system. While it is easy enough to write feature detection tests with

    Read More >>
  • Dojo Tutorial: Key Events

    Dojo Tutorial: Key Events

    Dylan Schiemann | November 15, 2012

    As part of our great updates to the Dojo Tutorials for Dojo 1.8, we’ve been busy creating several new tutorials. Key Events This tutorial teaches you how to easily handle keyboard events with Dojo’s event normalization and dojo/keys implementation. Check out the Key Events tutorial for Dojo 1.8, 1.7, or 1.6! Want to see a

    Read More >>
  • SitePen Represents at DojoConf 2011

    SitePen Represents at DojoConf 2011

    Angela Segovia | October 13, 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

    Read More >>
  • Dojo Tutorial: Dijit Themes, Buttons, Textboxes, and Selects

    Dojo Tutorial: Dijit Themes, Buttons, Textboxes, and Selects

    Torrey Rice | September 16, 2011

    DojoConf 2011 is under way, and we continue our Dojo enlightenment with a trifecta of tutorials! Dijit Themes, Buttons, and Textboxes In this tutorial, we will show you the basics of creating and using simple form elements using Dijit—including how to set up a Dijit theme for your web application. Check out the tutorial. Getting

    Read More >>
  • Dojo Tutorial: Configuring Dojo with dojoConfig

    Dojo Tutorial: Configuring Dojo with dojoConfig

    Torrey Rice | September 15, 2011

    On the eve of DojoConf 2011, let the tutorials continue! Today’s topic is dojoConfig. Let’s dig in, shall we? Configuring Dojo with dojoConfig The dojoConfig object (formerly djConfig) allows you to set options and default behavior for various aspects of the toolkit. In this tutorial we’ll explore what’s possible and how you can put dojoConfig

    Read More >>
  • Dojo Tutorial: Using dojo.behavior

    Dojo Tutorial: Using dojo.behavior

    Torrey Rice | September 13, 2011

    Just 3 days left until DojoConf 2011 and our series of tutorials leading up to it is almost complete! Here’s today’s tutorial… Using dojo.behavior It is frequently useful to isolate a page’s “behavior” from its style and its content. The collection of event handlers that comprises that behavior layer can be succinctly defined and applied

    Read More >>
  • Dojo Tutorial: Creating Dojo Stores

    Dojo Tutorial: Creating Dojo Stores

    Torrey Rice | September 12, 2011

    DojoConf 2011 is THIS WEEK! Let’s roll into the conference with our latest tutorial… Creating Dojo Stores In this tutorial, you’ll learn the basic APIs all dojo.stores follow and how to create your own store—including how to handle query results. Check out the tutorial. Want to see a specific Tutorial? Want to Learn More? Is

    Read More >>
  • Dojo Tutorial: Slippin’ Sliders with Dijit

    Dojo Tutorial: Slippin’ Sliders with Dijit

    Torrey Rice | September 7, 2011

    We’re closing in on DojoConf 2011! Are you excited yet? We’re keeping up the excitement with another Dojo Tutorial! Slippin’ Sliders with Dijit The HTML5 specification provides many new features, such as the <input type=”range”> element which allows users to choose from a range of values. Unfortunately, this new input type is not supported in

    Read More >>
  • Dojo Tutorial: Embedding Objects with dojox.embed

    Dojo Tutorial: Embedding Objects with dojox.embed

    Torrey Rice | September 6, 2011

    Less than two weeks out from DojoConf 2011! Let’s keep this tutorial train rolling! Embedding Objects with dojox.embed In this tutorial, you’ll learn about the dojox.embed project, and how to use it to include plugin-based objects such as Flash and Quicktime movies—as well as learning about the special proxy method available for Flash objects. Check

    Read More >>
  • Dojo Tutorial: Working with Dates

    Dojo Tutorial: Working with Dates

    Torrey Rice | September 2, 2011

    Two weeks out from DojoConf 2011! Ready for the next Dojo Tutorial? Working with Dates in Dojo Dates can be awkward to work with in JavaScript. This tutorial walks through the use of dojo.date—Dojo’s answer to the need for a standard library for date math, comparisons, parsing and formatting. Check out the tutorial. Want to

    Read More >>
  • Dojo Tutorial: Prototyping with dijit.Declaration

    Dojo Tutorial: Prototyping with dijit.Declaration

    Torrey Rice | September 1, 2011

    Wow! We’re just 15 days out from DojoConf 2011 and our new dojo tutorial everyday series is going strong with our latest edition… Prototyping with dijit.Declaration In this tutorial, you’ll learn about the special dijit.Declaration widget, which was designed to allow you to quickly prototype custom widgets—all using declarative syntax. Check out the tutorial. Want

    Read More >>
  • Dojo Tutorial: Getting Jiggy with JSONP

    Dojo Tutorial: Getting Jiggy with JSONP

    Torrey Rice | August 29, 2011

    You didn’t think that with just 18 days left until DojoConf 2011 we would leave you hanging and not post another tutorial in our new dojo tutorial everyday series did you? I thought not! Here’s today’s tutorial! Getting Jiggy with JSONP JSON with Padding (JSONP) has become a common technique for accessing cross-domain resources from

    Read More >>
  • Dojo Tutorial: Connecting a Store to a Tree

    Dojo Tutorial: Connecting a Store to a Tree

    Torrey Rice | August 24, 2011

    Only 23 days left until DojoConf 2011 and our new dojo tutorial everyday marathon is going strong. Here’s todays tutorial! Connecting a Store to a Tree The Dojo Tree component is a powerful tool for visual presentation of hierarchical data. In this tutorial we will look at how to connect the tree to a store

    Read More >>
  • Dojo Tutorial: Using Custom Modules with a CDN

    Dojo Tutorial: Using Custom Modules with a CDN

    Torrey Rice | August 23, 2011

    With just 24 days left until DojoConf 2011 our new dojo tutorial everyday marathon continues! Using Custom Modules with a CDN There are a number of benefits to loading Dojo from a CDN, but using it and custom modules can be a little confusing at first. This tutorial will demonstrate how easily that can be

    Read More >>
  • Dojo Tutorial: Using Dojo Data

    Dojo Tutorial: Using Dojo Data

    Torrey Rice | August 19, 2011

    We’re 28 days away and as promised we’re releasing a tutorial everyday until DojoConf 2011! Here’s today’s tutorial! Using Dojo Data Dojo Data is the legacy data interface used to abstract data consumers (like widgets) from the concerns of data providers. While the new object store interface has superseded the dojo.data interface, there are a

    Read More >>
  • A New Tutorial Everyday until DojoConf!

    A New Tutorial Everyday until DojoConf!

    Torrey Rice | August 17, 2011

    Are you sitting down? Anxiously crossing off the days on your calendar until DojoConf 2011? We are too! We’re so excited to be sponsoring and speaking at DojoConf that we can hardly sleep… so instead of sleeping we’re writing Dojo tutorials and releasing a new one every day until DojoConf (Sept. 16, 2011), now you

    Read More >>
  • Dojo Tutorial: Introduction to the DataGrid

    Dojo Tutorial: Introduction to the DataGrid

    kjames | July 6, 2011

    Next in our series of Dojo Tutorials, we have the first of three tutorials on the DataGrid! You asked. We listened. Let’s talk about the DataGrid. The DataGrid is the central component of many applications due to its effective and usable presentation of tabular data. In this tutorial we will look at how to define

    Read More >>
  • Dojo Tutorial: Advanced Charting with Dojo

    Dojo Tutorial: Advanced Charting with Dojo

    Torrey Rice | April 29, 2011

    Building on a previous topic, we continue our ongoing series of Dojo tutorials with Advanced Charting. Make your charts as flexible as your data While most developers only need basic charts, dojox.charting is capable of highly advanced charts: charts with animations, charts that respond to changes in data, and charts that respond to events. In

    Read More >>
  • Dojo Tutorial: Dojo Charting

    Dojo Tutorial: Dojo Charting

    kjames | April 19, 2011

    Today we continue our ongoing series of Dojo tutorials with Dojo Charting. Dress up your data with dojox.charting! Presenting statistical data in a readable, eye-catching manner is important, but it can also be difficult. The dojox.charting system was created to alleviate those pains by allowing developers to create dynamic, unique, and functional charts from varying sets of

    Read More >>
  • Dojo Tutorial: Creating Builds

    Dojo Tutorial: Creating Builds

    Torrey Rice | April 14, 2011

    Building on our continuing series of Dojo Tutorials, learn about Creating Builds. Building your applications, literally The build system is critical for any real web application. Build applications often load around 10x faster than development applications. Load time is a key factor in user experience. Dojo’s build system helps you create highly optimized resources by

    Read More >>
  • Dojo Mobile Tutorial: TweetView Settings View

    Dojo Mobile Tutorial: TweetView Settings View

    Torrey Rice | April 13, 2011

    Next in our ongoing series of Dojo mobile tutorials, we create the Settings View of our TweetView app. TweetView: Creating the Settings View In the previous post, Getting Started with TweetView: Tweets and Mentions, we solidified our mobile application’s file structure, reviewed TweetView’s goals, and created the Tweets and Mentions views by coding tweetview._ViewMixin andtweetview.TweetView. This tutorial

    Read More >>
  • Dojo Tutorial: Beyond Dojo’s Core

    Dojo Tutorial: Beyond Dojo’s Core

    kjames | March 31, 2011

    Next in our ongoing series of Dojo tutorials, learn what’s available Beyond Dojo’s Core. More than just DOM and Ajax One of the things that differentiates Dojo from many other JavaScript libraries is its scope. While you can simply use dojo.js with all its language helpers, DOM, Ajax, effects and other common functionality, the toolkit

    Read More >>
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Privacy Policy