CodeIgniter 4 ile CRUD Uygulaması Kurma
CodeIgniter 4, küçük ve hızlı bir MVC framework'tür. Minimal katmanı sayesinde öğrenmesi kolay, performansı yüksektir. Bu yazıda tam bir CRUD uygulaması kurulur. Dizin yapısı app/ ├── Controllers/ │ ├── Blog.php │ └── Home.php ├── Models/ │ └── BlogModel.php └── Views/ └── blog/ ├── index.php ├── form.php └── show.php Model <?php namespace App\Models; use CodeIgniter\Model; class BlogModel extends Model { protected $table = 'blogs'; protected $allowedFields = ['title', 'slug', 'content'…