Page 1 of 1

Dev Programming Summary?

Posted: Wed Sep 26, 2012 12:58 pm
by sam_grabham
Hi All

Does anyone know if there's a summary of how all of the source code is glued together?, Learning CPP and came across this app when looking for some way of creating reports for printing.

I can see how CPP,wxwidgets,sqlite,Boost and xpm files are used, But were or how are LUA,.po,.m4 files and unittest++ used?

If there's a URL to a developers summary i would be very gratefull as this will save me some time following code through.

Regards

Sam

Re: Dev Programming Summary?

Posted: Wed Sep 26, 2012 1:15 pm
by Nikolay
Lua still does not using but included into project for future development.
po files used wxGetTranslation("some string") function.

PS how to use Lua - need ideas....

Re: Dev Programming Summary?

Posted: Fri Sep 28, 2012 3:33 pm
by sam_grabham
Hi

Thanks for reply, I really do like how the app has been put together.

What IDE's do you use for this type of project?

What IDE do you use for creating the wxWidget windows?

Did you create a ERM when the DB was developed or do you remember all in your head?

Regards

Sam

Re: Dev Programming Summary?

Posted: Fri Sep 28, 2012 3:42 pm
by sam_grabham
HI
Also meant to ask how you went about creating the reports.

Did you have a report layout template for place holders for the data etc. i haven't studied the report part fully yet. Did you use a IDE for ease of creating a report. is there a open source tool that can be used to create a report like Crystal Reports used to be like in the 90's?

Regards

Sam

Re: Dev Programming Summary?

Posted: Fri Sep 28, 2012 4:08 pm
by Nikolay
It seems do you already have source files https://sourceforge.net/projects/moneym ... 200.9.9.0/
mmex_0.9.9.0_src.tar.bz2

Or you can use svn repository http://sourceforge.net/scm/?type=svn&group_id=163169

How to glue files to executable one read this
http://moneymanagerex.svn.sourceforge.n ... iew=markup

for Linux:
http://moneymanagerex.svn.sourceforge.n ... iew=markup

Re: Dev Programming Summary?

Posted: Fri Sep 28, 2012 4:16 pm
by Nikolay
sam_grabham wrote:HI
Also meant to ask how you went about creating the reports.
There is no any report templates mmex use.
Jst get some data from SQLite (or from memory if data caсhed) then transform it to html.

Re: Dev Programming Summary?

Posted: Fri Sep 28, 2012 4:23 pm
by Nikolay
sam_grabham wrote:What IDE's do you use for this type of project?
WS Visual Studio for windows or any other. NetBeans, Geany, for example.
What IDE do you use for creating the wxWidget windows?
I use no one.
Did you create a ERM when the DB was developed or do you remember all in your head?
DB has been created and last time not changed.
That structure was recreated using online service.
Image

Re: Dev Programming Summary?

Posted: Sun Sep 30, 2012 1:10 pm
by Nikolay
The code updated for 100% lua imtegration.

Re: Dev Programming Summary?

Posted: Mon Oct 01, 2012 11:21 am
by sam_grabham
Hi

Thanks for all your tips and comments, I will study your code in more detail and try and learn from it.

Regards

Sam Grabham

Re: Dev Programming Summary?

Posted: Mon Oct 08, 2012 6:38 am
by Nikolay
That Lua script may be usefull as example

Code: Select all

--today_date.lua
week = luaGetTranslation(os.date("%A"))
month = luaGetTranslation(os.date("%B"))
if (os.date("%a") == 'Sun' or os.date("%a") == 'Sat') then
	week = '<font color="red">' .. week .. '</font>'
end

var = string.gsub(var, '/', ' ')
var = string.gsub(var, '-', ' ')
var = string.gsub(var, '%%m', luaGetTranslation(os.date("%B")))

nicedate = os.date(var)
nicedate = week .. ", " .. nicedate

return(nicedate)
To start it working the patch uttached should be applied

Re: Dev Programming Summary?

Posted: Wed Nov 28, 2012 11:54 am
by sam_grabham
still using yor code for reference, as i think you have done a brillant job with this app.

are there any *.wxs files or xrc for the graphic GUI development?

What tool did you use for creating the GUI(graphical) side of wxwidgets?

i have been using wxsmith via codeblocks which creates .wxs files for future GUI changes.

currently looking into how you change the up/down arrow in grid/list and how data is changed when user clicks the list header, Not fully understanding how this was done yet.

are files that have panel in the file name, like "mmcheckingpanel.cpp" included into other window frames that will have a place holder in them ? like an user control in VB or .NET?

Regards

Sam