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()…
I’m not sure when this whole backend vs frontend battle started in my head. But I’m mainly a backend developer. Ever since I started development, I mainly focused on data structure and coding. I rarely paid attention to any of the frontend elements. My main focus were to ensure that my code worked as expected….
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
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 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….
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.