Monday, June 16th, 2008

Enhanced Class Inheritance with JavaScriptMVC

Category: JavaScript, Programming

Brian Moschel from the JavaScriptMVC project wrote in to tell us about their recent efforts extending John Resig’s earlier Simple Class Inheritance work. In case you missed it, John’s blog talked about his efforts to take the best of the many efforts to simulate classical inheritance in JavaScript and reduce them to a simple, easy-to-use Read the rest…

Posted by Ben Galbraith at 7:00 am
1 Comment

4.1 rating from 26 votes

Saturday, February 23rd, 2008

Ojay – a chaining wrapper for the YUI

Category: Ajax, Programming, Yahoo!

JavaScript is a language that can be approached from many angles. Historically it was UI-driven web developers that started playing with it, but lately and with the advent of large JS applications “the world’s most misunderstood programming language” is also written by people that feel much more at home in higher programming languages. The nature Read the rest…

Posted by Chris Heilmann at 6:55 am

3 rating from 49 votes

Wednesday, September 12th, 2007

ActiveState announces The Open Komodo Project

Category: Programming, Toolkit

ActiveState have announced the launch of The Open Komodo Project which will offer an open source code base from which to develop integrated development environments. The Open Komodo Project, based on the award-winning Komodo IDE, is a new initiative by ActiveState to create an open source platform for building developer environments. The Open Komodo Project Read the rest…

Posted by Rey Bango at 8:00 am

3.3 rating from 31 votes

Saturday, June 30th, 2007

How to write a Google Gadget

Category: Google, JavaScript, Programming, Widgets

I’ve written some notes on the Google Gadget API and how to write a gadget, targeted at developers who already know Ajax. What’s a Gadget? The gadget is an XML file sitting on your server. In my case, It will get cached, so effectively it must be a static file. The user adds your Read the rest…

Posted by Michael Mahemoff at 8:13 am

4.3 rating from 26 votes

Wednesday, January 31st, 2007

Eval’ing with IE’s window.execScript

Category: JavaScript, Programming, Remoting

Plaxo’s Joseph Smarr has been playing with on-demand javascript, i.e. downloading extra JS code after the page has already loaded. When you grab the code via a remote call and eval() it, it doesn’t get into global scope. So here’s how he dealt with it. Here’s a simplified version of the situation we faced: function Read the rest…

Posted by Michael Mahemoff at 3:40 pm

3.9 rating from 71 votes

Sunday, January 14th, 2007

JavaScript Scripting Essentials

Category: JavaScript, Library, Programming

Dan Webb asks what are your JavaScript essentials? Those bits and pieces you can’t live without that get copy/pasted from project to project. His pragmatic list includes the $ function, getElementsByClassName, Dean’s event handling, the JS 1.6 array methods, and the DOMContentLoaded event. His full script that he guarantees he _won’t_ support is here. Do Read the rest…

Posted by Rob Sanheim at 4:47 pm

3.9 rating from 33 votes

Sunday, December 3rd, 2006

Testable Ajax Seminar

Category: Programming, Recording

Googlers Joe Walnes and Adam Connors gave a presentation on testable Ajax back in September (we didn’t cover it at the time) … “Does my button look big in this? Building testable AJAX applications.” at the Google London Test Automation Conference. The theme is how to automate website testing with all the complexity Ajax adds. Read the rest…

Posted by Michael Mahemoff at 4:18 pm

4.1 rating from 23 votes

Tuesday, October 3rd, 2006

Dynamic Graphics in the Browser

Category: Canvas, Programming, UI

Dynamic graphics inside the browser are starting to become a little bit more practical, thanks to increased support for Canvas and SVG. I recently discussed eight competing techniques for generating dynamic graphics in an Ajax application, each with their own implications for portability, usability, and performance. The following techniques are descibed: SVG Canvas Dynamic images Read the rest…

Posted by Michael Mahemoff at 6:21 am

3.7 rating from 44 votes

Wednesday, September 20th, 2006

AJAX MVC (so to speak)

Category: JavaScript, PHP, Programming

Ever feel like, when you’re coing up that next great Ajax application, that you’re doing the same things over and over again? Like there has to be something better out there to help you make development of common functionality a lighter and easier task? MVC (Model/View/Controller) just might be what you’re looking for, and in Read the rest…

Posted by Chris Cornutt at 7:20 am

3.2 rating from 47 votes

Tuesday, September 19th, 2006

Objectifying JavaScript

Category: JavaScript, Programming

Javascript is just like any other language – well, sorta. It has the power to make your web applications really earn their keep and perform for the user. It also can be confusing if things start getting pretty complex. Thankfully, there’s something that can help you compartmentalize your code and make it simpler to use Read the rest…

Posted by Chris Cornutt at 10:20 am

3.4 rating from 25 votes

Friday, September 15th, 2006

Eliminating async Javascript callbacks by preprocessing

Category: Programming, Toolkit, XmlHttpRequest

According to Harry Fuecks in this post on the SitePoint PHP blog, using Ajax should be easier: The Catch 22 of AJAX is, for the sake of an easy life, most of the time we want to write “synchronous code” but asynchronous is the only way to avoid some rather nasty usability issues. This means Read the rest…

Posted by Chris Cornutt at 8:26 am

3.1 rating from 51 votes

Friday, August 25th, 2006

Lightbox using iFrames instead of AJAX

Category: JavaScript, Programming

The Find Motive blog has a quick tip for Lightbox users looking for a little bit different way to tdisplay the images. They show how to push the information into an iframe instead. Particle tree’s hack of Lightbox allows other content besides images to be put into a Lightbox, but it uses AJAX to pull Read the rest…

Posted by Chris Cornutt at 9:02 am

3.5 rating from 53 votes

Tuesday, August 15th, 2006

Survey of Javascript Inheritance Techniques

Category: JavaScript, Programming

Josh Gertzen of Thinwire has written up a detailed survey of techniques for OO-style inheritance in Javascript, leading up to the technique he’s recently developed to overcome flaws in the existing approaches. I set out to see if I could devise a working design of my own. It took me about a week to work Read the rest…

Posted by Michael Mahemoff at 6:05 pm

4.2 rating from 29 votes

Thursday, August 10th, 2006

Adding AJAX to a Website step by step, Part II

Category: Library, PHP, Programming

Back with the second part of his postings on adding Ajax to a website, Joshua Eichorn has this new item on his blog today (picking up from this previous post) – a look at polling the server for the latest data with the HTML_AJAX PEAR package. I have a lot more change’s i’d like to Read the rest…

Posted by Chris Cornutt at 7:49 am
1 Comment

3.5 rating from 38 votes

Wednesday, August 9th, 2006

JavaScript Tricks And Good Programming Style

Category: JavaScript, Programming

A wise man once said that one can never have too many Javascript hints and tricks. Well, okay – so maybe I made the man up, but the tips are real and there are some over in this new post from Alexander Kirk. I have been programming for about 10 years now, and I am Read the rest…

Posted by Chris Cornutt at 4:28 pm

3.3 rating from 43 votes

Tuesday, August 8th, 2006

Adding AJAX to a website step by step

Category: PHP, Programming, Toolkit

In his latest post, HTML_AJAX package developer Joshua Eichorn shares his methods for adding Ajax to an example website (with HTML_AJAX‘s help, of course), and he shows it step-by-step. When looking at a adding AJAX you have a couple decisions you’ll want to make up front. One is what tools your going to use. In Read the rest…

Posted by Chris Cornutt at 1:53 pm
1 Comment

3.7 rating from 59 votes