I am little confused about the folder structure for my project and grouping them in Controller. Project is E-Commerce. I have pages like
Home,About,Contact,Category menu and SubCategory list page, ProductList, ProductDetail, ShoppingCart, CartSummary, Checkout
User management Edit Profile, Orders, login information management.
Admin Product management (Insert, Update, Delete, Upload images, Adding Description etc), Category management, Order management etc.
Should I make areas?. How to make clean folder structure.
My suggestion:
Areas is the way forward. Try making folder for each big feature you mentioned. And consolidate everything related to it inside one area including controllers, views, css, javascript etc.
Make one separate Shared folder which would contain the stuff common across the whole website eg master pages, jQuery files etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With