Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Hello World in Codeigniter and Jquery

Loading...

Sign in or sign up now!
18,250
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 9, 2008

In this tutorial, we build a simple MVC Codeigniter application, which also implements jquery.

If you like my tutorials, please subscribe to my channel. Also, you may check out my twitter account or programming blog:

Please donate to my tutorial channel: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=connor%2ede...

http://twitter.com/connor20
http://connordenman.com

  • likes, 15 dislikes

Link to this comment:

Share to:

Uploader Comments (ConnorAlves)

  • You shouldn't put an Jquery code inside the Model ! It should be in the view. It's very messy to do like that.

  • Well, that's the programmer's opinion, I just so happen to do it like this in the tutorial.

  • Hi Connor -

    I am just now beginning to work with Code Igniter. How did you begin to learn Code Igniter? Did you just start with the documentation or is there a better resource out there?

    Also, is there good documentation somewhere out there for Code Igniter + jQuery integration?

    Thank you sir for the great tutorials!

    _Mike

  • Sorry about taking so long for this reply. I don't remember if I already sent you a PM, but I will now say this for everybody else so that they will know.

    Anyway, I first started off obviously learning normal PHP by only using books and youtube tutorials (like these). I then went on to search for a framework, and when I found Codeigniter and saw their tutorial vids on their website, which were straight forward and easy to use. What I liked the most about CI was its ease of use...

  • So from there I started to code a few websites/web apps using the framework, and the two most helpful CI resources from there were the documentation wiki, and the forum. The wiki was helpful for seeing all the functions and parameters to do the main functionality, but when I found any error or had a question I used the forums. The forum members reply in a very timely manner and are usually very helpful. There are many thousands of posts on the forum, so MOST of your questions will be there.

  • Lastly, thank you for the comment, and now that my school work is winding down a small bit I will have some time to post more videos for this series. Please stick around for the rest of this series!

Top Comments

  • Why would you put a javascript-string in a Model? Model's are to be used to retrieve data from databases, XML, etc.

see all

All Comments (18)

Sign In or Sign Up now to post a comment!
  • @MrDdeell eclipse

  • @ConnorAlves Conner, you sound a bit young here and so I'm going to assume you're also relatively inexperienced. The point of an MVC framework is to SEPARATE the data access from the business logic and the user interface. jQuery is naturally part of the UI. So, to put UI code in your model is fundamental against the point of the MVC architecture, so I'd have to argue that in this case it's not simply programmer opinion.

  • this guy voice is annoying.

  • can i ask what text editor is that? =]

  • Quite an effort to get a white page.

  • and thats the code igniter opinion : It's an MVC framework. Model, View, Controler. The Jquery part didn't get into the the Model nor the Controler...

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more