How parthoprobal/decksynth-370-project works
DeckSynth is a PHP cardistry and magic community/commerce website: visitors browse decks, courses and tutorials; members can register, learn, publish and discuss, and buy cards. The homepage is the main discovery entry point; signed-in users also manage profiles, enrollments, videos and orders. Recommendations use tracked interests and catalog data. The tree and sampled source support these capabilities, but many endpoint implementations and the database schema were not inspected, so uncertain internal wiring is omitted.
Main entry points: database.php PDO connection · index.php Homepage · home_template.php Discovery catalog · ai_recommendation_engine.php AI recommendations
Components 21
Discovery and learning
- Homepage
index.php - Discovery catalog
home_template.php - Course enrollment
enroll_course.php - Magician finder
find_magician.php - AI recommendations
ai_recommendation_engine.php - Recommendation endpoint
get_ai_recommendations_ajax.php
Accounts and profiles
- Login and registration
auth/login.php - Account processing
auth/process_register.php - Member dashboard
your_info.php
Commerce
- Shopping cart
cart.php - Add to cart
add_to_cart.php - Checkout
checkout.php
Community and media
- Community forum
blog.php - Post management
create_post.php - Comment handling
add_comment.php - Video tutorials
watch_video.php - Video publishing
upload_video.php - Notifications
notifications.php
Persistence
- PDO connection
config/database.php - DeckSynth database
DeckSynth Database.sql
Other components
- Visitor or member
Connections 22
- Visitor or member → Homepage: visits
- Homepage → PDO connection: loads user data
- Homepage → Discovery catalog: renders
- Discovery catalog → Recommendation endpoint: requests suggestions
- Recommendation endpoint → AI recommendations: generates
- AI recommendations → PDO connection: reads activity and catalog
- Visitor or member → Login and registration: signs in or registers
- Login and registration → Account processing: submits registration
- Account processing → PDO connection: checks and creates account
- Visitor or member → Member dashboard: manages account
- Visitor or member → Course enrollment: enrolls
- Visitor or member → Magician finder: finds mentors
- Visitor or member → Add to cart: adds deck
- Add to cart → Shopping cart: updates cart
- Visitor or member → Checkout: places order
- Visitor or member → Community forum: reads and votes
- Visitor or member → Post management: publishes post
- Visitor or member → Comment handling: comments
- Visitor or member → Video tutorials: watches tutorial
- Visitor or member → Video publishing: publishes tutorial
- Visitor or member → Notifications: checks updates
- PDO connection → DeckSynth database: connects