Oh sweet. Web-mode in emacs automatically enables emmet.
Month: September 2017
Wait though – so the model binding calls through into the DB as well, via Eloquent? That’s cool out of the box, but I hope it’s tweakable. Say e.g. I want to use Doctrine. And also, I want the model binding more on form input.
Laravel has model binding too. Sweeeeet.
Use of strings for controller methods is a bit of a downside, but that’s part of the nature of PHP I guess. And maybe it will have its upsides too (i.e. building a string to determine which controller/method). We’ll see.
php artisan tinker – that is bloody fantastic.
Absolutely loving laravel so far. All the nice architectural features of MVC I was familiar with from ASP.NET MVC, along with all the handy CLI and framework tools you’d get with rails or django.
Some helpful instructions here https://laravel-news.com/valet-for-ubuntu-linux, but I got an error during valet install trying to install nginx – think I’ll leave it for now.
Hmm, maybe. Seems to require use of nginx which I’m not familiar with. Could be a good time to learn though.
OK, so is it worth trying to get Valet set up on Linux?
Odd issue where I had to run php artisan key:generate in order to get things working. Maybe because it’s 5.5 instead of 5.4 which is used in the videos? Love the debug page for Laravel though with its links to a pre-populated stackoverflow search.