Welcome Guest, Not a member yet? Register   Sign In
Noob: Some basics things I'm apparently not getting
#1

[eluser]CheekyGeek[/eluser]
QUESTION 1
Is there a good tutorial somewhere specifically on passing variables the OO/MVC way? (CodeIgniter-specific tutorial would be best, but I have the feeling that any OO PHP tutorial will teach the same concepts. Correct me if I'm wrong.) It seems like a lot of questions on this forum (including mine) have to do with misunderstandings of this basic concept.

I worked along with the video tutorials but they did not involve models and it seems that I'm not getting something right between calling my model functions and passing the results on to the view. If models are a good idea, then it would seem that there should be some more advanced tutorials showing them being used.

QUESTION 2
Also, can you MIX your style of working with the database? Looking at the User Guide (Database Quick Start) I see multiple ways of doing things (Standard Query, object version; Standard Query, array version, and Active Record query). If you use Active Record (which is what I'd really like to learn exclusively) do you need to do Active Record everywhere or can you use the other methods in other places?

I'm using a model that I copied from a tutorial site and modified to work with my db table and I'm not sure if that is helping me or hindering me.


Messages In This Thread
Noob: Some basics things I'm apparently not getting - by El Forum - 06-24-2008, 09:41 AM
Noob: Some basics things I'm apparently not getting - by El Forum - 06-24-2008, 10:03 AM
Noob: Some basics things I'm apparently not getting - by El Forum - 06-24-2008, 10:15 AM
Noob: Some basics things I'm apparently not getting - by El Forum - 06-24-2008, 10:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB