Tag: eloquent
-
Laravel Episode 8: CRUD Part 2
Episode 8: CRUD Part 2 Go over form method spoofing. https://laravel.com/docs/5.1/routing#form-method-spoofing Change the create form to use form method spoofing. Delete unnecessary buttons “more info” and “edit”. Create the edit form page. Code the update process. Add the delete functionality and note that it is a POST method. Show how to create a custom_js…
-
Laravel Episode 7: CRUD Part 1
Episode 7: CRUD Part 1 Changes since the last episode. Switched out laravelcollective code to standard html code. Moved validation messages to part of the form. Updated elixir to version 5. Create a new migration for products table. id int(11) product_name varchar(255) sku varchar(30) price decimal(5,2) description text timestamps php artisan make:migration create_products_table Create…