Archive for the ‘WebDev’ Category

JavaScript Execution Context, Closure, Eval and “this” Keyword

Saturday, September 13th, 2008

These are a few key concepts of JavaScript language that developers should know: execution context, activation object, variable instantiation, scoping, closure, eval and "this" keyword. Knowing these would help one tremendously in Ajax development. For example, when you write an inner function, you know that you can access the ...

Ajax-heavy Applications on Google Chrome

Wednesday, September 3rd, 2008

"This is the best browser so far" is that I can say after being a Chrome user for one day.  First of all, I was glad to find out that I haven't found Chrome breaking any web application yet, especially Ajax applications. I was a little concerned about this, given that ...

The 64KB Java Language Problem - Lesson Learnd from Using Rhino to Process JavaScript

Monday, September 1st, 2008

This entry documents a few tips related to using Rhino JavaScript Engine to process JavaScript code. If you are using Rhino, you probably won't run into the issues covered in this post during development or even testing. However, you are fairly likely to run into these issues after your system ...

Razor Profiler - An Automated JavaScript Profiling Tool

Saturday, August 16th, 2008

Razor Profiler (beta), an online Ajax profiling tool, is available for public review now at http://www.razorspeed.com. What Is it? Razor Profiler(beta) is a web-based Ajax profiling tool to help web developers understand and analyze the runtime behavior ...

OpenAjax Publishes Future Browser Feature Wish List Results

Thursday, July 17th, 2008

What does the Ajax community want from future browsers? How are these different requests prioritized? Web developers have done amazing things with Ajax for both Web 1.0 and Web 2.0 applications, but what barriers need to be removed to enable the next generation of browser-based innovations? The future of Ajax ...

Time to Vote - Ajax Feature Wish List

Monday, June 23rd, 2008

What would you like to see in the next generation of browsers? Can you help to make the web a slightly better place than where it is today? Various people from the Ajax community have put together a good list of feature requests (a total of over 40), collected at OpenAjax ...

OpenAjax F2F Meeting at NYC

Monday, March 24th, 2008

The F2F meeting of OpenAjax Alliance at NYC on March 21st worked out really well in my oppinion. As a result of the last F2F meeting in October 2007, we formed a new task force called "Runtime Advocacy Task Force" at OpenAjax. The goal of Runtime Task Force is to collect ...

Possible Solutions to Web Security Issues

Tuesday, March 11th, 2008

The “Same Origin Policy” is at the core of browser’s security model. Under the “Same Origin Policy”, a web resource can only interact with another web resource if and only if both resources are from the same origin. However, “Cross site scripting” and “cookie” both brings security challenges in ...

A Study of Ajax Performance Issues

Tuesday, January 22nd, 2008

Introduction: Ajax application performance largely depends on the performance of JavaScript execution and browser DOM operations. I've heard various people saying various things about Ajax performance. Some people say JavaScript is just too slow. Some people say that the problem is not JavaScript but rather Browser DOM being too slow. ...

Programmatic DOM Node Manipulation on IE

Wednesday, January 2nd, 2008

Programmatic DOM node manipulation is actually not straightforward, given that Internet Explorer has so many unique DOM behaviors. I ran into quite a few issues recently when I was playing with Dojo Toolkit . I didn’t find a thorough answer to my questions when going through Dojo source code (Pardon ...

Is This a Little Too Much Hacking for Prototype.js?

Wednesday, November 21st, 2007

Prototype.js is a popular Ajax toolkit for web developers. I have enjoyed using it despite the complains I heard from people about how Prototype.js does too much JavaScript hacking that breaks other people's code. One of the common one complains is that Prototype.js adds methods to built-in JavaScript objects ...

Low Level Ajax Coding GotCha

Saturday, November 17th, 2007

People say Ajax is hard...and this may be why. I spent some time playing with Bob Buffone's newest work on Ajax over the last few days. Bob built an xModify processor that runs on either jQuery, Dojo or Mootools. The xModify processor is powerful but quite lightweight (10KB without gzip). There ...

Building a WebSite Using Java?

Tuesday, November 6th, 2007

Here is a question that I have been pondering on and off for quite a while: Why do "cool kids" choose Ruby or PHP to build websites instead of Java? I have to admit that I do not have an answer. Why do I even care? Because I am a Java developer. ...

OpenAjax Hub 1.0 and InteropFest

Saturday, September 22nd, 2007

OpenAjax Alliance has made substantial progress in the last 12 months since its inception. The cornerstone is OpenAjaxHub 1.0 (OaaHub 1.0). OaaHub 1.0, an open source project under Apache V2 license, focuses on interoperability - it enables different Ajax components to inter-operate with each other using a "pub/sub" mechanism while ...

Dojo Grid and Open Source Community Contribution

Monday, September 17th, 2007

My company, Nexaweb, together with SitePen, Mozilla Foundation, Redfin, etc, joined force in making an important contribution to the open source community. See SitePen, Mozilla Foundation, Nexaweb Technologies, Redfin, & SnapLogic Announce Open Source Contribution of TurboAjax Group’s High-Performance Grid Widget to Dojo Foundation. This is interesting not only because it bridges a ...