Refactoring Laravel Routes: Tips for Junior Developers #laravel #shorts

Subscribers:
64,200
Published on ● Video Link: https://www.youtube.com/watch?v=WaKEnl5OR4o



Category:
Review
Duration: 0:51
5,065 views
230


In this Laravel Code Review tutorial, we will be discussing how to refactor routes for a junior developer. We will focus on grouped routes, middlewares, prefixes, and the except method. We will look at an example of how middleware of auth is being used on every single route and how to make a grouped route to eliminate chained middleware. We will also add a prefix for all routes and use the except method to exclude routes from the resource controller. By following these steps, we can optimize our code and make it more efficient. Join us in this tutorial to learn how to refactor your Laravel routes like a pro!

📲 Let’s plan a meeting
Plan a (paid) 1-hour meeting on Calendly to do portfolio reviews, code reviews resume reviews, or a coaching session for Laravel:
https://calendly.com/codewithdary

💌 Newsletter
Sign up for my free weekly email newsletter: https://newsletter.codewithdary.com

📚 New Udemy Course
If you're looking to level up your Laravel skills, my new course "Udemy Migirations, Seeders, Factories, Query Builder, Eloquent & Relationships" is the perfect opportunity. Learn the essential tools and techniques for building robust and scalable web applications with Laravel: https://www.udemy.com/course/mastering-laravel-10-query-builder-eloquent-relationships/?referralCode=C784C3DB5B8925207FCB

🔥 Resources
- Instagram: https://www.instagram.com/codewithdary/
- Twitter: https://twitter.com/codewithdary
- Blog: https://blog.codewithdary.com/
- TikTok: https://www.tiktok.com/@codewithdary
- Patreon: https://www.patreon.com/user?u=30307830
- GitHub: https://github.com/codewithdary

#youtube #php #shorts




Other Videos By Code With Dary


2023-03-14Is This The Most Powerful Operator in PHP? - Ternary Operator in PHP Explained #php #shorts
2023-03-13Calculate the Match Percentage Between Strings With This POWERFUL PHP Method #php #shorts
2023-03-10Unlock the Power of PHP With The fmod() Function #php #shorts
2023-03-09Laravel is Awesome... #laravel #shorts
2023-03-085 Must-Try Laravel Packages That Will Boost Your Development Process #laravel #shorts
2023-03-07The Power of Namespaces in PHP - Organize Your PHP Code Like a Pro #php $shorts
2023-03-06Junior Laravel Developer Code Review - Reviewing Routes, Migrations, Models & Controllers in Laravel
2023-03-06Why Every PHP Developer MUST Use Type Hinting!! #php #shorts
2023-03-03Laravel Collections vs Arrays: What's the Difference? #laravel #shorts
2023-03-02Mastering Laravel Eloquent: Simplifying Sorting With latest() and oldest() #laravel #shorts
2023-03-01Refactoring Laravel Routes: Tips for Junior Developers #laravel #shorts
2023-02-28Master Laravel Controllers with These 5 Best Practices #laravel #shorts
2023-02-27Strip Whitespaces in PHP With One Method?! #php #shorts
2023-02-27Hosting a Laravel 10 Application on Hostinger Cloud Hosting With ChatGPT… Here’s the Result
2023-02-24Check if Input is a Number or a Numeric String?! #php #shorts
2023-02-23How to Easily Prevent XSS Attacks in PHP #php #shorts
2023-02-2290% Don’t Know This NEW PHP Keyword!! #php #shorts
2023-02-21Create a Secure, Random Password in Laravel 10 #shorts
2023-02-20Find a String… in Another String?! #php #shorts
2023-02-1770% Don’t Know This Alternative Method for PHP Arrays #php #shorts
2023-02-16Use THIS Method to Convert an Array to String in PHP #php #shorts



Tags:
laravel routes
laravel routes and controllers
Laravel Best Practices
laravel except method
laravel code review
laravel code review for beginners
Laravel Development
laravel resource controller
laravel code efficiency
laravel development tips
laravel development tutorial
laravel web app best practices
laravel development tips and tricks
laravel routing for beginners
laravel routing
laravel routing step by step
how to learn routing in laravel