News, Views, Rants and Raves About Technology and More

Archive for the ‘AJAX’ Category

Internet Explorer’s Trailing Comma Woes

with 8 comments

Internet Explorer is notorious for breaking on trailing commas in JavaScript array declaration. e.g.

var obj = {
     a: 1,
      b: 2,

fails on IE, while all other browsers just ignore the innocuous trailing comma after second element.

Weeding out these commas from JavaScript code is absolute PITA. However, here is a regular expression search string I wrote to search such instances in the code.


Even better,
matches multiple new lines and comments.


Written by Brajesh

March 18, 2008 at 10:31 pm

Gmail Updated

leave a comment »

Gmail’s new version rolled out for me today, and first thing I noticed that it had reset my gmail chat config (basically I had switched off gmail chat), my greasemonkey scripts were broken and I had a firebug extension warning on top.

While I have no gripe about greasemonkey, resetting gmail chat setting means I’ve to check rest of my settings to be sure anything else is not broken.

New version seems quicker, with additional options in “More Actions” menu and updated “Contacts” section.

Written by Brajesh

October 30, 2007 at 2:34 pm

Desktop vs Web Apps

leave a comment »

The Internet browser is the new OS. What if a “thin client application” becomes thicker than the “Thick”s of the lot. The problem with web applications– “[…]is that they have tried too hard to make the web into a complete application platform, to the point where they don’t even bother holding themselves to the same standards by which desktop application developers are judged.”

Intersting blog- Uncov

Written by Brajesh

April 22, 2007 at 4:29 pm

Posted in AJAX, Coding, Trends, Web 2.0

Google ditches its SOAP API

leave a comment »

I noticed this on the very next day, when I was looking for some documentation on proxy auto configuration scripts support in the SOAP API. The replacement AJAX api not only has limited application (website only), but also it promises to show google ads beside the results.

Not that Google Search API has ever been very stable – it works almost only 80% of the time, so one has to pray and hope that it works with every call. Now even the support has been dropped and usage samples along with FAQ have been removed.

Damn! not good at all.

Written by Brajesh

December 19, 2006 at 1:37 pm

Posted in AJAX, Coding, Google, Search, WTF

AJAX, nice but just too much error prone

with 3 comments

AJAX is just too much error prone. I have had so many Gmail pages locking up within last few days. Moreover, sometimes page doesn’t refresh itself when tagging a message or marking unread/read.

Perhaps, the requirements are so complex that even mighty Google cannot churn out bug free interface.

Every time I see an AJAX implementation bug, I recall my earlier post on AJAX viability.

Written by Brajesh

December 7, 2005 at 12:51 pm

Posted in AJAX, Google

Google Reader

leave a comment »

Now this one was due from Google, and appeared without the usual Google Chaos. A RSS Feed Reader competing with Bloglines, My Yahoo!

Being web browser based it has all the usual drawbacks and advantages. AJAX goodness on one hand and “Arrgh! The page has been corrupted” on the other.

Not a completely polished product yet, e.g. very few loading messages to notify user of any processing as in Gmail ( Alex Bosworth‘s Ajax Mistakes #1)

OPML importing from current feed reader(Suace Reader) failed on the first time with adding just one feed, and the second time it took ages to import. I am still not sure it has imported everything.

As of now it doesn’t seem usable enough for me. Even Google Sidebar is much more useful than Google Reader.

Written by Brajesh

October 7, 2005 at 3:45 pm

Posted in AJAX, Google, RSS

The AJAX Paradigm

with 3 comments

Paul Kedrosky has made an interesting comment over what we should expect from the new generation AJAX apps. He makes a comparison with in the bubble times.

Many people are making same mistakes again. Om Malik mentioned Writely as a thin client. Why would I need a word processer over web, the inherently unreliable media. And even if I do, why would I trust keeping my documents with someone [and somewhere] else.

To quote Paul:

“What I really want from Ajax apps is for them to do stuff that it’s too hard to do with binary apps. I want them to be sensibly integrated with online resources; I want them to support realtime collaboration. I want them to do different stuff from Word/Excel/Powerpoint, not just do the same thing with a different engine under the hood.”

Can’t agree more.

Written by Brajesh

September 27, 2005 at 1:40 pm

Posted in AJAX, Web 2.0