*** zbenjamin is now known as Guest28205 | 01:26 | |
*** zbenjamin_ is now known as zbenjamin | 01:26 | |
*** jrt is now known as Guest1658 | 02:23 | |
*** BitEvil_ is now known as SpeedEvil | 03:14 | |
*** nyov is now known as Guest55013 | 03:18 | |
*** frinring_ is now known as frinring | 07:03 | |
AL13N_lappy | hey, i'm designing a backend system for something, and I was wondering what the best way was for a QML app to communicate with backend... is a REST type thing easier, or should i look into something else? | 11:02 |
---|---|---|
AL13N_lappy | plan would be to have native qml, QMLonAndroid en qmlweb on it.... | 11:05 |
attah | AL13N_lappy: so i'm assuming you mean server-side as opposed to lower layers of the app... sure, (JSON over) REST is good... can't think of many alternatives | 11:29 |
attah | or i guess i should say HTTP, doesn't have to be strictly restful | 11:29 |
attah | XML would also work for data format, but i'm not a fan | 11:31 |
AL13N_lappy | attah: yeah, thanks, but, i wasn't sure there was a good QML way to get a json page in the background? or is it? | 13:30 |
AL13N_lappy | attah: i've had to use the qml python thing to do it in my past apps | 13:32 |
AL13N_lappy | attah: wondering if there's a better way | 13:33 |
AL13N_lappy | i didn't wanna do any Qt C++ on it | 13:33 |
AL13N_lappy | which i'm gonna need to avoid if i'm doing qmlweb anyway | 13:33 |
AL13N_lappy | wait, if it's json, maybe i can use it directly with dynamic imports? | 13:34 |
attah | AL13N_lappy: the standard XMLHttpRequest works in the background by default.. so it can do something,and the qml reacts to some data changing | 14:03 |
attah | And this is a good abstraction if it is lists of things https://github.com/kromain/qml-utils | 14:04 |
Mister_Magister | abranson: ping | 14:51 |
Mister_Magister | where did he go :< | 15:28 |
mal | Mister_Magister: it's weekend | 15:29 |
mal | Mister_Magister: what problem do you have? | 15:29 |
Mister_Magister | mal: it wasn't weekend yesterday | 15:29 |
Mister_Magister | mal: some discussion about dash license and i have huge ui freeze when i start playback (phone dependent on length) and also if i lock phone or leave app when its playing it will fail to resume playback, throw stuff at me about shaders not being linked (i link them so idk) and also app doesn't close when you close it (gst takes over terminate signal?) | 15:30 |
Mister_Magister | and gps not working in moto g2 but thats for you :> | 15:30 |
Mister_Magister | im thinking of putting license stuff in mer meeting | 15:33 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!