Laravel – View Presenters

Separate view concerned logic with view presenters

Laravel – View Presenters

Posted by Rukmi Patel | September 11, 2017

Developers often come across such problems while developing min-to-large scale applications, that they have to put “view concerned logic” into model files and that makes model lengthy and mix-up entity based logic with view-concerned logic.

Luckily, Community has extended Laravel’s functionality and developed packages to enable developers utilize view presenters to help them keep code clean, tidy and well managed.

Below are most popular and recommended packages for View Presenters.

  • Laracasts Presenter by Jeff Way
  • Laravel Auto Presenter by Shawn McCool

These packages are easy to install and have well documented manual for usage.


Add a comment

*Please complete all fields correctly

Related Blogs

Posted by Rukmi Patel | April 9, 2019
Comparing Full Stack V/S MEAN Stack approach
The web and mobile app development services have stepped up to next level in last 5 years. Web and apps are all built utilizing a ‘stack’ of various technologies like...
Posted by Rukmi Patel | September 6, 2018
Headless Drupal or DeCoupled Drupal
Now a days, front-end technologies like Angular, React.js, Backbone.js etc have started attracting audience because of its advantages over traditional rendering approach. Server side frameworks like Laravel, Node.js have already...
Posted by Rukmi Patel | September 20, 2017
Laravel 5.5 – Collection Dumping.
Laravel 5.5 has introduced 2 new methods on collections class which makes debugging easier than before. Lets take example of simple collection setup and pipe through some filters. collect([1,2,3])->map(function($i){ return...