Non-static method Cgn_Session::getSessionObj() should not be called statically, assuming $this from incompatible context


Non-static method Cgn_SystemRequest::getCurrentRequest() should not be called statically, assuming $this from incompatible context


Non-static method Cgn_SystemRequest::getUser() should not be called statically, assuming $this from incompatible context


Non-static method Cgn_ErrorStack::count() should not be called statically, assuming $this from incompatible context

News roundup: Candy, Chosen, git.js, JavaScript Intents, ECMAScript 6

Listen to this week’s podcast


Mozilla’s David Mandelin has started a weekly newsletter of JS engine updates

browserify lets you run node-like require() statements on the client side (in the browser)

Candy is a multi-user chat client built for Jabber

Octopress is written in Ruby, not JavaScript, but it’s worth a look. It simplifies getting jekyll set up, which lets you write blog posts in Markdown.

Chosen is a library for making select dropdowns more user-friendly. Anyone who’s used a country dropdown (everyone?) knows what a pain it is to scroll down through the list of countries (wait, did they put the United States on the top or the bottom this time?!). This simplifies the process by adding some sugar: a textfield that allows the user to start typing, resulting in something that acts almost more like an autocomplete. In any case, it’s good stuff for the user experience! It supports jQuery and Prototype.

Back in December 2010 WebSockets started to get disabled by default on browsers because of a security vulnerability. The spec has now been updated to address the vulnerability, and Chrome has now re-enabled WebSockets. Bad news: it’s not backwards-compatible. Update your code!

Adobe has fully embraced HTML/CSS/JS with Adobe Edge, providing Flash-like timeline-based editing tools (and similar to Sencha Animator). And why do they use the DOM instead of Canvas? Performance reasons, as developer Mark Anders points out in the forums.

speak.js is a JavaScript port of the eSpeak voice synthesizer (C++)

Terrific is a OOCSS-inspired JavaScript framework for jQuery. The idea is that you write what JS modules different parts of your page need based on the class string. For instance, <div class="mod modNews"></div> will pull in a module called Tc.Module.News. Maybe I’m a bit old-fashioned, but this looks like muddling the separation between styling (CSS) and interaction (JS). I’m all for more modular code, but I don’t want my class names to take on a life of their own outside of just styling. But that’s just me.

Mozilla’s August Dev Derby encourages hacks with the History API.

Elijah Manor has written up some tips for using the Chrome developer tools, including a few JS tips (stuff that’s been added relatively recently, such as live code editing and execution, pretty printing, JS breaking when DOM elements are modified, etc.)

JavaScript Creator Says the Language Wasn’t Just Dumb Luck

Dojo 1.7 has support for AMD modules (see the AMD proposal)

Principles of Writing Consistent, Idiomatic JavaScript is a very opinionated piece on writing good JS code. Warning: you will probably not agree with all of it.

git.js is a Git implementation in (you guessed it) JavaScript

With Dustin Diaz’s latest post and Michael Bolin’s JSConf talk, it looks like JavaScript’s with statement might be making a comeback, despite Crockford’s warnings

Connecting Web Apps with Web Intents – Chrome and Android introduce the concept of “intents” in JavaScript, an API which allows web apps to utilize shared utilities, such as a photo editing service or URL shortener.

There’s been a few articles recently lamenting the lack of progressive enhancement in new shiny “HTML5″ demos: one by Bruce Lawson and another by an unknown developer.

Multimedia (audio, video, etc.)

TXJS 2011 videos

London Ajax Mobile Event videos

Ben Galbraith and Dion Almaer have launched a podcast for FunctionSource

(Video) Ryan Dahl’s keynote from NodeConf 2011 has been posted

(Slides) Javascript done right (Dirk Ginader) from Open Web Camp III

ES6 Lives! (A Minute with Brendan) – ECMAScript 6 (ES6) is targeted for end of 2013

GitHub Most Watched This Week (JavaScript)



Zepto 0.7
Node 0.5.3
jQuery Mobile Beta 2

Upcoming Events

AT&T Mobile App Hackathon (August 6, 2011 in San Jose, CA, USA)
JavaScript Leeds (August 10, 2011 in Leeds, UK)
Dojo Skills Workshop (August 18-19, 2011 in Austin, TX, USA)
Intro to JavaScript and jQuery (Girl Develop It Austin) (August 20, 2011 in Austin, TX, USA)
NodeConf Summercamp (September 5-7, 2011 in Walker Creek Ranch, CA, USA)
Frontend Conference (September 9-10, 2011 in Zurich, Switzerland)
dojoconf (September 16, 2011 in Arlington, VA)
CapitolJS (September 18, 2011 in Washington DC)
onGameStart (September 22-23, 2011 in Warsaw, Poland)
Node.js Conference Italy (September 24, 2011 in Brescia, Italy)
jQuery Conference Boston (October 1-2, 2011 in Boston, US)
SenchaCon 2011 (October 23-26 in Austin, TX, USA)
Full Frontal JavaScript Conference (November 11, 2011 in Brighton, UK)
indieconf 2011 (November 19, 2011 in North Carolina, US)

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • description
  • Reddit
  • TwitThis
  • Simpy
  • StumbleUpon

One Comment

  1. Arnout says:

    Chrome never disabled their websockets, they only upgraded to the latest specification.

Leave a Reply

© webdevpublishing 2011