Learn common Principles such as S.O.L.I.D and many more
Learn Most common design patterns thats used in Laravel
Learn Naming conventions
Learn Unit Testing on Events, Scopes, Queues, Jobs, Mails, Middlewares, and Feature testing
3 sections • 39 lectures • 7h 34m total length
Note Before Getting Started
Structuring Your Ifs Properly
PHP Standard Recommendations (PSR-2)
No More IFS & Elses ( Using Polymorphism )
No More Ifs & Elses ( Using Strategy Pattern )
Contextual IoC Binding
Demeter Law ( Tell Don't Ask )
SoC vs SRP
Naming URLS & Naming routes.
Naming Controller & Controller Methods.
Naming Relationships, Tables & Columns
Naming Interfaces correctly
Use Scopes for clearer queries.
Is it a job for middleware ?
Where to use your middlewares ?
Form Validation handling tips.
How to jsonify validation messages.
Merge User ID automatically to Request
Merge User Id with validated form request automatically
Use Responsable Interface for preparing data instead controller.
Use Services for preparing data instead preparing in controller.
Where to fire your events
When to think of Queues & Jobs.
Controlling Laravel Queues & How Events work behind the scenes
Listening On Fired Events Of Queues
SQL Optimization and avoiding N+1
Clearer Relationships Associations
Sub-querying vs Eager/Lazy Loading & Memory Performance Benchmarking
Advanced Eloquent Querying Relationships
Global Scopes & How to control them
Useful Eloquent Methods
Conditional & Rendering Default Relationships
Optional, Tap & Unless helper functions
Use Cache instead of hitting database regularly
Abstracting common code to traits
Basics of Laravel
Eager to refactor old legacy code for better maintainability
writing code isn't a tough thing as before, specially if you are using frameworks, that's why the developers community is becoming large by the time passing, but most of the developers don't write a clean code, it dramatically gets messy and they mostly stick to fat controllers/models, which makes the code harder to maintain, test and scale. by enrolling to this course, you will understand how to write code to the highest standards, that's open to maintainability, scalability, and it will be testable. also it won't be tough anymore to remember whatever logic you have written earlier and keep following your code to understand which case you are particularly at, as the code will follow the well known principles and patterns.
Who this course is for:
any PHP Developer who is passionate about scaling up their application in a neater way, and how to refactor their code to the highest standards
security theater is an Arabian startup started at late 2016, we mainly shed the light on teaching youth and enhance their technicality throughout our online/offline courses, in addition to We always strive to be up to our customers’ expectations and to deliver high standard websites and mobile applications designed in a very unique and attractive way