Categorized | PHP

CodeIgniter, jQuery & JSON How To – http://geekhut.org

Posted on 06 May 2010 by Abidoon


A comprehensive JSON tutorial for use with CodeIgniter and jQuery. geekhut.org

Tags | , , ,

25 Responses to “CodeIgniter, jQuery & JSON How To – http://geekhut.org”

  1. chchwy says:

    excellent !!

  2. 4st3r1sk says:

    @PortaCustodis Unfortunately ajax file upload is not possible without a hacky iframe or using a flash object to send the data – google for “uploadify”… it is not very codeigniter friendly afaik.

  3. 4st3r1sk says:

    @Maverickx89 I chose Zend because I really enjoyed the auto-complete and built in SSH.

  4. 4st3r1sk says:

    @acenspades yeah my screencasts began looking much better when I bought a mac…

  5. garztub says:

    very useful and easy to learn tutorial!
    thank u very much!

  6. acenspades says:

    Awesome tutorial!

    Now only if i were Superman so i can see what you are typing that’d be great.

  7. Maverickx89 says:

    Thank you! Gonna use this combination for my next project as the designer wants a very responsive application.

    Quick question: what is the reason you choose the Zend Enviroment for development? Im about to rechoose a good IDE to speed up my work, coz I didnt like EclipsePDT… phpDesigner 7 looks interesting.

  8. PortaCustodis says:

    Awesome video, thanks. How would I use this approach for an uploader? I have a CI uploader built but I’d like it to show the “success” or “failure” message inline, instead of on a separate page. What would be the best way to do this? Thanks.

  9. 4st3r1sk says:

    You are more than welcome, thank YOU for the kind comment.

  10. kpetrop1 says:

    Excellent! Thank you for the time and effort to put this together.
    I think that this is exactly what you tried to achieve, to put the small pieces together for everyone that needs a comprehensive guide on how to deal with CI JQuery and JSON.
    Thank you!

  11. idevelopwithphp says:

    This is cool, but it would be good if your Ajax was a progressive enhancement of a form that also worked without JavaScript enabled. The number of users on the web without JavaScript enabled is small, but it’s good a good practice to maintain.

  12. realcoke says:

    thank you so much for sharing.
    its easy to understand. very nice!

  13. netgear8085 says:

    amazing…. I will try it!

  14. 4st3r1sk says:

    Wow, thanks! So happy to help.

  15. TehTooya says:

    Very VERY useful. I was struggling with both jQuery Ajax and codeigniter… and in just 9 minutes you cleared away almost everything :) Thank you

  16. 4st3r1sk says:

    I totally agree – thanks for commenting.

  17. cancerish says:

    very informative, i’m a codeigniter+jquery developer my self, i remember when writing such a script would take me an hour at BEST, now i can write it in 5 minutes :D , thanks for the video, i always like watching how other developers code in order to improve my code

  18. jameserie says:

    Thank you too…

  19. zawdvfth1 says:

    Thank you very much. It’s easy to understand how to use jQuery ajax and get json bac under CI framework! Good tutorial.

  20. sreustle says:

    Thank you very much for taking the time to do this…

  21. 4st3r1sk says:

    Synergy is the greatest, I use it across three machines and it never fails. Thanks for the comment.

  22. samuurai1 says:

    Good to see you’re using Synergy !

  23. 4st3r1sk says:

    Yeah no doubt, thanks for pointing that out. DISCLAIMER, this video is for learning purposes only! Do not use this sample code in a production environment where you know your clients will be using archaic browsers.
    Instead consider adding a form action and setting “return false;” within the $.post() function.

  24. petegiant says:

    Yes, that is true but i think it is at least worth a mention, as people will be learning from this and you have the responsibility of saying it will not work if javascript is disabled. For example if a person learning from this uses it on a live site without any knowledge of this it could have implications ?

  25. 4st3r1sk says:

    You are absolutely correct, however the title of this video was not “How to create a form that will degrade gracefully”. The idea here was explaining how to work with JSON,


Leave a Reply