Posts tagged with: "javascript"

HTML5 for Desktop Application Development

By Yong Zhi February 8, 2012 in javascript, development, desktop, code, html5, nodejs

Most developers know that it makes a lot of sense to develop software that you can "write once and run anywhere." It's more economical, easier to implement cross-platform, and generally leads to fewer headaches. Back when the most important and/or dominant platform was the Desktop, QT and Java made it easy to develop software that could be run anywhere. But enter the Smartphone Era stage-left, and you've got a problem - those solutions are not available on iPhones, iPads, etc.

This has led to a lot of buzz around HTML5-based development for mobile apps (PhoneGap, for example is a popular platform for building applications with HTML5). Often these platforms do not support native UI components, but people seem to care less about standard UI nowadays; authoring UI with HTML5 gives people more freedom on look and feel. Traditionally javascript is very restricted for security reason (no local file/socket access etc), but the restriction can be lifted via browser extension.

So, great - we can use HTML5 to write platform-independent software for smart phones. But, we can also use similar technology to write desktop applications with HTML5 - even better!

Sketch.js: HTML5 Canvas Sketchpads for Whyday

By Michael Bleigh August 22, 2011 in open source, announcement, javascript, coffeescript,

Small

Last Friday I decided to celebrate _whyday by taking a departure from my normal open source path and writing some Javascript (well, technically Coffeescript). So today we're announcing Sketch.js, a simple jQuery library to enable HTML5 Canvas "sketchpads" for any web application.

Marathons, Pirates, and Moving Beyond jQuery

By Brent Collier April 14, 2011 in javascript, jquery, node, learning, coffeescript, dojo

I tell myself that I write JS every day, but I don’t. I write jQuery. Don’t get me wrong, it gets the job done. But it never feels right. Now, jQuery and its DOM-centric approach (at least in common usage) aren’t all to blame. Its just as much my fault in that beyond the library, I know very little about the language. I intend to do something about it. I have a plan and I’m going to share it with you. First, here are my goals:

Fun With jQuery Deferred

By Michael Bleigh February 8, 2011 in tips, javascript, ajax, jquery, deferred

If you've upgraded to the recently released jQuery 1.5, you may have heard about the fancy new AJAX facilities that allow you to define things in novel ways.

Using NPM with Heroku Node.js

By Michael Bleigh August 24, 2010 in javascript, heroku, node, npm

The Node Knockout is this weekend **right now** and I've been trying to teach myself Node and get ready in a variety of ways. One of the most important (and least clear) aspects of preparation was figuring out how to properly vendor the latest Node libraries for use in Heroku. I've got NPM up and running locally, but as of its latest release it has no built-in support for vendoring. Here's how I managed.

Toggle CSS3 Bookmarklet

By Michael Bleigh April 12, 2010 in javascript, css3, bookmarklet, ie

Simple Mustache JSON Serialization

By Michael Bleigh January 21, 2010 in ruby, open source, announcement, javascript, mustache, json, serialization

Twitter Search Plus: Find Replies Inline with Twitter Search

By Michael Bleigh January 22, 2009 in javascript, twitter, greasemonkey, twitter search, open-source

Faking 'onpaste' in Firefox

By Michael Bleigh December 16, 2007 in javascript, browser compatibility, prototype, onpaste, firefox

Use 'link_to_remote' unobtrusively

By Michael Bleigh November 21, 2007 in rails, javascript, unobtrusive scripting, link_to_remote, lowpro