Join 25,000+ Laravel Developers and join the free Laravel Newsletter
Laravel / February 07, 2014

Laravel 4 Cache as a Service

Philip Brown writes about using Cache as a Service in Laravel 4.

Dealing with Cache in your Controller would be a terrible idea, but dealing with it as a service as part of your application specific code means that we can reuse this service for our application, API or even a command line client.

A lot of the ideas around this was inspired by the Implementing Laravel book by Chris Fidao.

This appeared first on Laravel News

Visit Resource →

Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.