What Is Laravel 23 August 2017
What Is Laravel 23 August 2017
By Georgi Genov
About me
NEVER write queries or model logic inside the controller! The controller
job is to communicate with the model and pass data to the view.
Views mobility
Always use the CSRF token protection that Laravel provides in forms you create, the hackers will
not be able to spam your forms and database
Database architecture
Be careful with the database architecture, always use the proper length for specific column and
never forget the indexes for searchable columns
Big query
Don’t forget to write comments for each method or complicated logic. The PHPDoc comments
are helping the IDE to autosuggest easier and the developers to understand the piece of code
Thank you! Questions ?