How olmedo-ux/bibliotheque-reloaded works
Book Sanctuary is a PHP library-catalogue and borrowing application. Readers sign in, browse or search books, inspect a title, add it to their active reading list, return it, and review borrowing history. Administrators manage catalogue entries. The graph reflects the sampled page logic and the capabilities evident from the file tree; source for several action handlers and the database configuration was not sampled, so their internal behavior and uncertain wiring are not expanded.
Main entry points: bibliotheque.sql Library database · admin_panel.php Catalogue management · results.php Search catalogue · index.php Home and new books
Components 18
Reader experience
- Home and new books
index.php - Search catalogue
results.php - Book details
details.php
Accounts
- Register reader
inscription.php - Sign in
connexion.php - Session and navigation
header.php - Sign out
deconnexion.php
Borrowing
- Add to reading list
add_to_wishlist.php - Active reading list
wishlist.php - Return book
remove_from_wishlist.php - Borrowing history
historique.php
Catalogue administration
- Catalogue management
admin_panel.php - Create book
create_book.php - Edit book
update_book.php - Delete book
delete_book.php
Persistence
- Library database
bibliotheque.sql - Database connection
config.php
Other components
- Reader
Connections 29
- Reader → Home and new books: opens
- Reader → Search catalogue: searches
- Home and new books → Library database: reads new books
- Home and new books → Search catalogue: submits query
- Search catalogue → Library database: searches books
- Search catalogue → Book details: opens title
- Book details → Library database: reads book and loan
- Book details → Add to reading list: submits book
- Reader → Register reader: registers
- Register reader → Library database: creates reader
- Reader → Sign in: signs in
- Sign in → Library database: checks credentials
- Sign in → Session and navigation: sets session
- Session and navigation → Sign out: links sign-out
- Reader → Active reading list: views loans
- Active reading list → Library database: reads active loans
- Active reading list → Return book: requests return
- Return book → Library database: updates loan
- Reader → Borrowing history: views history
- Borrowing history → Library database: reads loan history
- Reader → Catalogue management: opens management
- Catalogue management → Library database: reads catalogue
- Catalogue management → Create book: opens creation
- Catalogue management → Edit book: opens edit
- Catalogue management → Delete book: requests deletion
- Create book → Library database: inserts book
- Edit book → Library database: updates book
- Delete book → Library database: deletes book
- Database connection → Library database: connects