Author Archives: Devang

IBM Rational EGL : Simplified Web 2.0 development

Web 2.0 and RIA provide next generation of web applications. These applications have following properties-

Capabilities of a desktop application with manageibility of web applications
mash related data from different sources
Focus on client side processing
Simple but powerful interfaces
Collaborative

Why it is difficult to develop web 2.0 application?

Complex technologies involved like SOAP, JSON, Javascript, Ajax etc.
Most tools and solutions [...]

Posted in AJAX, WEB 2.0, javascript | Tagged , , | Leave a comment

Client Side Storage/Persistence

Why client side persistence ?
Web vs Desktop: Desktop allows a lot of options to store data on the client side as it allows us to access information from local files. But the web has a limitation in that respect. Wen do allow some mechanisms to store and load data locally one of them is cookies.
What [...]

Posted in WEB 2.0, html, javascript | Tagged , , | Leave a comment

Getting iFrame’s Body content on IE and Firefox

A few days back i was working on a  problem for which i had to read contents from a body tag of an iframe. I tried the normal code which any developer will use :

var bodyContent=window.frames[’frameName’].document.body.innerHTML;

To my surprise it was not cross browser compatible.
It didn’t work on both IE and Firefox.
After googling i figured it [...]

Posted in WEB 2.0, javascript | Tagged | Leave a comment

Enable bookmarking and back button in ajax applications

One of the problems when using AJAX in an application is that we cannot bookmark pages and we cannot use browser’s back button. I have developed lot of application based on Ajax and faced this problem myself.
This problem exists even in Gmail , Google Maps etc.
I came  across a solution which can solve bookmarking and [...]

Posted in AJAX, Uncategorized, WEB 2.0, javascript | Tagged , , , | Leave a comment

jQuery Tools - Explored

jQuery Tools gives you tabs, tooltips, accordions, overlays, high usability, striking visual effects and all those “web 2.0″ goodies that you have seen on your favourite websites.
This library contains six of the most useful JavaScript tools available for today’s website. The beauty of this library is that all of these tools can be used together, [...]

Posted in Uncategorized, WEB 2.0, javascript | Tagged , , | Leave a comment

Reading a file from file system using javascript

Reading a file into javascript variable is a issue anyone can face while developing client side application.
The problem has different solution depending on platform/browser
Solution

1) Windows/IE : Use the available FileSystemObject. It allows one to read and write files from local machine.

2) Firefox: It does not have a object corresponding to FileSystemObject in IE. So [...]

Posted in PHP, javascript | Tagged , | Leave a comment

robot.txt - guiding the crawler

Robot.txt is meant for crawler and spiders. Using robot.txt web masters can guide and instruct crawler to specific areas of the website. Web masters can disallow crawler’s access to certain pages and folders of the website. One can also specify the crawl speed with which a crawler can index the site.

“Robot.txt is placed at [...]

Posted in SEO, WEB 2.0 | Tagged , , , | Leave a comment

php - Supress-warnings

Yesterday i was working on PHP’s file handling functions. Due to default permissions i was getting default warnings generated by PHP Engine. I decided to suppress the warning messages. Found out a very simple solution for this problem.
Just need to put a @ before calling file handling functions.
$handle = @ fwrite(”abc.txt”, “w”);
After this warning messages [...]

Posted in PHP | Tagged | Leave a comment

Solution for IE 6 & 7’s min-width, max-width, min-height, max-height problem

Problem: IE 6 and IE 7 does not support min-width, min-height, max-width, max-height css properties. CSS code with these properties work very well in other browsers.
Solution: IE provides Dynamic Properties to solve this problem. IE provides “expression“  propert/function which is evaluated at runtime and the value is assigned to the CSS property.
For example: Lets look [...]

Posted in css, javascript | Tagged , , | Leave a comment

TWEET - Best jQuery plugin for Twitter

I searched the internet for jQuery plugin which can get me twitter feeds in an onobstructive and simplistic manner.I found jTwitter and TWEET and few others. I compared these two plugins and concluded that TWEET is the best. The ease of integration and the supplementary which one gets is awesome.
Download TWEET
Download jQuery
How to use it?
1) [...]

Posted in WEB 2.0, javascript | Tagged , , , | 1 Comment