Hey Daniel,

2009/3/19 Daniel Cavalcanti <[email protected]>:
> Ok, now I understand what you meant about datasources. But I`d still like to
> know what Koen meant by:
>>> it would not be too hard to foresee introspection support

What I mean to say is: I can imagine there are some things we can do
in the library to make it a bit easier for WBuilder (and if not
easier, perhaps easier to maintain) ?

For example, Wt is not very much aware of slots since these are
regular methods, but it could be made aware of signals. You could
imagine a method:

virtual void WObject::getSignals(std::vector<const char *>& result)
virtual bool WObject::connectSignalByName(const char *name, WObject
*target, void WObject::Method method)

We could agree on a syntax for signal name, e.g. this could be
conventionally "clicked()" and so on, and then these two methods could
allow you to introspect a widget for its available signals ? The idea
here is that event signals are special anyway, and we could even
extend this to plain signals -- the implementor of the widget has to
do a little bit of extra work (you could think of it of a subet of the
moc work) but this is little work compare to what could be gained ?

> I`m almost done with signal/slot implementation (the simple one, void
> *(void)) and I still need to implement all properties that WWidgets and
> their deranged, polimorphic kinder have.
>
> Once I`m done I`ll release a new version of it and consider datasources and
> etc... I`ll put those in a "think queue". One step at a time =]

I am amazed with how you make progress, and very happy you do consider
further steps !

Regards,
koen

------------------------------------------------------------------------------
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