PureMVC++ - a C++ MVC framework ported from AS3

Hi guys. I haven’t posted here in a very long time. I recently ported PureMVC, a non-language specific MVC framework, to C++. C++ is not my main language though, and I thought I’d try and get some feedback from you guys. I remember reading something about openFrameworks having some kind of MVC framework built in - so I thought this might be a good place to ask what people thought. There don’t seem to be a lot of MVC implementations in C++ - I know of Qt having some kind of implementation, and possibly openFrameworks. So if you’d like to check out my project, you can get the source from github -> http://github.com/efnx/PureMVC-Plus-Plus . In the repo there’s an examples folder with (currently two) very simple example applications. I am hoping to get an opengl example done by next week.

If you do decide to check it out, and can offer your input, there are a couple pressing issues I’d like to focus on:

  1. The current norm for PureMVC ports is to have a deeply nested folder structure, and a complicated namespacing setup. I have included all my classes in two monolithic files, one header and one cpp file. I thought this might be easier to include in a project. Normally the folder structure would look something like this -> http://puremvc.org/pages/docs/AS3/multi-…-rk-source/ (check out the left frame at that link). Which way would you like to see the files implemented for the C++ version?

  2. I’ve currently only tested the framework with GCC. Does anyone here use something different? Borland? Microsoft? What are some of the steps I’ll have to take to make my project cross compiler compatible? Any?

  3. I’ve outlined some of the differences between the AS3 and C++ versions in this post at my blog -> http://blog.efnx.com/puremvc-a-c-mvc-fr-…–from-as3/ . Do any of you have any novel ideas on how to approach these differences?

Thanks for your time, and I apologize in advance if this post is off-topic.

If you’d just like to peruse the documentation, I’ve got some doxygen made docs here -> http://civiliansoftware.com/pmvcpp/

Ahhhh, one thing I just found out about - void pointers. I can use those.