By Devang | September 14, 2009
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 [...]
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 [...]
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 [...]
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 [...]
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, [...]
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 javascript, PHP |
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 [...]
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 PHP |
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 [...]