# Making framework, need suggestion

**URL:** <https://www.ruby-forum.com/t/making-framework-need-suggestion/180092>\
**Category:** wxRuby\
**Created:** [December 11, 2009, 10:20am UTC](https://www.ruby-forum.com/t/making-framework-need-suggestion/180092 "2009-12-11T10:20:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hendra\_kusuma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/5f8ce5/32.png) [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Post date:** [December 11, 2009, 10:20am UTC](https://www.ruby-forum.com/t/making-framework-need-suggestion/180092/1 "2009-12-11T10:20:04Z")

</div>

Dear all,

right now I am in the middle of my personal project  
it is some kind of rails but for wx… well, not similar exactly  
for now, I simply call it fastwx (the name explain what we want to get)

here is my plan  
I create some simple script that define the interface in simple way like  
:frame :panel :sizer:columns=2 name:label name:text birth:label  
birth:date  
:endsizer :endpanel :endframe  
then I run some script to generate it into xrc file  
after that another script to generate ruby file (i name it “meta” file)  
that  
load the xrc file  
then another script to generate view class (inheritance of “meta” class)  
which filled with function to define the widget  
and finally a script that generate a controller class (inheritance of  
view  
class) which filled with most used function of every widget

therefore I some need suggestion regarding:

1. what did people usually do when they initialize their widget,  
you know, something like create\_grid

2. what is a widget most used function?

Please send your suggestion for it will help the development.  
right now I am still developing the controller class generator  
and I plan to release it as soon as the basic function of the controller  
done  
so we can add more feature to it

anyway, I do not plan to add any model to the framework  
because in my early test, active record can work with this… perhaps  
and forgive me about using xrc file, my knowledge of wx is just not  
enough  
for me to directly generate the meta file as ruby script

perhaps later we can fix this

Thanks

Regards  
Hendra
