Welcome Guest, Not a member yet? Register   Sign In
Where to create model, view, controller folders for my projects
#1

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
Reply
#2

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

./application
-- controllers
-- models
-- views
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

WebApp Solution
|-MyMVCProject
|-Models
|-Controllers
|-Views
|-MyMVCProject.Domain (you'd put your models here)
|-Person.cs
|-MyMVCProject.Services (you'd put entity services here)
Reply
#4

The "official" answer would be what InsiteFX suggested above.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB