We need official AJAX library from CI team ! |
[eluser]Mossab Alzeeny[/eluser]
Hello everyone, Please... let me tell you my little Sad story :-S I'm working on my first project using CI, first i had to make a WHOLE Users system, but Thx to DX Auth did the job and even gave me more functions that i wouldn't have dreamed of ^^ Then.... i needed to use ajax. ![]() first, i searched all over the wiki, and found few libs. but i picked (AJAX for CodeIgniter) i didn't like the way it works actually ( to make a link, u'll have to use a function, to use a button u have to use Another function , and so on ) and also there's no need to use a WHOLE js framework just to call files through Ajax ... dont u think? i know this library does more than just ajax files calling, this is the point. we need Ajax library, not a JS library on top of all of this, the prototype lib, conflicted with the jquery lib (i used it for another purpose), and when i solved the problem, guess what ? there was a problem with the prototype lib. it self, so i said, (*beep* it) .. i worked on this thing for almost 7 hours and... progress : 0, ZERO, NONE then a brilliant idea came to my mind, why dont i use just the normal way to ajax things (add JS code to haeder, use ajax() function , code attached)!!! guess what again ? it WORKED ![]() after a real hard day, i came up with few tips : 1- never give up with a code, because there's always a solution ( doesn't mean that u can forget your Deadlines 2- always save your own old codes, could help u someday 3- help ppl by showing the problems you had, maybe someone will help you, or maybe you'll help someone by showing him that, THERE'S NO SOLUTION FOR THIS ONE,!! lol and the Most important thing, We need an Official AJAX library from Codeigniter Team, no that i think that no one can make a good lib. but only that im Pretty sure, many many people will get through all of this problems over and over, until we get the official library so what do u think ? * P.S: i know that many of you guys thinking ( lazzy ass, go make your own library, stop crying about it ) Well, THANK YOU :-P But you cant say we dont need it , Kind Regards. Mossab |
Welcome Guest, Not a member yet? Register Sign In |