Archive for the ‘JavaScript’ Category
Wednesday, May 30th, 2012
JavaScript guru Douglas Crockford has left Yahoo, the company he is most associated with, and has joined eBay’s PayPal.
However, PayPal’s decision to hire Mr. Crockford was not an easy one. He went through a grueling interview process. Club AJAX has managed to get ahold of the transcript of that interview, and we have posted the top ten questions Mr. Crockford was asked.
(more…)
Posted in AJAX, humor, JavaScript | 1 Comment »
Monday, December 5th, 2011
In my previous article I showed the differences between scope and context, basic problems that arise and how to fix them. If you are just using some JavaScript and maybe jQuery, an understanding of scope is all that is needed to get you by. Once you start using objects or namespaces however, you’ll start to run into issues with context and will need to use the keyword this. But when you get into object oriented JavaScript, you’ll need an advanced understanding of context and how to make it work for you. To do this, we’ll use the call() and apply() methods, and then a backwards compatible version of the new feature Mozilla recently released in JavaScript 1.8.5 called bind().

(more…)
Tags: AJAX, bind, constructor, context, Function, functions, JavaScript, methods, Object Oriented, objects, Prototype, scope
Posted in AJAX, JavaScript, original content | 2 Comments »
Tuesday, November 29th, 2011
In forums and other places I often see people incorrectly use the term scope when they should be using the term context. Scope applies to the variable and functional access of a function, whereas context is the property and method access of a function. Essentially, scope is function-based, and context is object-based.

(more…)
Tags: context, functions, JavaScript, methods, objects, properties, scope, variables
Posted in AJAX, JavaScript, original content | 2 Comments »
Wednesday, November 2nd, 2011
MDV or “model-driven views”, eschews the concept of widgets in favor of template-based views which are behavior-based and update themselves when the data has changed.
Max Motovilov gave a presentation on MDV which was enlightening and thought provoking. He showed how he leveraged The Dojo Toolkit to create behaviors and data stores which update his views through his custom-built template system.
Max’s detailed presentation can be seen here, and you can also see the examples he used on GitHub.
Tags: MDV
Posted in AJAX, JavaScript, Meeting, original content, Presentation | Comments Off
Tuesday, June 14th, 2011
For object inheritance, I had been using the traditional method of assigning methods and properties to the function’s prototype. Because my project was relatively simple, I could get away with this for a while. But as the project grew in scope, using the prototype started proving unwieldy. It worked, but the code was getting messy and hard to read. I decided it was time to implement an inheritance system. Not too complex, just something to help me organize my code. I ended up creating what I call my Declare Inheritance Helper.

(more…)
Tags: Inheritance, JavaScript, Object Oriented, OO
Posted in AJAX, JavaScript, original content | 7 Comments »
Friday, April 1st, 2011

“Obviously, due to the success of jQuery and the lack of base-knowledge of JavaScript”, Brendan explained at a recent gathering, “JavaScript is a huge failure. I’ve redesigned it to look like jQuery, and will implement it, retroactively, into the web.” (more…)
Tags: April Fool, Brendan Eich, ECMAScript, Harmony, JavaScript, jQuery
Posted in AJAX, humor, JavaScript, original content | 6 Comments »
Monday, January 10th, 2011
A new video is posted from the January 4th 2011 Club AJAX meeting. Basic and advanced code for Ajax apps. The main subjects covered were CSS organizing, and OO-CSS concepts, and an HTML5 Video Player with custom JavaScript.
See the video here.
Tags: AJAX, CSS, HTML5, HTML5 Video, JavaScript, OO CSS
Posted in AJAX, CSS, CSS3, HTML5, HTML5 Video Player Development, JavaScript, Meeting, original content, Video | 2 Comments »
Thursday, January 6th, 2011
This is the second video in the Dev vs Dev series, using the XtraNormal movie maker. What does it sound like when a front end developer suggests to a back end developer that a project should use JavaScript? It might sound something like the following.
(more…)
Tags: AJAX, ASP, Dev vs Dev, Java, JavaScript, PHP, Video, XtraNormal
Posted in AJAX, Dev vs Dev, humor, JavaScript, original content, Video | 3 Comments »
Tuesday, December 28th, 2010
What does a conversation between a new front end developer and a back end developer sound like? Using XtraNormal, I’ve created a video based on past experience. While this focuses on a Java developer, it is a compilation from ASP and PHP guys as well. If you’re a back end developer you should still see the humor in this. And if you don’t — then you resemble that remark!
If you’ve never seen an XtraNormal video, they don’t move a lot (my wife asked if they were going to fight). They are animated characters having a conversation. I think the humor comes out of the lack of emotion due to the computer generated voices.
(more…)
Tags: Dev vs Dev, humor, Java, JavaScript, Video, XtraNormal
Posted in AJAX, Dev vs Dev, humor, JavaScript, Video | 9 Comments »