[Solar-talk] solar requirements
Paul M Jones
pmjones at ciaweb.net
Mon Mar 12 11:40:52 PDT 2007
On Mar 12, 2007, at 1:22 PM, Rodrigo Moraes wrote:
> Besides PDO and drivers, SPL, Filter, which other extensions should
> be checked?
I think that's all. The JSON class, and the various Auth adapters,
check for extensions on their own; Json has fallback internal code,
whereas the Auth adapters just throw exceptions if the extension
isn't available.
> Also, will Filter be an absolute requirement or an user could develop
> a replacement for it, in case it is unavailable?
The classes that use DataFilter right now (I think it's only
Solar_Sql_Model) allow you to specify what class you want to use, so
if the replacement class mimicked Solar_DataFilter method-for-method,
you could build anything you wanted to replace it.
> Will Solar require 5.2 with no way to use 5.1.x or something?
Right now, the only "hard" requirement on 5.2 is DataFilter, and even
that is only because it uses ext/filter for some (not all) of its
internals. I'd be very happy to see code that emulates the ext/
filter behavior for those particular internal portions, which would
make only 5.1.x the requirement.
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Join the Solar community wiki! <http://solarphp.org>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list