I am debating whether I should use Laravel to build an online store.
Requirement - Show a shopping cart in sidebar with product listing in main area. i need to bind
for me create a abstract class ShopController extends BaseController
and in constructor() write View::composer
and you can use DB::table('products')->remember(100)->get(); vs all() for the cache