Hello,

>>So these things are missing from your WBuilder. And that is to specify
datasources for the widgets and the connection between signals and slots

you can read my entire answer regarding you work on
http://www.mobiphil.com/?p=108

... but I pasted here the essence...

regards
mobi

I am afraid that I was not understood regarding the data source. I was
writing earlier on the mailing list also about database connectivity, and
libraries that would allow such connectivity (I called it data source).
Choosing a good database connectivity engine (library), and linking against
our generic program, it would be interesting to configure in the same XML
file the database and table name (and eventually sql statement) that would
feed a certain widget. Exactly as our funny friends Visual Basic or Delphi
did. Example, you add to your XML file a new combobox with some country
names. You do not want to add code that would only feed the control,
recompile, etc., but you would rather specify it in the xml file for that
widget something like as “<datasource database=”blahblah” table=”countries”
row=”name”/>. When building the widget if such datasources are specified,
with some simple and generic mechanism the widget would be loaded with the
“name” column from the countries table.
Or something similar, once the combobox with countries loaded, you add a
text view control, and link the <selection changed> signal of the combobox
with some slot in the text view control. The view control would have sthg.
like <datasource database=”blahblah” view=”select description from countries
where name=***selected country***>.

Unfortunatelly I do not have time to go deeper into details, I would love to
do so, I would love to find myself the solution, but I believe this would
make wt much more fun to use… even for beginners.

I think it would be also a nice marketing stuff for WT. *Create wt
application in 3 steps*. The user would have to download the “generic
executable” (that is what windows kidZZ love [image: :)] ). Run the
executable, it would open port XXX. Then go with browser,
http://localhost:XXX/admin. The admin page will show you a simple start
control, and some mechanism to add/remove controls, specify signal slot
connections, etc. What would be the next step… add some simple python/ruby
code to add more functionality ?

Hm… I do not think this is a dream… Isn,t it? [image: :)]




On Mon, Mar 16, 2009 at 10:10 PM, Daniel Cavalcanti
<[email protected]>wrote:

> >> it would not be too hard to foresee introspection support
>
> I`m sorry Koen but I did not understand what you meant.
>
> >>So these things are missing from your WBuilder. And that is to specify
> datasources for the widgets and the connection between signals and slots
>
> What do you mean by "datasources"? Yes I`ll add signals and lots in the
> next version of WBuilder. I already have an idea on how to do it and I
> believe it will be nicely implemented.
>
>
> On the next release I plan to add layout definitions and signals/slots.
>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to