The return statement and how it's used
Published: 2023-01-03 Author: Tray2return, what does it do, and how do you use it, are the things that I try to cover in this short post about the return statement.
return, what does it do, and how do you use it, are the things that I try to cover in this short post about the return statement.
Testing your views, yes I said, testing your views. This is something that is both boring and quite tricky to get right.
Tracking changes in a table or several tables for that matter can be essential for your application, and we are going to take a look on how to do that using only the MySQL/MariaDB database.
What is a database view, and how can we use it to make our code cleaner?.
Have you ever had a huge list of values that the users needs to scroll through to get to the item they wanted, you know the classic `Country` dropdown, and for me who lives in Sweden will have to scroll through a load of countries to get to the desired one.
A few days ago a user at the Laracasts forum had performance issue with one of his queries that used joins. While a join can cause some performance slow-downs, it shouldn't be anywhere near the 12 seconds he claimed that the query took. This post here will explain what the issue probably was and how to speed that up.
Speed up the creation of new Laravel projects.
This is a continuation of my earlier post on Database Design. This time I will talk about some nuts and bolts in a database, and how many of them can help, and sometimes even break your application
Just a small collection of recommended courses for web developers.
You might think that the way your store your data isn't really that important. Well it's more important than you think it is. A good database design just like good clean code is the key to performance, not only for the end user but also for you the developer. A poor database model just like poorly written code will slow you down and furthermore it will slow your database queries down which results in a slow application. Just like with the SOLID principles there are some things to consider when developing a database model.
Why write this little guide since Laravel uses Eloquent to talk to the database? The answer is simple, the errors the database returns are SQL errors and if you don't know how to interpret them then your life as a developer will be harder.
This site uses Torchlight for syntax highlighting.