Re: feature (add-on) MDB proposal
| From: | Laurent Laville | Date: | Mon, 07 Jul 2003 18:31:05 +0000 |
| Subject: | Re: feature (add-on) MDB proposal | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18073@lists.php.net to get a copy of this message | ||
"Lukas Smith" <smith@backendmedia.com> a écrit dans le message de news:
009d01c34485$47a37660$4d00a8c0@vandal...
> ah just a little mistake on your part.
> MDB picks up the fact that you have defined a sequence on a table that
> hasn't been defined, since you forgot to add the prefix to the on tag as
> well:
>
> <sequence>
> <name>users_sequence</name>
> <start>1</start>
> <on>
> <field>user_id</field>
> <table><variable>prefix</variable>users</table>
> </on>
> </sequence>
>
> Then things should work.
>
> So is that a good enough solution for you?
>
All fine for me. I could now re-open the feature (table-prefix) in my
project HTML_SetupWizard
Thanks a lot Lucas !
> Anyways I would really like to thank you for the very clean work you
> did; makes evaluation a breeze. I hope to hear more suggestions like
> that from you (or any other user for that matter).
>
It was a pleasure for me because i like the works you've done on MDB.
BTW did you know, or any other PEAR user, a solution to parse / transform
into XML
a phpMyAdmin style dump (native sql orders). Thanks in advance :o)
> Well this will be sort of tricky.
> The differences there might be very hard to abstract. I hope that in the
> future more drivers will become capable of listing and creating users.
> However when it comes to managing users rights I think that is still
> fairly far off. But as always this could be done by someone else.
> However I would be hesitant to quickly integrate a MySQL specific
> solution, as this might make things difficult further down the roadin
> terms of API breakage. However it might be worthwhile to develop a MySQL
> specific solution as a separate class which uses MDB.
>
I understand your point of view; it was just an idea / suggestion !
Keep up the good works Lucas
I'm not alone to tell that we love MDB
Laurent