Welcome Guest, Not a member yet? Register   Sign In
FYI - Validation takes forever
#4

Whew! I think it's all in place. I guess we'll find out what I missed as people start playing with it. Smile If you want to take a peek at the docs without downloading the entire framework, then head over to GitHub.

(09-20-2016, 01:14 PM)cartalot Wrote: + 1000 for being able to do validation in Models. I'm assuming (hoping) this also includes being able to do callbacks in a model because i see that come up on stack all the time.

Well, callbacks aren't really needed honestly, since everything can be classes that can be used. For the time being, callbacks don't have any special support. Just the RuleSets. That definitely might be something to look at putting back in, though, as I think about it a little more. Was just hoping to reduce the complexity a little bit, so this one will need a bit of a think through on pros vs cons.

(09-20-2016, 01:14 PM)cartalot Wrote: awesome that you are thinking of the e-commerce developers. doing that pre-validation on the credit card number is actually really important because you can catch potential user mistakes without having to run the transaction, and give them a specific error message.

Absolutely! I spent 3 years working for a company that supported and built custom payment gateway solutions for a couple of their products, and it was definitely something that would have been nice to have back then.
Reply


Messages In This Thread
FYI - Validation takes forever - by kilishan - 09-19-2016, 10:05 PM
RE: FYI - Validation takes forever - by InsiteFX - 09-20-2016, 02:33 AM
RE: FYI - Validation takes forever - by cartalot - 09-20-2016, 01:14 PM
RE: FYI - Validation takes forever - by kilishan - 09-21-2016, 09:51 PM
RE: FYI - Validation takes forever - by zurtri - 09-22-2016, 03:58 PM
RE: FYI - Validation takes forever - by cartalot - 09-22-2016, 05:18 PM
RE: FYI - Validation takes forever - by kilishan - 09-22-2016, 09:03 PM
RE: FYI - Validation takes forever - by jlp - 09-22-2016, 08:48 PM
RE: FYI - Validation takes forever - by Muzikant - 09-24-2016, 11:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB