Is there an editor/tool to generate code from MySQL
Is there an editor/tool to generate code from MySQL
am 30.03.2007 18:13:08 von Roderik
Hi,
I was wondering is there was some tool that could generate php code for
the getters and setters for the properties in a MySQL table.
Couldn't find this yet, but it could be quite useful if there is one.
Please let me know.
Thanks in advance,
Roderik
--
http://www.roderik.net/nieuws/
Re: Is there an editor/tool to generate code from MySQL
am 30.03.2007 19:43:10 von Paul Lautman
Roderik wrote:
> Hi,
>
> I was wondering is there was some tool that could generate php code
> for the getters and setters for the properties in a MySQL table.
> Couldn't find this yet, but it could be quite useful if there is one.
> Please let me know.
>
> Thanks in advance,
>
> Roderik
phpmyadmin
after you run a query there is a link to: Create PHP Code
Re: Is there an editor/tool to generate code from MySQL
am 03.04.2007 06:10:25 von Roderik
Paul Lautman schreef:
> Roderik wrote:
>> Hi,
>>
>> I was wondering is there was some tool that could generate php code
>> for the getters and setters for the properties in a MySQL table.
>> Couldn't find this yet, but it could be quite useful if there is one.
>> Please let me know.
>>
>> Thanks in advance,
>>
>> Roderik
>
> phpmyadmin
> after you run a query there is a link to: Create PHP Code
>
>
That's obvious, but it is the query you executed in a php wrap, not the
functions for getting, setting and updating in a php class named after
the table name.
That's more or less what I was looking for, since typing out every query
might me time consuming and it seems to be a logic and useful thing. So
I thought there might be some tools which have this funtionality.
So if you know one, please share it with me/us.
--
http://www.roderik.net/nieuws/
Re: Is there an editor/tool to generate code from MySQL
am 03.04.2007 10:38:37 von Captain Paralytic
On 3 Apr, 05:10, Roderik wrote:
> Paul Lautman schreef:
>
>
>
> > Roderik wrote:
> >> Hi,
>
> >> I was wondering is there was some tool that could generate php code
> >> for the getters and setters for the properties in a MySQL table.
> >> Couldn't find this yet, but it could be quite useful if there is one.
> >> Please let me know.
>
> >> Thanks in advance,
>
> >> Roderik
>
> > phpmyadmin
> > after you run a query there is a link to: Create PHP Code
>
> That's obvious, but it is the query you executed in a php wrap, not the
> functions for getting, setting and updating in a php class named after
> the table name.
> That's more or less what I was looking for, since typing out every query
> might me time consuming and it seems to be a logic and useful thing. So
> I thought there might be some tools which have this funtionality.
> So if you know one, please share it with me/us.
>
> --http://www.roderik.net/nieuws/- Hide quoted text -
>
> - Show quoted text -
have a search over on phpclasses.org
Re: Is there an editor/tool to generate code from MySQL
am 04.04.2007 01:43:56 von Roderik
Captain Paralytic schreef:
> On 3 Apr, 05:10, Roderik wrote:
>> Paul Lautman schreef:
>>
>>
>>
>>> Roderik wrote:
>>>> Hi,
>>>> I was wondering is there was some tool that could generate php code
>>>> for the getters and setters for the properties in a MySQL table.
>>>> Couldn't find this yet, but it could be quite useful if there is one.
>>>> Please let me know.
>>>> Thanks in advance,
>>>> Roderik
>>> phpmyadmin
>>> after you run a query there is a link to: Create PHP Code
>> That's obvious, but it is the query you executed in a php wrap, not the
>> functions for getting, setting and updating in a php class named after
>> the table name.
>> That's more or less what I was looking for, since typing out every query
>> might me time consuming and it seems to be a logic and useful thing. So
>> I thought there might be some tools which have this funtionality.
>> So if you know one, please share it with me/us.
>>
>> --http://www.roderik.net/nieuws/- Hide quoted text -
>>
>> - Show quoted text -
>
> have a search over on phpclasses.org
>
Found interesting things there, unfortunately I have no php 5 support.
So, didn't found what I was looking for. Nevertheless thanks for the
suggestion.
--
http://www.roderik.net/nieuws/