Welcome Guest, Not a member yet? Register   Sign In
New to Codeigniter
#1

[eluser]Unknown[/eluser]
Hello Everyone!

If this forum is the wrong place to post this request, I do apologize in advanced. I just joined the site and I am very new to Codeigniter. I have worked with regular PHP in the past and understand the structure of PHP programs. I've done a lot of searching, with no luck, for complete Codeigniter programs that I could download and examine a "complete" program. Does anyone know of a good site that has the complete examples that I am looking for?

Thank you!
#2

[eluser]Stefan Hueg[/eluser]
Hey there,
you should really consult the user-guide for getting all the ideas behind MVC, how the structure is set up, naming conventions and everything else.

CodeIgniter is pretty well documented and 99% of all the important questions might be answered there.

After you've gotten an insight about MVC and how the framework is structured, read the sections about Databse (Models), Controllers and Sessions. They will give you a good start. Afterwards its up to you where you want your project to go to.
#3

[eluser]phpkode[/eluser]
check this site for examples with source files
http://codeigniter.tv/

Another one- Easy Authentication with CodeIgniter
http://net.tutsplus.com/tutorials/php/ea...deigniter/

Many examples on net.tutsplus also give source files
http://net.tutsplus.com/?s=codeigniter

You can also try all tutorials for codeigniter 1.7 . To make them work in 2.0 mostly only cosmetic changes are needed
1) Models and Controllers in application folder should extend CI_Model and CI_Controller, respectively. (earlier there was no prefix ie, Model and Controller only).
2) constructer style should be changed to PHP5 ie, __construct (notice two underscores)





Theme © iAndrew 2016 - Forum software by © MyBB