<div dir="ltr"><br><div class="gmail_extra"><br clear="all"><div><br></div><div>Hi Jürgen,<br></div>
<br><div class="gmail_quote">On Fri, Aug 29, 2014 at 4:08 AM, Jürgen E. <span dir="ltr"><<a href="mailto:jef@norbit.de" target="_blank">jef@norbit.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi Pirmin,<br>
<div class=""><br>
On Fri, 29. Aug 2014 at 10:24:00 +0200, Pirmin Kalberer wrote:<br>
> This looks like the first real case for an RFC! I'm quite sceptical adding<br>
> Python to QGIS server. In my opinion this should be discussed thoroughly<br>
> first.<br>
<br>
</div>I recently spend some time exploring the server side expecially QWC - or other<br>
options. If I didn't know before, I'd now know why it's called "web".<br>
Frameworks over frameworks in countless languages. Some frameworks are<br>
are quite similar, some are clones or heavily inspired by others, just<br>
implementend in a different languages. You can't explore them all, but you<br>
can choose without exploring either. Really frustrating.<br>
<br>
News to me was that javascript is apparently also heavily used on the server<br>
side based on node.js. So more clones and alternatives on the server side to<br>
choose from.<br>
<br>
And we have javascript in Qt. There's even a generator that builds Qt bindings<br>
for javascript. If that could also be done for QGIS bindings, we could have<br>
plugins in javascript. And those could work on desktop, server and android.<br>
<br>
But that's just an idea that striked me - exploring it would have sidetracked<br>
me even more, so I didn't. Anyway - maybe good enough to share it.<br>
<br>
No links. I just tried to lookup qt bindings generator I mentioned and found a<br>
qt binding generator for node.js instead - example on the frontpage a message<br>
box - message box on the server side? No, I'll stop here, no more exploration<br>
for now. ;)<br></blockquote><div><br></div><div>But wait, there's more! :-) (Sorry, off-topic.)<br><br></div><div>Yesterday, I came across the Duktape [0] embeddable JavaScript engine, recommended by the osgEarth project as a new dependency [1].<br>
<br></div><div>It has a very small footprint and simple implementation. Not sure how that would work with Qt, or even if it is needed beyond Qt's JavaScript generator, engine, etc. Just found it interesting.<br><br></div>
<div>Could be used to directly integrate things like d3.js [2] or node.js without the extra interface through Qt's QScript or QWebPage? (Just guessing there.)<br><br></div><div>If/when QGIS's code base has been updated to Qt5, JavaScript will become readily available as a scripting solution as well.<br>
</div><div><br>[0] <a href="http://duktape.org/">http://duktape.org/</a><br>[1] <a href="http://docs.osgearth.org/en/latest/startup.html#get-the-dependencies">http://docs.osgearth.org/en/latest/startup.html#get-the-dependencies</a><br>
[2] <a href="http://d3js.org/">http://d3js.org/</a> , <a href="http://bost.ocks.org/mike/map/">http://bost.ocks.org/mike/map/</a><br><br></div><div>Regards,<br><br></div><div>Larry<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><font color="#888888"><br>
<br>
Jürgen<br>
<br>
--<br>
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31<br>
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50<br>
Software Engineer D-26506 Norden <a href="http://www.norbit.de" target="_blank">http://www.norbit.de</a><br>
</font></span><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
<br>
iD8DBQFUAFEOc/GhTF5ESHURAgk0AJ94Z4mAz3NGtmwY1Hphe413VfxCSQCgxXPc<br>
MDoNlMIc6/N1kkTUwJsnpDs=<br>
=cCLx<br>
-----END PGP SIGNATURE-----<br>
<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br></div></div>