Efficient GUI programming Topic is solved

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
dentiol
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 205
Joined: Thu Nov 01, 2007 6:21 pm
Location: B800 - B7FF

Efficient GUI programming

Post by dentiol »

I use Visual Studio to develop applications with wxWidgets, I know how to develop GUI, but it's extremely slow in my hands. In other words I miss designer. Is there a similar tool available please ? Thanks.
Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria »

I never used Visual Studio, but I guess what you want is a GUI builder? Take a look at wxFormBuilder, wxSmith, wxGlade, ...

you can get a full list here:
http://www.wxwidgets.org/wiki/index.php/Tools
dentiol
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 205
Joined: Thu Nov 01, 2007 6:21 pm
Location: B800 - B7FF

Post by dentiol »

Auria wrote:I never used Visual Studio, but I guess what you want is a GUI builder? Take a look at wxFormBuilder, wxSmith, wxGlade, ...

you can get a full list here:
http://www.wxwidgets.org/wiki/index.php/Tools
Thanks, so wxFormBuilder generates a C++ code so I could put it into VSC++ project ?
Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Post by Jorg »

Another tip to efficient GUI development is using the MVC architecture, and XRC for your GUI. The first reason is that you work data driven instead of GUI driven which reduces a lot of overhead and prevents your data model to be too much dependent on the GUI. With XRC as your main GUI creation you can always switch GUI editors later because you don't have to generate the C++ creation code. Also, if your app needs a different layout, it doesn't even need to be recompiled.

- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
dentiol
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 205
Joined: Thu Nov 01, 2007 6:21 pm
Location: B800 - B7FF

Post by dentiol »

Jorg wrote:Another tip to efficient GUI development is using the MVC architecture, and XRC for your GUI. The first reason is that you work data driven instead of GUI driven which reduces a lot of overhead and prevents your data model to be too much dependent on the GUI. With XRC as your main GUI creation you can always switch GUI editors later because you don't have to generate the C++ creation code. Also, if your app needs a different layout, it doesn't even need to be recompiled.

- Jorgen
It's a hammer for ant. I need simple forms (not so simple to be easy to programm them by hand).
Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria »

dentiol wrote: Thanks, so wxFormBuilder generates a C++ code so I could put it into VSC++ project ?
Yes, it does. It can also generate XRC. See their homepage for details : http://wxformbuilder.org/?page_id=21
Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Post by Jorg »

So you do not need efficient GUI programming, you need QUICK GUI programming ;-)

Many times when I developed my app by starting from the GUI, all the functionality that was actually the application, was stuck inside the GUI. After years of development I learned that starting with a simple app that can grow, you should always start out right, or else it bites you in the rear.

But there are defenately as much developers as there are solutions to a problem, this is just one of them

Regards,
- Jorgen Bodde
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
frank_frl
Earned some good credits
Earned some good credits
Posts: 139
Joined: Sat Feb 18, 2006 1:41 pm
Location: Germany

Post by frank_frl »

Try DialogBlocks
http://www.anthemion.co.uk/dialogblocks/

It can generate code or XRC for you and works well together with Visual Studio.

Frank
dentiol
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 205
Joined: Thu Nov 01, 2007 6:21 pm
Location: B800 - B7FF

Post by dentiol »

Jorg wrote:So you do not need efficient GUI programming, you need QUICK GUI programming ;-)

Many times when I developed my app by starting from the GUI, all the functionality that was actually the application, was stuck inside the GUI. After years of development I learned that starting with a simple app that can grow, you should always start out right, or else it bites you in the rear.

But there are defenately as much developers as there are solutions to a problem, this is just one of them

Regards,
- Jorgen Bodde
Yes, exactly, quick gui programming :-)
dentiol
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 205
Joined: Thu Nov 01, 2007 6:21 pm
Location: B800 - B7FF

Post by dentiol »

wxGlade seems to be a perfect solution.
Post Reply