How phamkhanhdu1503-rgb/bookstore works
This is a PHP bookstore: shoppers discover books, manage a cart, check out, and follow orders; staff maintain the catalog and operations. The homepage’s include relationships and several admin-to-database operations are visible in excerpts. Other domain stages are represented from the file tree, but their runtime calls were not sampled, so those connections are dashed and unverified.
Main entry points: index.php Home Entry · database.php Relational Database · orders/index.php Order Management · books/index.php Book Catalog
Components 24
Storefront
- Home Entry
index.php - Promotional Banners
includes/banner.php - Category Highlights
includes/categories.php - New Books
includes/new-books.php - Best Sellers
includes/best-sellers.php - Top Rated Books
includes/top-rated.php - Navigation
includes/navbar.php - Footer
includes/footer.php - Book Catalog
books/index.php - Book Details
books/detail.php
Shopping and Orders
- Cart
cart/index.php - Checkout
checkout/process.php - Customer Orders
orders/index.php
Customer Accounts
- Authentication
auth/login.php - Customer Profile
auth/profile.php
Store Operations
- Inventory Management
admin/inventory/index.php
Administration
- Catalog Management
admin/books/index.php - Order Management
admin/orders/index.php - Promotion Management
admin/promotions/index.php - User Management
admin/users/index.php - Business Reports
admin/reports/index.php - Review Management
admin/reviews/index.php
Other components
- Shopper
- Relational Database
config/database.php
Connections 23
- Shopper → Home Entry: opens
- Home Entry → Navigation: includes
index.php - Home Entry → Promotional Banners: includes
index.php - Home Entry → Category Highlights: includes
index.php - Home Entry → New Books: includes
index.php - Home Entry → Best Sellers: includes
index.php - Home Entry → Top Rated Books: includes
index.php - Home Entry → Footer: includes
index.php - Shopper → Book Catalog: browses
- Book Catalog → Book Details: opens
- Shopper → Cart: manages
- Cart → Checkout: proceeds to
- Checkout → Customer Orders: creates order
- Shopper → Authentication: signs in
- Authentication → Customer Profile: accesses
- Catalog Management → Relational Database: queries
admin/books/index.php - Order Management → Relational Database: queries and updates
admin/orders/index.php - Inventory Management → Relational Database: records stock
admin/inventory/index.php - Promotion Management → Relational Database: stores promotions
admin/promotions/index.php - User Management → Relational Database: queries and updates
admin/users/index.php - Business Reports → Relational Database: reads reports
- Review Management → Relational Database: manages reviews
- Order Management → Inventory Management: adjusts stock