Refactoring #2: From controllers to actions

Take the controller head-on

Refactor into FormRequests

Use Actions in other places as well

--

--

--

Full-stack web developer with a passion for software architecture and cloud computing.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Coding Valhalla

How We Built Our GoZ Tamagotchi Zone

NanoLog: A Nanosecond Scale Logging System [ATC 2018]

Kotlin syntax WTFs for Java devs

2.5D Game Development In Unity: Physics Based Character Controller Part 2: Jumping

Reading: “soft skills the software developer’s life”

Taking Good Notes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Geni Jaho

Geni Jaho

Full-stack web developer with a passion for software architecture and cloud computing.

More from Medium

Refactoring #3: Optimizing Eloquent queries & console commands

PHP — RESTful API resource handler

Rest resource handler layered implementation

Feature testing vs Unit testing in Laravel

Easily Use Laravel Query Scopes