Author: sherwin
-
Vanwalk 15-in-1 GoPro Accessory Kit
I recently got a good deal on a GoPro Hero+ so I decided to pick one up. It’s my first GoPro so I don’t have much plans for it yet. I wanted to use it as a HD webcam but to my surprise, you can’t. At least not without a lot of setting up and…
-
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…
-
Laravel Episode 6: Password Reset and Email
Episode 6: Password Reset and Email Move Login/Logout link to the navbar Add password help link to login page Configure .env to work with mailtrap.io Add value to from so that there is a sent from value. Good idea to use env(‘FROM_EMAIL’) Modify route file with the following // Password reset link request routes…
-
Laravel Episode 5: MySQL and Auth Design
Episode 5: MySQL and Auth Design Show how to configure MySQL Create a database Create a user specific to the database Design the Users and Roles table Move roles migration file so it is created before users – rename it Edit user migration file so it uses role_id as foreign key Create log in…
-
Laravel Episode 4: Models, Migration, and Database
Episode 4: Models, Migration, and Database Look at the /config/database.php file Use sqlite for demo database touch storage/database.sqlite Look at migration files Explain naming convention php artisan migrate Explain migration, rollback, and refresh Explain up() and down() Explain what timestamps() is Create a default record for user Create a migration for roles table
-
Laravel Episode 3: Controllers and More Views
Episode 3: Controllers and Move Views Refer to topics covered in Episode 2 Adding assets locally using Node – jQuery and Bootstrap Continue editing the Bootstrap layouts How Controllers are used with Views How to apply active CSS class for controlling style of navbar Adding notification section
-
Laravel Episode 2: Views, Layouts, and Elixir
Episode 2: Views, Layouts, and Elixir Introduction Get episode2 branch from Github. The V in MVC is View. Views are what is being displayed to the user. Views are found in the /resources/views directory. Show how the default is displayed by explaining the routes file and the view file. Show example of .gitignore file.…
-
Laravel Episode 1: Starting A New Project
My first time streaming on livecoding.tv. I wanted to share with people how I use the Laravel framework. I decided to create a fictious project and call it Storedemo. It’s pretty much a demo of an online store. I chose this because it will provide different case studies. Being my first time, I ran into…
-
The Nexus 6P Is Near Perfect
My experience with the Samsung S6 has been a shaky one. I went through 3 different ones before nearly switching back to iOS. I tried out the S6 Edge for a few weeks then I returned it. It took great photos but battery life and the device got a bit warm for my taste. Not…