Welcome Guest, Not a member yet? Register   Sign In
Why use strings when doing rules for Form Validation instead of flags
#2

[eluser]bretticus[/eluser]
I suppose you pay a tiny bit of processing overhead splitting the strings. However, the strings aren't really that large. If this were something iterative/recursive, I'd be concerned I suppose. I'd probably be looking for performance tweaks in other areas first though if it were me (database, etc.)

You can always extend the Form_validation class to pass in rules to your liking.

On a final note, this post may (or may not) get more mileage under the Ignited Code forum.


Messages In This Thread
Why use strings when doing rules for Form Validation instead of flags - by El Forum - 02-09-2010, 12:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB