Welcome Guest, Not a member yet? Register   Sign In
Using MVC Properly
#1

[eluser]Unknown[/eluser]
Hello,

I've never used a framework before and I want to start it off properly. I've tried looking around for the correct way of how to use the Model, but the only thing I can find are rants about people not using Models properly (by putting almost everything into the Controller).

I was just wondering if there is a website out there that explains it, or better yet, comes with an example?

Thanks,
Mike
#2

[eluser]stuffradio[/eluser]
There are tutorials on the home page, have you looked at those yet?

http://codeigniter.com/tutorials/
#3

[eluser]Suhas nazir[/eluser]
By putting all thing in the controller is not a good practice infact each module has its o\wn importance just go through the codeigniter user guide ,
#4

[eluser]wiredesignz[/eluser]
A very good explanation of the MVC design pattern can be found here:
http://www.phpwact.org/pattern/model_view_controller
#5

[eluser]Unknown[/eluser]
[quote author="stuffradio" date="1268134239"]There are tutorials on the home page, have you looked at those yet?

http://codeigniter.com/tutorials/[/quote]

Yes, I watched them. I do understand how to use models/controllers/views, however those tutorials are meant for a quickstart and don't really tell you how to use them all properly (at least thats what I got from watching them).

[quote author="wiredesignz" date="1268150819"]A very good explanation of the MVC design pattern can be found here:
http://www.phpwact.org/pattern/model_view_controller[/quote]

Thank you very much Smile
#6

[eluser]InsiteFX[/eluser]
go these should all of you:

CodeIgniter Tutorials

Enjoy
InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB