wxActiveRecordGenerator 1.0 First Release Topic is solved

Do you like to promote your wxWidgets based application or component!? Post it here and let's see what the critics have to say. Also, if you found that ONE wx component the world needs to know about, put it here for future reference.
Post Reply
Ugly!
Earned some good credits
Earned some good credits
Posts: 113
Joined: Mon May 09, 2005 5:11 am
Location: Argentina - BS AS

wxActiveRecordGenerator 1.0 First Release

Post by Ugly! »

Hi folks. I have developed this component. Hope you find it useful.

wxActiveRecordGenerator is an application that connects to a database and generates c++ classes to interact with tables. You can also specified how the active records relate (only has-many relation currently, belongs-to comming soon). The component depends on the DatabaseLayer component at wxCode.
http://wxcode.sourceforge.net/complist. ... ase&page=1
So all you need it's a working DatabaseLayer backend (SQLite, MySQL or PostgreSQL at the moment); and also you have to include the wxActiveRecord.h and wxActiveRecord.cpp in your project (Note: see the defines at the begining of wxActiveRecord.h).

Currently there's a .exe release at wxCode.
https://sourceforge.net/project/showfil ... e_id=45182

Regards, Mat
Just a newbie - Too many interests, not too many time.

Windows XP SP2
Kubuntu GNU/Linux - Feisty
wxActiveRecordGenerator (aka wxARG) maintainer
Find it at wxCode
User avatar
T-Rex
Moderator
Moderator
Posts: 1248
Joined: Sat Oct 23, 2004 9:58 am
Location: Zaporizhzhya, Ukraine
Contact:

Post by T-Rex »

Still didn't test if generated source code works, but I like the idea and such kind of tool should be very helpful.

Also it seems that "Class Name:" edit box does not work because I always get the default class names for generated classes.
Ugly!
Earned some good credits
Earned some good credits
Posts: 113
Joined: Mon May 09, 2005 5:11 am
Location: Argentina - BS AS

Post by Ugly! »

T-Rex wrote: Also it seems that "Class Name:" edit box does not work because I always get the default class names for generated classes.
Thnx for testing it T-Rex, I'll correct that.

Regards, Mat
Just a newbie - Too many interests, not too many time.

Windows XP SP2
Kubuntu GNU/Linux - Feisty
wxActiveRecordGenerator (aka wxARG) maintainer
Find it at wxCode
paule
Earned a small fee
Earned a small fee
Posts: 11
Joined: Sat Sep 30, 2006 12:05 pm

Post by paule »

Mat
Ugly!
Earned some good credits
Earned some good credits
Posts: 113
Joined: Mon May 09, 2005 5:11 am
Location: Argentina - BS AS

Post by Ugly! »

Thanx for the feedback Paule. Now fixed I hope.

Regards, Mat
Just a newbie - Too many interests, not too many time.

Windows XP SP2
Kubuntu GNU/Linux - Feisty
wxActiveRecordGenerator (aka wxARG) maintainer
Find it at wxCode
jb_coder
Super wx Problem Solver
Super wx Problem Solver
Posts: 267
Joined: Mon Oct 18, 2004 10:55 am

Post by jb_coder »

For Firebird database support, you might look at FlameRobin. The have the SQL to retrieve the tables and fields in the getLoadingSql() function in the metadata/database.cpp file.

Also, are there any API changes that DatabaseLayer is lacking that would make it more usable from your perspective?

Thanks!
Ugly!
Earned some good credits
Earned some good credits
Posts: 113
Joined: Mon May 09, 2005 5:11 am
Location: Argentina - BS AS

Post by Ugly! »

jb_coder wrote:For Firebird database support, you might look at FlameRobin. The have the SQL to retrieve the tables and fields in the getLoadingSql() function in the metadata/database.cpp file.
Thanks for the pointer jb_coder, I'll get into that when I have a Firebird DB set up in my box.
jb_coder wrote: Also, are there any API changes that DatabaseLayer is lacking that would make it more usable from your perspective?
I know I have thought of some things but I not remember them right now.
Some of them have to do with the metadata stuff. Right now I can only think that IIRC, the postgresql metada get's the int8 as an unknown type.

If you want I can mail you the sugestions/request/bugs I found in the way.

Thnx for the help and this great component.

Regards, Mat
Just a newbie - Too many interests, not too many time.

Windows XP SP2
Kubuntu GNU/Linux - Feisty
wxActiveRecordGenerator (aka wxARG) maintainer
Find it at wxCode
User avatar
T-Rex
Moderator
Moderator
Posts: 1248
Joined: Sat Oct 23, 2004 9:58 am
Location: Zaporizhzhya, Ukraine
Contact:

Post by T-Rex »

Hello. :)

I have a new bug-report.

When I add a relation, select it in the grid and press "Edit" then "Foreign ID" combobox of "Relation Properties" dialog does not contain items. I have to select another table in "Table:" list and then select my table anew.

Regards,
T-Rex
Ugly!
Earned some good credits
Earned some good credits
Posts: 113
Joined: Mon May 09, 2005 5:11 am
Location: Argentina - BS AS

Post by Ugly! »

T-Rex wrote:Hello. :)

I have a new bug-report.

When I add a relation, select it in the grid and press "Edit" then "Foreign ID" combobox of "Relation Properties" dialog does not contain items. I have to select another table in "Table:" list and then select my table anew.

Regards,
T-Rex
Thanx for the report T-Rex.
Yep, your right, I'll fix it and update it tomorrow if I can. It shoud be v1.0.7.

[EDITED]: Done. Updated CVS and uploaded new win32 release at wxCode.
Just a newbie - Too many interests, not too many time.

Windows XP SP2
Kubuntu GNU/Linux - Feisty
wxActiveRecordGenerator (aka wxARG) maintainer
Find it at wxCode
Post Reply