Similar Posts
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 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 10: More Middleware and Routes
Episode 10: More Middleware and Routes Laravel Debugbar by barryvdh Works with Laravel 4 and 5. Great tool for sql profiler among other things. Review the previous episode regarding multiple roles middleware. Middleware implementation is not the same as how I implemented filters from previous version of Laravel. Use Debugbar how the SQL looks…
Laravel Development on Windows 10 Using Linux Subsystem
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…
User Roles Many to Many
Another way to design user roles in your application is to create a many to many relationship. This means many users can have many roles.
User Roles One to Many
There are many ways to handle user roles in an application. One way is to create a role(s) that have many user(s) or a one to many relationship.