Cross posted from darthsid While implementing caching in a recent rails project I came across some typical caching issues. In a lot of pages the content is same for all users but certain components in them have user specific actions. … Continue reading
Category Archives: ajax
Today I found two best API sites. One is http://www.gotapi.com.
This site provides APIs of almost all languages.
The other API site which is only focused on Rails is http://www.railsbrain.com/. I like this most. You can also download this API. It is AJAX based fast, useful.
I have provided the source code of the ajax based drag drop tree in rubyonrails in one of my previous posts.
I found some of the people are getting problems to incorporate the code into their running applications so i am providing a sample rails application in which all the code for tree is already been […] Continue reading
There is no way to upload files using AJAX. How Gmail does it then? Well, the answer is using <iframe>. Here is a post that describe this technique in detail. Infact we are using this technique from months, obviously inspired by Gmail. ;-)
update: Technically speaking, it’s not Ajax. Just an iframe hack. You are […] Continue reading
I found this library a bit interesting. One that appeals me is the ability to define start state and end state through CSS
See in action here.
Ajaxified Drag Drop Tree in RoR
I m providing a very generalized use case where the tree fits in a good position. Here it is…
Consider a model Item, a controller Items. Item model is using a fabulous acts_as_tree and we are going to put a seed for Item to grow it in an ajax tree […] Continue reading
Ajaxified tree comes with the following features
1.) Containing the ajax links for the tree items using link_to_remote
2.) Highlighting the selected node of the tree and other custom effects.
3.) Two way syncronization between the tree nodes and the currently displayed item on the web-page.
4.) Supports the tree architecture provided by the acts_as_tree.
5.) Clear and self traversing […] Continue reading
We have been doing a lot of ajax development recently. We have been developing ajax applications with xajax, the ajax library in php. Also we have been using ruby on rails, with the scriptaculous and prototype library.