Assalamualaikum & Hi, Eloquent models fire several events, allowing you to hook into the following points in a model’s lifecycle: retrieved, creating, created, updating, updated, saving, saved, deleting, deleted, restoring, restored. Events allow you to easily execute code each time a specific model class is saved or updated in the database. Based on events above,… Read More »
Assalamualaikum, It’s been a while since the last time I post in my blog. Now just to share a bit of Laravel, 101 on my Facebook Live.
Registration Open Now! Please register at Laravel – Batch 4 Course Details Date: 16th & 17th April 2016 Location: http://bit.ly/cc-training-location Fee: RM 300 Syllabus Details Setup The Basic – Routing – Controllers – Views – Blade Templates Database – Migrations – Seeding Eloquent ORM – CRUD – Relationship Packages – User Management – Access Control… Read More »
Date: Saturday, 6th February 2016 Available Seats: 25 Fee: Student – RM 100, Public – RM 250 Location: Level 2, above Yamaha Motorsport Shop Lot REGISTER HERE Objectives To learn how to develop an API with micro-framework Lumen Preparation Following items need to be install first before coming to the class: Laragon Git & GitHub Account… Read More »
In this episode, we will configure the environment of the API, and setup some fake data. For those not yet read the Episode I, you can read it here. In general, we have these steps: Configure .env Create model Create migration script & do migration Create seed script & do DB Seeding For the first few… Read More »
Setting up the Restful API is easy with Slim Framework & Eloquent(Laravel). Here are the steps: Install required components via composer – Slim Framework + Eloquent(Laravel) Create a database called web_services and create users table. Setting up Eloquent Setting up Routes Final Touch Install the necessary components using composer – create a composer.json and save… Read More »