Welcome to DALT.PHP
Learn backend development by debugging real code
Debug And Learn Together - An interactive educational platform that teaches backend development through hands-on debugging.
DALT.PHP is designed for developers who want to understand how web frameworks really work by fixing real bugs in a safe, local environment.
What You'll Learn
Through 5 comprehensive lessons and 5 broken challenges, you'll master:
- 🔄 HTTP Request Lifecycle - How requests flow through a web application
- 🛣️ Routing - URL-to-controller mapping and pattern matching
- 🛡️ Middleware - Request filtering, authentication, and CSRF protection
- 🔐 Authentication - Secure password hashing and session management
- 💾 Database - SQL queries, prepared statements, and injection prevention
- 📦 Sessions - Flash data, state persistence, and user tracking
Learning Philosophy
Traditional tutorials tell you how things work. DALT.PHP makes you discover it by:
- Reading a concept explanation
- Encountering a broken implementation
- Debugging and fixing the issue
- Understanding through hands-on practice
This "learn by debugging" approach creates deeper understanding than passive reading.
Quick Navigation
What is DALT.PHP?
Understand the platform and its goals
Why DALT.PHP?
Why this approach works for learning
Quick Start
Get up and running in 5 minutes
Architecture
Deep dive into system design
Who Is This For?
Beginners
- Learn backend fundamentals from scratch
- Understand how web frameworks work
- Build confidence through hands-on practice
Intermediate Developers
- Deepen your understanding of backend concepts
- Learn security best practices
- Debug common backend issues
Educators
- Use as teaching material for backend courses
- Provide students with hands-on exercises
- Track student progress through verification system
What Makes DALT.PHP Different?
1. Learn by Debugging
Instead of building from scratch, you fix intentionally broken code. This mirrors real-world development where you'll spend more time debugging than writing new code.
2. Transparent Framework
The framework source code is readable and educational. No magic, no hidden abstractions - you can see exactly how routing, middleware, and database queries work.
3. Instant Feedback
Automated verification system provides immediate feedback with helpful hints. Know instantly if your fix is correct.
4. Real-World Bugs
Challenges contain bugs that developers actually encounter: SQL injection, authentication bypass, route order issues, CSRF vulnerabilities.
5. Raw SQL
No ORM abstractions. You write real SQL and see exactly what's happening in the database. This is intentional for learning.
Want to see it in action? Check out Building a Blog - a complete tutorial showing how to build a CRUD application from scratch.
Platform Features
- ✅ 5 Comprehensive Lessons - Backend fundamentals explained clearly
- ✅ 5 Broken Challenges - Real bugs to debug and fix
- ✅ 19 Automated Tests - Instant verification with hints
- ✅ Modern Stack - PHP 8+, Vue 3, Tailwind CSS v4, SQLite
- ✅ Interactive UI - Browse lessons and run verifications from browser
- ✅ CLI Tools - Artisan commands for migrations, verification, and more
- ✅ Progress Tracking - Automatic logging of challenge completions
Tech Stack
- Backend: PHP 8+ with custom micro-framework
- Frontend: Vue 3 + Tailwind CSS v4 + Vite
- Database: SQLite (PostgreSQL ready)
- Testing: Custom verification system with automated tests
Community
Join the DALT.PHP community:
- 📚 Documentation - You're here!
- 💬 Telegram Community - Ask questions, share progress
- 🐙 GitHub Repository - Source code, issues, contributions
Ready to Start?
Install DALT.PHP
Set up your environment in 5 minutes
First Challenge
Fix your first bug and learn routing
Let's start learning backend development the practical way - by debugging real code! 🐛🔧