How agyeidacosta/costaservices works
CostaServices is a small PHP/JavaScript showcase site for Costa Tech’s services, portfolio, and contact channels. Visitors browse the home page and graphics gallery, submit contact details or feedback, while an administrative report workflow views, edits, and deletes contact records. The excerpts show browser-to-PHP submissions and page links, but the referenced backend_files directory is absent from the supplied tree, so database persistence and backend processing are not represented as verified components.
Main entry points: report.php Contact report · index.php Home and services · contact.js Contact submission · comments.js Feedback submission
Components 15
Public site
- Home and services
index.php - Navigation and theme
home.js - Graphics gallery
graphic.php
Visitor submissions
- Contact form
index.php - Contact submission
contact.js - Feedback form
index.php - Feedback submission
comments.js - Contact handler
- Comment handler
Contact administration
- Contact report
report.php - Edit contact
updatep.php - Edit submission
update.js - Delete confirmation
deleted_report.php - Comments report
displaycomments.php
Other components
- Visitor
Connections 17
- Visitor → Home and services: opens
README.md - Home and services → Navigation and theme: loads
index.php - Visitor → Graphics gallery: opens
graphic.php - Home and services → Graphics gallery: links to
index.php - Visitor → Contact form: submits
index.php - Contact form → Contact submission: handled by
index.php - Contact submission → Contact handler: posts JSON
contact.js - Visitor → Feedback form: submits
index.php - Feedback form → Feedback submission: handled by
index.php - Feedback submission → Comment handler: posts JSON
comments.js - Visitor → Contact report: opens
report.php - Contact report → Edit contact: links to
report.php - Contact report → Delete confirmation: links to
report.php - Edit contact → Edit submission: loads
updatep.php - Edit submission → Contact handler: posts JSON
update.js - Contact report → Comments report: links to
report.php - Visitor → Comments report: opens
displaycomments.php