开发者

How do I start codeigniter project

I am a newbie in codeigniter framework.I am tota开发者_如何学JAVAlly confused how can I start with CI? What would be the folder structure ,I am seeing a folder structure by default, but after searching ,all are concerned about a better folder structure

Also it would be a themeable one .So I/anyone can simply theme it,without touching the views ,if once developed Please advice me


http://codeigniter.com/tutorials/

The folder structure is something which is more advanced. Don't worry about it until you have something to put into the folders.

The whole point of views is that you're supposed to skin them and ignore the rest of the application.


Start by going through the first few tutorials here. Don't worry about the folder structure yet, start by understanding MVC.

Also, Codeigniter has a really helpful user guide. If you get stuck on your way, look there for help.


First, you must understand the concept of MVC (Model, View, Controller) that CodeIgniter uses. Then...
go to your www folder
and: system/application
you now have:
controllers - where all your code goes
views - the html stuff
models - don't worry with this if your newbie
and others...
you also have a tutorial on themes at the URL cwallenpoole gave you.


I create a tutorial How to start with Codeigniter? that for the beginner but you already need to know about php well. Good luck!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜