Re: feature (add-on) MDB proposal
| From: | Laurent Laville | Date: | Sat, 05 Jul 2003 15:03:25 +0000 |
| Subject: | Re: feature (add-on) MDB proposal | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18028@lists.php.net to get a copy of this message | ||
Hi Lucas
>
> It is possible through variable tags. However I am not sure if the
> following works:
>
> <name>
> <variable>prefix</variable>_foobar
> </name>
>
I've just tested it and it seems to work only when there is no sequence
defined :
Sources page updated there :
http://farell.free.fr/en/pear/docs/mdb/show.php
And live demo for Lucas solution : (with sequence define in DB schema ) ==>
KO
http://farell.free.fr/en/pear/docs/mdb/parser_manager.php?schema=users16.xml
And live demo for Lucas solution : (with NO sequence define in DB schema )
==> OK
http://farell.free.fr/en/pear/docs/mdb/parser_manager.php?schema=users17.xml
> As you may know I am working on MDB 2.0 which will make it possible to
> simply tell the Manager to use a different parser. However I do see that
> this would be a useful feature, so if the above is not possible we
> should certainly make it possible.
As lot of people i'm happy that you are working on a new major version
especially about Schema_Manager ( a late +1 )
BTW, could you think to integrate a really GRANT user management with your
schema manager.
Because i've noticed that when you try to revoke grant to an unkown user we
got a MDB_ERROR ; is it possible to get a warning and not a unknow ERROR .
When you need you change user rights you first revoke his privileges before
to give new ones : if i'm wrong, please give me the right answer !
Here is my example : See function 'make' of my class
HTML_SetupWizard_GUI_DBuser
http://farell.free.fr/en/pear/sources/show.php?dbuser.php
>
> I will take a look at your patch as soon as I have time (I am quite busy
> over this weekend).
>
Thanks a lot for a quick anwser
Laurent Laville