How fafirruh/dpw works
This repository is a set of practical web-development Jobsheets, with later lessons building a small shop-management application and Jobsheet 7 demonstrating a mini-library. The main user workflow is to open the shop dashboard, manage inventory and customers, record purchases or stock outflows, and review stock and cash summaries. The tree and README establish the lesson progression; sampled pages support the dashboard, listing, authentication, and routing relationships. Other CRUD handlers and financial reporting are represented by their existing directories and documented capabilities, without assuming unsampled call details.
Main entry points: koneksi.php Database Connection · index.php PHP Router · auth.php Session Guard · list.php Customer Pages
Components 19
Web Entry
- PHP Router
api/index.php
Shop Management
- Shop Dashboard
Jobsheet10/index.php - Inventory Pages
Jobsheet10/barang/list.php - Inventory Actions
Jobsheet10/barang - Customer Pages
Jobsheet10/pelanggan/list.php - Customer Actions
Jobsheet10/pelanggan - Purchase Recording
Jobsheet10/pelanggan/proses_beli.php - Database Connection
Jobsheet10/includes/koneksi.php
Authentication
- Login Registration
Jobsheet10/auth - Session Guard
Jobsheet10/includes/auth.php
Earlier Lessons
- Mini Library
Jobsheet7 - Library Dashboard
Jobsheet7/index.php - Books Members
Jobsheet7 - Database Lesson
Jobsheet8 - CRUD Lesson
Jobsheet9
Other components
- Shop User
- PostgreSQL Data
- PHP Session
- Remember Cookie
Connections 21
- Shop User → PHP Router: requests page
- PHP Router → Shop Dashboard: dispatches PHP
- PHP Router → Inventory Pages: dispatches PHP
- PHP Router → Customer Pages: dispatches PHP
- PHP Router → Login Registration: dispatches PHP
- Shop Dashboard → Database Connection: queries summaries
- Inventory Pages → Database Connection: reads inventory
- Inventory Actions → Database Connection: updates inventory
- Customer Pages → Database Connection: reads customers
- Customer Actions → Database Connection: updates customers
- Customer Pages → Purchase Recording: posts purchase
- Purchase Recording → Database Connection: records purchase
- Database Connection → PostgreSQL Data: connects to
- Login Registration → Session Guard: checks session
- Session Guard → PHP Session: reads session
- Session Guard → Remember Cookie: checks cookie
- Session Guard → Database Connection: looks up user
- Shop User → Library Dashboard: opens lesson
- Library Dashboard → Books Members: links modules
- Shop User → Database Lesson: opens lesson
- Shop User → CRUD Lesson: opens lesson