June 6th, 2006 by Aaron N.
via ajaxian:
Firefox Bon Echo Alpha 3 just came out into the wild. This gives us a glimpse into new features that we will be getting.
The big item is Client-side session and persistent storage meaning that we will be able to use JavaScript to:
sessionStorage.
setItem(..
)and
globalStorage.namedItem(domain).setItem(..)
There are also other nice features such as microsummary support, anti-phishing, and inline spellchecking.
Posted in 'Industry' News | Comments Off
June 2nd, 2006 by markbult
by Douglas Crockford (Yahoo!)
June 14, 2006 from 6 – 9:30 p.m.
6 p.m. – Reception; 7 p.m. – Presentation
JSON is rendering the “X” in AJAX superfluous. JSON or JavaScript Object Notation is a universal data format. It provides an uncommonly effective bridge for moving data between systems and between languages. JSON is also really simple. In fact, many of the Yahoo! Web Services provide JSON as an alternate output format to XML. Read the rest of this entry »
Posted in Uncategorized | Comments Off
June 1st, 2006 by Aaron N.
Holy crap. I’m watching this video of Joe Hewitt (author of Dom Inspector and Firebug) and I’m blown away by the latest version. I’m a little miffed that the printfire() function (which let you put error messages into the firebug console) is now deprecated, which means that all my libraries need to be updated, but I think I’ll get over it fast enough.
Read the rest of this entry »
Posted in Browser Plugins | Comments Off
June 1st, 2006 by Aaron N.
via ajaxian; I’m watching this now and it’s instructive. Check it out.
If you’ll remember a little while back, we posted about the latest release of a handy Javascript extension for Firefox that makes working with the language much simpler. Well, the folks over at the Yahoo! Interface Blog have posted even more information about it – this time, in the format of a video from a presentation. Read the rest of this entry »
Posted in Browser Plugins | Comments Off
June 1st, 2006 by Aaron N.
via Ajaxian:
Cal Henderson brings us this new (lengthy) article on ThinkVitamin.com, a look at speeding up the one thing that’s really growing large on Web 2.0-type applications – the Javascript running behind the scenes.
With our so-called ‘Web 2.0′ applications and their rich content and interaction, we expect our applications to increasingly make use of CSS and JavaScript. To make sure these applications are nice and snappy to use, we need to optimize the size and nature of content required to render the page, making sure we’re delivering the optimum experience. In practice, this means a combination of making our content as small and fast to download as possible, while avoiding unnecessarily refetching unmodified resources.
He talks about several different approaches, including:
- Monolith – the bigger the chunks the better, less overhead of loading more than one file for each page execution
- Splintered Approach – divide it up into multiple subfiles and only load what you need
- Compression – gzipping up the content to reduce its filesize as sent to the browser
- Caching- sending headers to correctly cache the javascript file(s)
For each there’s a brief description, the advantages and disadvantages of the method, and a code example (in PHP) . He focuses largely on the caching option, however, and gives a longer example of how to ensure that your files are remotely cached as well as possible to reduce the load times for javascript-heavy pages.
Posted in Optimization | Comments Off