Last Updated: February 25, 2016
·
1.183K
· mauris

Consolidated Parameter Objects

In web development, forms tend to have many fields and each forms may create multiple objects for processing. However, traditionally the developer have to manually read each of the fields and create objects to hold the data.

Allow me to introduce to you, Consolidated Parameter Objects in Packfire Framework for PHP.

You no longer will have long parameter list for your controller action methods. All you have to do is to build an array of remapped parameters and you will receive your pre-built objects ready in your action methods.

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

PHP applications still send a browser full of JavaScript. Hardening the server does not inventory the payment, analytics, and plugin scripts that run after the HTML is delivered.

Security insights from Cside