Hi Petr,

petr kobalicek wrote:
> This is problem for me. I have only ideas how to create something that will
> work for me and decrease future typing, but I don't no if my coding style
> fits qooxdoo standard.
Your example looks straightforward for solving your specific problem. It 
is good to see how easy it is to develop own widgets in qooxdoo.
For the matter of coding style: you can run "make pretty" to 
pretty-print your application classes. This little helper also inserts 
automatically JSDoc fragments for each of your methods and it's a first 
step towards using the API Viewer for own project. Just run a "make api" 
to generate the API for your application classes and all used qooxdoo 
classes as well.

> I'm using this to create group of buttons, for example i form, in popup
> window, etc. But if you look at the code, it's very specific for my needs.
> The idea is to create group of buttons like this:
> 
> group = new bfly.parts.ButtonGroup(["ok", "cancel"]);
> group.getButton("ok").addEventListener(...);
> 
> Maybe idea for others or qooxdoo team how simple widgets some people needs
> to reduce typing:)
We appreciate such feedback. Maybe such widgets are not integrated in 
the qooxdoo framework itself, but the qooxdoo-contrib project is just 
the right place for such widgets. If your GroupBox widget is modified a 
little bit towards being a little more generic this would be a good 
candidate for qooxdoo-contrib. If it helps you in your application 
development it sure helps other developers as well.

> But, the question is, are there anywhere similar widgets for qooxdoo ? If
> not, why ? I thing that some complete witgets can popularize the framework
> itself. Look at the people, they are chosing frameworks if they find there
> widgets they need :-)
Of course you are right. Widgets play an important role to people when 
it comes to picking a framework. The qooxdoo framework itself contains 
more generic/basic widgets. As I mentioned before the qooxdoo-contrib 
project is the right place for such more specific widgets and this 
project also acts as an incubator for the qooxdoo project. Integrating a 
widget of the qooxdoo-contrib project into the framework should be no 
problem. However integrating widgets of the contrib project into your 
application is also a real no-brainer :)
-> http://qooxdoo.org/documentation/contrib/using_contributions

> So if I will create something that will be useful for others, I very likely
> share it. I like open source community and open source licences like MIT:)
Be aware of that qooxdoo uses a dual-license of LGPL and EPL.
For more infos about contributing code:
-> http://qooxdoo.org/documentation/contrib/contributing

cheers,
   Alex

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to