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
I wanted to share how I got Foundation Site 6.3 to work with Laravel 5.4 and webpack. I tried this on a brand new Laravel project. First, edit the package.json file and replace the bootstrap-sass entry with “foundation-sites”: “^6.3.1” Then run npm install. This will download all the dependencies and store them in the node_modules…
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….
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…
This is a guide on how to configure Windows 10 using the Fall Creators Update released in October 2017. I will be using Ubuntu for the Linux Subsystem. Ubuntu Turn on Windows Subsystem for Linux in the Windows Feature Restart Windows so it fully installs it Then go to the Windows Store app and download…
Episode 11: Updating My Profile Changes in between episode 10 and 11 Cleaned up code in routes file. Go through code and replaced Role::userHasRole() with User::hasRoles(). Removed __construct() from ProductController. Update database diagram to match current database schema. Create route for /my-profile. Create new route group for auth middleware. Create methods in UserController. myProfile()…