Closed nadimtuhin closed 9 years ago
Looks nice, we can use it if everyone agrees!
On Mon, Jun 29, 2015 at 4:42 AM, Nadim Tuhin notifications@github.com wrote:
We can use http://formers.github.io/former/ to ease our forming experience. Features
- hydrates error messages sent from controller
- preserves value on validation error redirection
- hydrates from model
- bootstrap2, bootstrap3 and zurb foundation style html output and flexible configuration
— Reply to this email directly or view it on GitHub https://github.com/bddevsclub/website/issues/5.
Abu Ashraf Masnun | +8801711960803 | http://masnun.me
I think laravel's default form is good enough.
Laravel Collective Forms?
On Mon, Jun 29, 2015 at 9:26 AM, Nuruzzaman Milon notifications@github.com wrote:
I think laravel's default form is good enough.
— Reply to this email directly or view it on GitHub https://github.com/bddevsclub/website/issues/5#issuecomment-116412570.
Abu Ashraf Masnun | +8801711960803 | http://masnun.me
Obviously collective form is great. But I find it asks for lots of boilerplate code for each input.
Think we have 10 inputs in a page then it will be a 9*10 lines of code where it could been 9 lines of code with former. I find this approach better because when I need to add/remove/update inputs its faster and less error prone. One note though former behaves same as collective form through a config file change.
Also forms were removed from core for a reason. One good reason was former.
I'm a big fan of Formers. It reduces boilerplate code significantly. Let's use it without being democratic :-) On সোম, ২৯ জুন, ২০১৫ at ৪:৪৭ অপরাহ্ণ Nadim Tuhin notifications@github.com wrote:
Obviously collective html is great. But it asks for lots of boilerplate code for each input.
- lots of html
- error messages boilerplate code
- boilerplate csrf code
Think we have 10 inputs in a page then it will be a 9*10 lines of code where it could been 9 lines of code with former. I find this approach better because when I need to add/remove/update inputs its faster and less error prone.
Also forms were removed from core for a reason. One good reason was former.
— Reply to this email directly or view it on GitHub https://github.com/bddevsclub/website/issues/5#issuecomment-116602180.
OK, let's use it.
@nadimtuhin will you be able to do the necessary changes to move into a Former based implementation??
I am in :D doing it
sorry for the late answer. i was out for some family stuff
@nadimtuhin, please reference this issue with the PR for this :-)
ok vaia
We can use http://formers.github.io/former/ to ease our forming experience. Features