Tea Time Blog

« Blog index

Showing posts from June 2016

Resource controllers and reusable views

Posted by Riari 10 months ago

Resource controllers in Laravel are very useful for quickly building out CRUD interfaces for your models. Although some people prefer to avoid them in favour of explicitly defin...


View post »

Centralised model deletion

Posted by Riari 10 months ago (last updated 10 months ago)

Deletion of records is one thing that's almost always consistent throughout an application, so it often makes sense to handle it in one place. In this example, I use SweetAlert2 to display confirmation dialog...


View post »

User commenting and notifications

Posted by Riari 10 months ago

Adding user commenting capability to models using slynova/laravel-commentable is very simple, although it doesn't provide a controller, routes and views out of the box.

In this post, I'll detail...


View post »