Thanks but I agree with their decision to not make it 100% JS. V8 was not
available when they started and would have held the rest of it up. AFAIK, they
still aren't using V8, but will on 5.0.
https://bugreports.qt.nokia.com//browse/QTBUG-12502
My interest is to keep Qt and Wt able to generate interfaces with the same
code, save for some small #ifdefs. (Like pusing JS to the client)
________________________________
From: Koen Deforche <k...@emweb.be>
To: witty-interest@lists.sourceforge.net
Sent: Thursday, December 1, 2011 5:39 AM
Subject: Re: [Wt-interest] QML + Witty
Hey Jason,
2011/12/1 Jason H <scorp...@yahoo.com>
Qt's QML is the new way of doing interfaces. Aside from tyre obvious GUI
dependency, would it be possible to have QML bindings for witty widgets? Maybe
somehow use the QML backend?
Although we have looked at QML, I wasn't totally convinced. In my opinion, they
should have made QML 100% JavaScript.
At least this is the vision I would have for an equivalent for Wt -- to create
bindings for Wt into JavaScript (using e.g. V8), in such a way that you can do
most things declaratively like in QML.
I never considered reusing QML as is -- it might work but it would depend alot
on how it is interwoven with Qt's moc introspection system.
Also, I viewed source to my first witty program and it longed nothing like how
I expected it to. How does witty actually work? I expected to see mostly direct
mappings to html elements. Another thing that, has me, curious, is, how, the
C++ to JS conversion works?
There is a mostly direct mapping. You should probably enable progressive
bootstrap to see the "direct mapping" in the source code as HTML, or use the
"inspect" function from your web browser to see the resulting DOM.
Regards,
koen
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest