Welcome Guest, Not a member yet? Register   Sign In
Best AJAX solution for CodeIgniter?
#11

[eluser]Vince Stross[/eluser]
That is the way I have always done it. My original post/question to the group was to see if anyony thought this was not a good idea. It is SUPER EASY but if you are doing a lot of it on one page then you are loading the entire CI framework for each AJAX call. Seems top-heavy but it works really well.

Everyone seemed to think this was okay and I don't want to keep seperate code laying around for all my AJAX database interactions so why not!
#12

[eluser]Nick Husher[/eluser]
According to what Derek Allard has said in the past, there will be a way of swapping out JQuery with other javascript toolkits, so don't get too freaked out. I know that job one for me after CI2 emerges will be writing a YUI variant.

Regarding the original topic, a few months back I wrote an extensive howto on ajax-style commenting in Codeigniter: Flash Ajax effect seen in Rails.
#13

[eluser]Yunus Khan[/eluser]
You can use Jquery.
It is a very good library.

Please see this site www.ajaxrain.com




Theme © iAndrew 2016 - Forum software by © MyBB