CodeIgniter Forums

Full Version: Where to create model, view, controller folders for my projects
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I writing PHP code using XAMPP & Code Igniter. I have created for for storing in view & class for controller. Now if my project folder name is abc which is directly under htdocs & also codeigniter (ci3) folder is also under htdocs.

Where I can save above view & class files - in which folder?

Kindly help by correctly suggesting same.


Shreeniwas
In the folders they belong to under CodeIgniter's ./application

./application
-- controllers
-- models
-- views
WebApp Solution
|-MyMVCProject
|-Models
|-Controllers
|-Views
|-MyMVCProject.Domain (you'd put your models here)
|-Person.cs
|-MyMVCProject.Services (you'd put entity services here)
The "official" answer would be what InsiteFX suggested above.