[PHP-DEV] Re: RFC: dba/inifile native interface

2003-02-24 Thread Sascha Schumann
 I implemented the native interface - inifile_*() functions - in order to be
 able to work with group and name instead of the single key format that
 is necessary using the dba interface.

Sounds to me like another issue which could have been easily
solved by using a thin PHP layer.

- Sascha

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Re: RFC: dba/inifile native interface

2003-02-24 Thread Marcus Börger
At 12:02 24.02.2003, Sascha Schumann wrote:
 I implemented the native interface - inifile_*() functions - in order to be
 able to work with group and name instead of the single key format that
 is necessary using the dba interface.
Sounds to me like another issue which could have been easily
solved by using a thin PHP layer.
Yeah - and i also thought about accepting an array as a key in case of
handler inifile. I think this would be much better for users and for c code
maintainance, what do you think?
marcus



--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DEV] Re: RFC: dba/inifile native interface

2003-02-23 Thread Sascha Schumann
On Sun, 23 Feb 2003, Marcus Börger wrote:

 After fixing hopefully last problems in the inifile handler i made
 up a patch which introduces a native interface to the inifile handler.
 I did this because the [group]name key format is not intuitive.

Care to explain what it does?  Does it feed all entries to
the PHP INI system or is this is a custom layer wrapping the
DBA API for storage of application settings?

- Sascha

--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] Re: RFC: dba/inifile native interface

2003-02-23 Thread Marcus Börger
At 12:11 23.02.2003, Sascha Schumann wrote:
On Sun, 23 Feb 2003, Marcus Börger wrote:

 After fixing hopefully last problems in the inifile handler i made
 up a patch which introduces a native interface to the inifile handler.
 I did this because the [group]name key format is not intuitive.
Care to explain what it does?  Does it feed all entries to
the PHP INI system or is this is a custom layer wrapping the
DBA API for storage of application settings?
- Sascha
You can use it to work with any ini file and has nothing to do with the
PHP INI system.
I implemented the native interface - inifile_*() functions - in order to be
able to work with group and name instead of the single key format that
is necessary using the dba interface.
marcus

--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php