Router Sınıfı
Sizden bir router sınıfı oluşturmanızı istiyoruz.
Sınıfta bulunması gerekenler:
- Müşteri Yönetim Sistemi uygulamasında kullandığız router sınıfını inceleyip örnek olarak kullanabilirsiniz.
- Peki bu sınıf neler yapmalı?
- Route oluşturabilme.
- GET ve POST isteklerini ayrı ayrı değerlendirebilme.
- Route üzerinde regex ile parametre alabilme.
- Route oluştururken bir callback fonksiyon veya Class@Method çağırabilme.
Proje Zamanı!
Submit your work to complete this lesson.
Join the project workspace to share your solution and receive feedback.
Lesson discussion
Swap insights and ask questions about PHP ile Backend Patikası Projeleri
Be the first to start the discussion
Ask a question or share your thoughts about this lesson.