[Qt-qml] Towards QtQuick 2.0 , what more improvements to make JS first class citizen?

Sivan Greenberg sivan at omniqueue.com
Sat Oct 8 20:03:44 CEST 2011


I was going to note that as well, I am going to vote at that feature -
Henrik already asked there if this should become a proper feature
instead of a bug/workaround :-)

I agree with Johan's comments.

-Sivan

On Sat, Oct 8, 2011 at 9:32 AM, Girish Ramakrishnan
<girish at forwardbias.in> wrote:
> I agree. You should vote at
> https://bugreports.qt.nokia.com//browse/QTBUG-12117. It's got 42
> votes, atm :-)
>
> Girish
>
> On Fri, Oct 7, 2011 at 8:49 PM, Johan Paul <johan.paul at gmail.com> wrote:
>> XML is a first-class citizen in QML, which I find very "90s". JSON should be
>> on the same level that XML currently is. Just think about the models that
>> can be automatically built from XML. Being able to do the same from JSON
>> would be awesome, and to be honest, matching today's requirements.
>>
>>
>> --
>> Johan
>>
>>
>>> Why can't you just import json2.js?
>>>
>>> Girish
>>>
>>> On Fri, Oct 7, 2011 at 8:23 PM, Johan Paul<johan.paul at gmail.com>  wrote:
>>>>
>>>> Hi,
>>>>
>>>> Nothing about QML JSON parsing? What a letdown.
>>>>
>>>>
>>>> --
>>>> Johan
>>>>
>>>>
>>>>> Hi Sivan,
>>>>> Have you seen the links below:
>>>>> http://doc.qt.nokia.com/qt5-snapshot/qdeclarativejavascript.html
>>>>> http://doc.qt.nokia.com/qt5-snapshot/qtquick2-whatsnew.html
>>>>>
>>>>> A new thing that I learnt from irc yesterday is that "property var"
>>>>> has been implemented
>>>>> (http://lists.qt.nokia.com/pipermail/qt-qml/2011-June/002667.html).
>>>>>
>>>>> Girish
>>>>>
>>>>> On Fri, Oct 7, 2011 at 3:33 PM, Sivan Greenberg<sivan at omniqueue.com>
>>>>>  wrote:
>>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>>   Given
>>>>>> http://doc.qt.nokia.com/4.7-snapshot/qdeclarativejavascript.html#qml-javascript-restrictions
>>>>>> , what more improvements are planned? (Besides perhaps making JSON
>>>>>> strings first class citizens as well as automatic arrays[0] ;))
>>>>>>
>>>>>>   As I'm moving on with my development utilizing JS within QtQuick, I
>>>>>> realize that eventually there's not too much I need to fallback to C++
>>>>>> for, at least for the prototyping and first release. I'm thankful for
>>>>>> that.
>>>>>>
>>>>>>   Is there a development mailing list for that to follow ?
>>>>>>
>>>>>> Thanks QML team, keep up the good work!
>>>>>>
>>>>>> -Sivan
>>>>>>
>>>>>> [0]:
>>>>>> https://bugreports.qt.nokia.com/browse/QTBUG-12117?focusedCommentId=165257#comment-165257
>>>>>> _______________________________________________
>>>>>> Qt-qml mailing list
>>>>>> Qt-qml at qt.nokia.com
>>>>>> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>>>>>>
>>>>> _______________________________________________
>>>>> Qt-qml mailing list
>>>>> Qt-qml at qt.nokia.com
>>>>> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>>>>
>>>> _______________________________________________
>>>> Qt-qml mailing list
>>>> Qt-qml at qt.nokia.com
>>>> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>>>>
>>
>>
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>



-- 
-Sivan


More information about the Qt-qml mailing list