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: png.js, pouchDB, finding memory leaks in JavaScript, Page Visibility API

Libraries and frameworks

png.js (by Devon Govett) is a png decoder in JavaScript using Canvas (also see bmp.js, which he released around the same time, but understandably got less attention)
pouchDB (by Mikeal Rogers) is a JavaScript implementation of CouchDB. Check out ReadWriteWeb’s writeup
Sprite3D: simple controls on top of CSS transitions and transforms
yal.js is a micro JS loader (but it doesn’t seem to perform very well compared to LABjs)
mobiscroll is a wheel date/time picker jQuery plugin for mobile
VisualSearch.js is a cool little input box enhancer. Perhaps there’s a bit too many dependencies though (jQuery, jQuery UI, Underscore, Backbone)?


Chrome Developer Tools: Put JavaScript memory under control – nice guide to finding leaks
Fixing the JavaScript typeof operator (JavaScript, JavaScript…)
Understanding JavaScript Function Invocation and “this” (Yehuda Katz)
Introduction to the Page Visibility API (Nicholas Zakas) (see the W3C working draft)
Javascript Unit Test Environment (JUTE) Now Open!
Functional Parameters – a neat JavaScript Design Pattern
Kind of a pointless activity, but Stoyan Stefanov has compiled a list of 535 ways to reload a page with JavaScript, and someone has built a script based on it that uses over 1600 ways to do the same thing. Oh dear!
Building Mobile JavaScript WebApps With Backbone.js & jQuery: Part I
31 days of Canvas tutorials
Huge debate about script loaders on GitHub (via reddit)
Are We Fast Yet? (for HTML5 games) is a look at the problems with garbage collection pauses, with the conclusion that requestAnimationFrame isn’t (yet) practically useful for games compared to setTimeout or setInterval.
Data URI and Deferreds For Great Justice
Let’s Make a Framework: JSLint, Makefiles
Sencha Touch now has interactive charts
Extending built-in native objects. Evil or not? (by kangax)
Moz JS Team Newsletter 7/29-8/9


(audio) NodeUp episode 3 has been released
(slides) Javascript Everywhere From Nose To Tail
(video) Google HTML5 Web App Hackathon
(video) Node.js Meetup: Distributed Web Architectures
(video) YUI Open Hours (August 11, 2011)
(slides) Mobile WebKit Optimizations & Tools (Glan Thomas and Andrew Hedges)
(slides) The Rise of PhoneGap
(video) Nodester: Create & Deploy a Node.JS App in Less than 2 Min!

GitHub Most Watched This Week (JavaScript)



node 0.5.4
SproutCore 2.0 (via JavaScript Weekly)
HTML5 Boilerplate 2.0

Upcoming Events

innerHTML’s storied past, and HTML’s shiny future (Paul Irish) (SF Tech Talks) (August 16, 2011 in San Francisco, CA, USA)
GamesJS: Javascript and HTML5 Games Kickoff Meeting (August 17, 2011 in San Francisco, CA, USA)
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)
High Performance Mobile (Steve Souders) (August 30, 2011 in Mountain View, CA, USA)
NodeConf Summercamp (September 5-7, 2011 in Walker Creek Ranch, CA, USA)
jQuery, JS Mobile and Paul Irish on HTML5 (SFJS) (September 6, 2011 in San Francisco, 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)
HTML5.tx (October 8, 2011 in Austin, Texas, USA)
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

Leave a Reply

© webdevpublishing 2011