Re: Object oriented page templates in PHP
| From: | Yasuo Ohgaki | Date: | Tue, 10 Apr 2012 08:13:48 +0000 |
| Subject: | Re: Object oriented page templates in PHP | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-59629@lists.php.net to get a copy of this message | ||
Hi,
I'm not oppose to create a C module for OO template, but
new syntax is overkill.
Anyway, I would rather to have dedicated escape API for
- JavaScript strings
- JavaScript Identifiers
- CSS params
- CSS Identifiers
- what else?
It would be better to have dedicated escape functions so that
users will know they should escape/validate them.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net