<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style><style type="text/css"></style><style type="text/css"></style><style type="text/css"></style><style type="text/css"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: x-small;">
<div style="direction: ltr; ">Hi Everyone,
<div style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: x-small; "><br>
</div>
<div>Sorry if I've missed anything below, this thread has become rather fragmented and messy (at least in my email clients) but I will try to address the main points I have seen so far:
<div style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: x-small; "><br>
</div>
<div>
<ul style="font-family: Tahoma; font-size: 8pt; ">
<li style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: x-small; ">Just so that everyone is aware, the lessc parser that is bundled in Horizon, while executable, is NOT a binary. It is, in fact, just a 140 line JS file, you can see the code here: <a href="https://review.openstack.org/#/c/7367/4/bin/less/lessc" target="_blank">https://review.openstack.org/#/c/7367/4/bin/less/lessc</a></li><li>The reason I have bundled it within the Horizon code, as Gabriel mentioned, is to assuage any version mismatches or install issues with LESS itself that may arise from having yet another dependency on top of NodeJS that needs manual steps to install. Also,
 the LESS package that exists for Ubuntu is a year out of date, and other distributions do not even have packages for it. I would love if we could rely on the OS' packages to assuage this dependency, but we cannot, so this is the simplest and best-working solution
 I could think of. It will be no more difficult to maintain than jQuery, or Bootstrap, in the Horizon code-base...</li><li>As for distribution support, Node can be installed on just about anything, see here: <a href="https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager" target="_blank">https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager</a></li><li>As to the concerns about "it not being Python" or  "JavaScript has been abused." Well, all I can say to that is no, it is not Python, and yes, some developers write terrible and abusive code with JavaScript. I'm sure I could find horrid/abusive Python somewhere
 as well, but doing so would not preclude our reasons to use it in OpenStack. Misuse of a tool is not a reason to fear the tool itself, if that were so none of us would use any language, ever. Not to mention, we already use a ton of JS in Horizon... I'm not
 introducing JavaScript to Horizon for the first time or anything here.</li></ul>
</div>
<div style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: x-small; "><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: x-small; ">I'm sure I've missed some good points, but this thread is a mess and is difficult to sort through... :P
</div>
<div style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: x-small; "><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: x-small; ">-John Postlethwait</div>
<div style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: x-small; "><br>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF672788" style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> openstack-bounces+john.postlethwait=nebula.com@lists.launchpad.net [openstack-bounces+john.postlethwait=nebula.com@lists.launchpad.net] on behalf of Simon
 G. [semyazz@gmail.com]<br>
<b>Sent:</b> Friday, May 25, 2012 7:40 AM<br>
<b>To:</b> Jay Pipes<br>
<b>Cc:</b> openstack@lists.launchpad.net<br>
<b>Subject:</b> Re: [Openstack] Fwd: Nodejs in horizon<br>
</font><br>
</div>
<div></div>
<div>Maybe I've misuderstood something, but I've tried to give examples of other backends than node.js which can make use of mentioned before
<a href="http://socket.io" target="_blank">socket.io</a> and can be used to implement realtime communication. I just wanted to minimize use of node.js. Hmm... I'm still talking about realtime communication, but it was only mentioned as an example and it's not
 even listed as a feature anywhere. So maybe my part in this topic is pointless. I'll be silent from now :)<br>
<br>
Cheers,<br>
<br>
<div class="gmail_quote">On Fri, May 25, 2012 at 3:20 PM, Jay Pipes <span dir="ltr">
<<a href="mailto:jaypipes@gmail.com" target="_blank">jaypipes@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div class="im">On 05/25/2012 08:41 AM, Simon G. wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
Hello,<br>
<br>
I don't want to be rude, but fast research about point *3c* and sockets<br>
=> PyPi search<br>
<<a href="http://pypi.python.org/pypi?%3Aaction=search&term=socket.io&submit=search" target="_blank">http://pypi.python.org/pypi?%<u></u>3Aaction=search&term=socket.<u></u>io&submit=search</a>><br>
<br>
 * <a href="http://pypi.python.org/pypi/SocketTornad.IO/" target="_blank">http://pypi.python.org/pypi/<u></u>SocketTornad.IO/</a><br>
 * <a href="http://pypi.python.org/pypi/TornadIO2/0.0.3" target="_blank">http://pypi.python.org/pypi/<u></u>TornadIO2/0.0.3</a> ,<br>
   <a href="https://github.com/MrJoes/tornadio2" target="_blank">https://github.com/MrJoes/<u></u>tornadio2</a><br>
 * <a href="http://pypi.python.org/pypi/django-socketio/0.3.3" target="_blank">http://pypi.python.org/pypi/<u></u>django-socketio/0.3.3</a><br>
 * <a href="http://mrjoes.github.com/2011/12/15/sockjs-bench.html" target="_blank">
http://mrjoes.github.com/2011/<u></u>12/15/sockjs-bench.html</a>
<div class="im"><br>
<br>
How mature are those projects? I don't know. I'm not an expert in<br>
python. I'm just trying to find alternatives to Node.js if almost<br>
everything is in python. I'm just testing Openstack and right now I'm<br>
trying to add something to nova, but I really like horizon and if it's<br>
possible, I'd like to avoid node.js. I'm not a fan of this technology<br>
even if it's popular and fast, because I just have some doubts about<br>
Javascript and its maintainability.<br>
</div>
</blockquote>
<br>
Hi Simon,<br>
<br>
<a href="http://socket.io" target="_blank">socket.io</a> is a Javascript library :) 3 of the 4 projects you reference above use
<a href="http://socket.io" target="_blank">socket.io</a>.<br>
<br>
Best,<br>
-jay
<div class="HOEnZb">
<div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~<u></u>openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~<u></u>openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/<u></u>ListHelp</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<i><font color="#333333">Semy</font></i>
<div><font color="#666666"><br>
</font></div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>