Added: 3 years ago
From: ConnorAlves
Views: 18,236
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (18)

Sign In or Sign Up now to post a comment!
  • Comment removed

  • this guy voice is annoying.

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

  • @MrDdeell eclipse 

  • Quite an effort to get a white page.

  • 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.

  • @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.

  • kid out there?

  • 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...

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

  • Something struck me as odd. =) Although this is functional, isn't it better practice to place the SCRIPT within the document HEAD?

  • no, if you put it at the bottom of the document the content will load before the script so users can read the text befor waiting for the script to load, although if you're usin g an image preloader or similar you need it to be in the head section.

  • Thanks! that's really helps :D

  • 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!

  • right ... i cant find part 2??? where is it?

  • what program do you use to record the screen?

  • I usually use iShowU to record the screen on the mac because it has good customization and is optimized for youtube videos.

    I think that it is payware though, but I don't remember.

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