Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Do you know that under the Laravel code you use there's SQL right? Someone had to write it and someone needs to keep it updated.
Also a lot of websites don't use Laravel and loads of them don't even use PHP. -
Knew that would be controversial. No offence intended!
To clarify, the point I was trying to make was I like the way the SQL code is abstracted, allowing you to easily swap between persistence layers if you need to. -
willol13898y@chrisrhymes SQL is abstracted, but you still need to know it to be able to optimize your requests. You may think it is unnecessary, but it often makes the difference between 1 and 15 database requests.
Plus, generated database migration scripts MUST be checked thoroughly before use ! It's just a helper -
Adamu178y@willol speaks truth. If well setup, the database is the guru on how to efficiently get what you want and SQL is its native language. You can talk to it with just an ORM like in laravel. It'll work but it's like trying to rephrase Shakespeare into Donald Trumpisms. You'll just need a lot more of them to get the whole meaning across.
But that analogy goes both ways. Never go for Shakespeare when a short, blunt Trumpism can say the same.
Related Rants
When I see job adverts asking for SQL skills it really puts me off. After seeing how database migrations and eloquent in Laravel work I don't know why anyone would write SQL queries again!
undefined
sql