[openstack-dev] [horizon] Javascript development improvement

Maxime Vidori maxime.vidori at enovance.com
Fri Nov 22 10:10:31 UTC 2013


I will start reading documentation in order to integrate node in development, we also want to integrate its testing into the existing ones. I think a blueprint will be necessary.

----- Original Message -----
From: "Jiri Tomasek" <jtomasek at redhat.com>
To: openstack-dev at lists.openstack.org
Sent: Thursday, November 21, 2013 1:55:48 PM
Subject: Re: [openstack-dev] [horizon] Javascript development improvement

Hi,

I also don't see an issue with using nodejs in Horizon development 
environment. Is the problem in Django not differentiating the 
development and production environments by default?
Could the problem be resolved by having two different environments with 
the two requirements files etc. similar as Rails does?

Regarding less, I don't really care what compiler we use as long as it 
works. And if we need to provide uncompiled less for production, then 
let's use Lesscpy.

Jirka

On 11/21/2013 09:21 AM, Ladislav Smola wrote:
> Hello,
>
> as long as node won't be Production dependency, it shouldn't be a 
> problem, right? I give +1 to that
>
> Regards
> Ladislav
>
> On 11/20/2013 05:01 PM, Maxime Vidori wrote:
>> Hi all, I know it is pretty annoying but I have to resurrect this 
>> subject.
>>
>> With the integration of Angularjs into Horizon we will encounter a 
>> lot of issues with javascript. I ask you to reconsider to bring back 
>> Nodejs as a development platform. I am not talking about production, 
>> we are all agree that Node is not ready for production, and we do not 
>> want it as a backend. But the facts are that we need a lot of its 
>> features, which will increase the tests and the development. 
>> Currently, we do not have any javascript code quality: jslint is a 
>> great tool and can be used easily into node. Angularjs also provides 
>> end-to-end testing based on nodejs again, testing is important 
>> especially if we start to put more logic into JS. Selenium is used 
>> just to run qUnit tests, we can bring back these tests into node and 
>> have a clean unified testing platform. Tests will be easier to perform.
>>
>> Finally, (do not punch me in the face) lessc which is used for 
>> bootstrap is completely integrated into it. I am afraid that modern 
>> javascript development can not be perform without this tool.
>>
>> Regards
>>
>> Maxime Vidori
>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list