Re: Simple variable handling.
| From: | Rowan Collins | Date: | Thu, 11 Aug 2016 22:17:50 +0000 |
| Subject: | Re: Simple variable handling. | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-95050@lists.php.net to get a copy of this message | ||
On 11/08/2016 21:19, Lester Caine wrote:
No ... add more than just validation rules. Include facilities such as escape rules, display rules and variable specific material such as error messages. Just how the rules are enforced needs to be flexible and such things as 'required' will vary how the results are interpreted.OK, so, again, you've mentioned plenty of the *why*, but what do you picture to be the *how*? When would these various rules be applied? What might the code look like that relied on them? You've mentioned a lot about flexibility, and that the feature could be used in multiple styles, but some concrete examples of how *you* would use it might help define what the feature needs to do (and not do). Regards, -- Rowan Collins [IMSoP]