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.
Written by Sam-Mauris Yong
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Php
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#