DELETE
requests with a CSRF token to a serverJan 7, 2014 2 min read
Restful deleting in Laravel can make newcomers to RESTful APIs scratch their head a bit. I know, cause I’m one of them. We’re used to just have a simple link pointing to a certain URI where the magic happens, but how do we set the HTTP verb if we’re not submitting any forms? Well, Jeffrey Way created a nice javascript that creates a form for you and to use it you only need to add data-method="delete" to your delete links.
Read more...Dec 9, 2013 9 min read
One day I got fed up with the way I used to compile LESS and searched for a more automated way. As I use Laravel for most of my projects I tried Basset asset manager. It worked nicely for some time than it started to have a mind of it’s own. I switched from it, but took note of the concept to store “raw” assets in the app folder. I tried Guard next; couldn’t get the LESS compiler to work.
Read more...