[eluser]Unknown[/eluser]
So I have been using code igniter for a couple of days... well no. i have been playing with it for a couple of days and now im going to start using it. I am developing a "Message Log" Application, and my config file contains things like the db info(host,uname,pass) as well as other information(company title, admin uname, other options).
Question: Whats the difference between a view and a model?
A view is a template of sorts and a model passes the info from the db to be put into the model.
Question: If i am correct above, then whats goes in the controller?
All of my information would be in the view/models, and then no reason for the controller.
Question: Where would i put my configs?
I believe they would go in the Controller and get passed to the model.
Question: Where would i put all of my resouces?
CSS,JS,Images,Flash. Normally i would have a /style and /js and /images folder at document root.
Question: Whats the best way to do Authentication with CI?
I want to use Sessions and cookies. I think i should use freakAuth from my reading. but how to i implement freakAuth? (or is that outside the realm of CI and i should go to freakAuth and find that out?)
So far im impressed with the things ive read about Code Igniter.