Programming


Monday, August 7th, 2006

JavaScript Model-View-Controller with Dojo toolkit

Category: Dojo, Framework, Programming

In this new post on his blog, Alexander Netkachev demonstrates how to create a Model/View/Controller framework in Javascript with when help of the Dojo Toolkit. My goal for this article is to write a simple JavaScript component that can show a power of the language. The component is a kind of the HTML ListBox (“select” Read the rest…

Posted by Chris Cornutt at 8:23 am
Comment here

++++-
4.1 rating from 31 votes

Friday, August 4th, 2006

The Dangers of Browser Detect

Category: Browsers, CSS, Editorial, JavaScript, Programming

Picking up on the Rafael Lima’s new script to provide browser-detecting CSS selectors, PPK cautions on the dangers of browser detection. Rafael Lima’s script adds classes to HTML elements based on the results of an old-style (ie. purely navigator.userAgent-based) browser detect. The purpose is to allow web developers to add CSS rules for one browser Read the rest…

Posted by Michael Mahemoff at 10:09 am
8 Comments

++++-
4.1 rating from 60 votes

How To Load And Parse XML Data Without ActiveX

Category: IE, Programming

In this post from Dean Edwards, he quickly shows off a feature of Internet Explorer that could replace the use of ActiveX for XML communication – XML data islands. A little known but cool feature of Internet Explorer is it’s support for XML data islands. Basically, you can embed some XML data in a page Read the rest…

Posted by Chris Cornutt at 8:12 am
5 Comments

+++--
3.6 rating from 37 votes

Wednesday, August 2nd, 2006

Build an RSS Feed Reader using Ajax and PHP

Category: Ajax, PHP, Programming

ScratchProjects.com has posted both Part one and Part two in a new tutorial series, this time with a focus on creating a RSS feed reader by combining PHP and Ajax. In Part one they lay the foundation, explaining how the tutorial will work, what the parts are, and what the parts do. Then, it’s on Read the rest…

Posted by Chris Cornutt at 9:56 am
8 Comments

++++-
4.1 rating from 77 votes

Monday, July 31st, 2006

Creating an Ajax Login Page with Dojo/Zend Framework

Category: Dojo, PHP, Programming

Alexander Netkachev shows, in this new post on his site, how to create an Ajax-based login page with the help of the Dojo library and a new offering from Zend – the Zend Framework. The Zend Framework is a MVC-based framework written in PHP. A few days ago I understood the right usage of the Read the rest…

Posted by Chris Cornutt at 8:14 am
6 Comments

+++--
3.7 rating from 58 votes

Thursday, July 27th, 2006

Cross-site Ajax (from OSCON 2006)

Category: Ajax, Programming

Kevin Yank, SitePoint’s “reporter in the field” at this year’s OSCON has a new post on the SitePoint Web Tech blog with information and his impressions about a talk given by Joseph Smarr, a Plaxo developer on cross-site Ajax. Mashups, if you’ve been living under a rock, are web applications built by combining services provided Read the rest…

Posted by Chris Cornutt at 3:35 pm
2 Comments

++++-
4 rating from 31 votes

Ajax and the Spring Framework with TIBCO General Interface

Category: Articles, Examples, Programming, TIBCO

Brian Walsh has written an exceedingly well documented tutorial on combining Spring MVC, XStream and TIBCO GI. The focus is on using GI at the view layer while making only incremental changes to an existing Spring MVC application (the application from the Spring MVC step-by-step tutorial in this case, which you’ll have to step through Read the rest…

Posted by Dietrich Kappe at 2:49 pm
1 Comment

++++-
4.1 rating from 34 votes

Wednesday, July 26th, 2006

Planning an Ajax Boot Camp

Category: Programming, Workshop

In an effort to help budding Ajax developers out there (or somewhat seasoned ones looking for a refresher), Eric Pascarello is organizing a series of “Ajax Boot Camps” to help show them the way. I have been helping people work with Ajax applications since Ajax has become popular. My goal was to create a course Read the rest…

Posted by Chris Cornutt at 8:18 am
2 Comments

++---
2.9 rating from 18 votes

Tuesday, July 25th, 2006

Rediscovering Flyweight for Javascript

Category: Editorial, Programming

We posted about memory problems the other day (“the biggest Ajax problem” :-) and while it’s always good practice to clean up, another good practice is to avoid allocating excessive memory in the first place. To that end, I’ve recently been experimenting with the Gang Of Four Flyweight pattern within Javascript. Flyweight works like this. Read the rest…

Posted by Michael Mahemoff at 6:05 pm
3 Comments

+++--
3.9 rating from 23 votes

Friday, July 21st, 2006

A Java-based HTTP Proxy for Ajax

Category: Java, Programming

On the Java.net blog of Greg Murray, he demonstrates a method of creating a proxy client in Java for an XMLHttpRequest of your choice. One drawback of working with AJAX is that an AJAX-based client cannot make calls to URLs outside of its domain, which means that it cannot access services located on another server. Read the rest…

Posted by Chris Cornutt at 6:53 am
5 Comments

++---
2.6 rating from 41 votes

Monday, July 17th, 2006

The Importance of Maintainable JavaScript

Category: JavaScript, Programming

There are three levels of Javascript programming that developers should go through: beginning programming with popups and roll-overs everywhere advanced Javascript coding with site-enhancing functionality and loads of bells and whistles writing maintainable Javascript That last one throw you for a loop a bit? Well, read on… It’s one thing to develop code that runs Read the rest…

Posted by Chris Cornutt at 6:48 pm
2 Comments

+++--
3.6 rating from 25 votes

AJAX pagination made simple (with Symfony)

Category: PHP, Programming

Users of the PHP framework symfony are no strangers to easy-to-use functionality, and in this new post on the symfony blog, they share yet another – an Ajax pagination method. Paginated lists in web pages imply specific controls to navigate across pages (link to previous and next page, link to a specific page, etc.). And Read the rest…

Posted by Chris Cornutt at 7:46 am
7 Comments

+++--
3.7 rating from 284 votes

Thursday, July 13th, 2006

Integration of Spry and PHP/MySQL

Category: Framework, PHP, Programming

Mike Kornienko writes in this new blog entry about his experiences (complete with code) integrating the Spry Ajax framework into a simple PHP/MySQL application he develops: Adobe have recently released its Spry Ajax framework for public beta-test by developers and I’ve been playing with this baby for a while. And here’s some kind of report Read the rest…

Posted by Chris Cornutt at 6:51 am
Comment here

+++--
3.8 rating from 39 votes

Ajax as a Remedy for the Cacheability-Personalization Dilemma

Category: Programming, Usability

In his latest post from his blog today, Michael Mahemoff looks at a dilema that faces many an Ajax-enabled site out there trying to keep things lively and fresh – how can you personalize content *and* make the pages cacheable and bookmarkable? Making it happen is actually somewhat simple, but there are a few things Read the rest…

Posted by Chris Cornutt at 6:41 am
1 Comment

+++--
3.3 rating from 18 votes

Wednesday, July 12th, 2006

J2EE and AJAX: AJAX with Servlets

Category: Java, Programming

The use of J2EE in development work has been growing at a staggering pace over the last few years. Developers are finding its environment and capaitilities to be just what they need. One thing that it’s missing though, is a good method to interact with the user. Sure, there are the usual web interaction methods, Read the rest…

Posted by Chris Cornutt at 3:07 pm
9 Comments

+++--
3.3 rating from 54 votes

A Basic Approach to Server-side Data Validation with AJAX

Category: JavaScript, Programming

Input validation can be one of the biggest hurdles in a web application (besides being one of the most important). As much as we as developers hate to think about it, there will be users out there that try to stretch the limits of the app, finding the weak spots. Don’t let input validation be Read the rest…

Posted by Chris Cornutt at 7:03 am
8 Comments

+++--
3.3 rating from 35 votes