CodeIgniter Forums
Rules processing overhead - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Rules processing overhead (/showthread.php?tid=43538)



Rules processing overhead - El Forum - 07-15-2011

[eluser]Wayne Smallman[/eluser]
Hi guys!

I'm building a web application that allows each customer to have their own preferences.

As you can imagine, this extends to the forms, specifically the form validation process.

I've come up with a way of allowing these preferences access to each field:
1. by adding a custom rule to each field, which when run, will;
2. check against a config file for any specific preference that may or may not apply to that field, and;
3. should there be any specific requirements, then additional functions will be invoked.

What kind of processing over head (if any) would this technique incur?