Khởi tạo cấu trúc dự án như sau:
shellscript
1project-nentang2| index.php -> Trang chủ Dự án3 URL: http://localhost/project-nentang/index.php4| 5+---assets -> Thư mục chứa các file resources (CSS, JS, Images, Videos, ...)6| +---backend -> Thư mục chứa các file resources dành cho Backend (Admin)7| | +---css8| | | style-print.css9| | | style.css10| | | 11| | \---js12| | app.js13| | 14| +---frontend -> Thư mục chứa các file resources dành cho Frontend (Client / Customer / Viewer)15| | +---css16| | | style.css17| | | 18| | +---img19| | | icon-1.png20| | | icon-2.png21| | | icon-3.png22| | | marketing-1.png23| | | marketing-2.png24| | | slider-1.jpg25| | | slider-2.jpg26| | | slider-3.jpg27| | | 28| | \---js29| | app.js30| | 31| +---shared -> Thư mục chứa các file resources dùng chung cho cả Backend và Frontend32| | \---img33| | default-image_600.png34| | logo-nentang.jpg35| | 36| +---uploads -> Thư mục chứa các file do người dùng (End user / Customer / ...) upload lên Server37| | 38| \---vendor -> Thư mục chứa các thư viện Frontend39| +---bootstrap40| +---jquery41+---backend -> Thư mục chứa các file PHP xử lý nghiệp vụ dành cho Backend42 URL: http://localhost/project-nentang/backend/index.php43| index.php44| 45\---frontend -> Thư mục chứa các file PHP xử lý nghiệp vụ dành cho Frontend46 | index.php -> URL: http://localhost/project-nentang/frontend/index.php47 | 48 \---pages49 dangky.php -> URL: http://localhost/project-nentang/frontend/pages/dangky.php50 dangkythanhcong.php -> URL: http://localhost/project-nentang/frontend/pages/dangkythanhcong.php51 dangnhap.php -> URL: http://localhost/project-nentang/frontend/pages/dangnhap.php52 dangxuat.php -> URL: http://localhost/project-nentang/frontend/pages/dangxuat.php53 gioithieu.php -> URL: http://localhost/project-nentang/frontend/pages/gioithieu.php54 lienhe.php -> URL: http://localhost/project-nentang/frontend/pages/lienhe.php55 timkiem.php -> URL: http://localhost/project-nentang/frontend/pages/timkiem.php
