Re: [openstack-dev] [Horizon] Introduction of AngularJS in membership workflow

2013-11-13 Thread Jiri Tomasek
Hi, I'd like to point out, that our main intent should be to use mostly AngularJS's Directives feature. As Jordan mentions, It is a self-contained reusable item that is initialized on the html element (see line 6 in [2]), you can pass it variables that Django template has available. Then

Re: [openstack-dev] [Horizon] Introduction of AngularJS in membership workflow

2013-11-13 Thread Jordan OMara
On 13/11/13 11:47 +0100, Jiri Tomasek wrote: On 11/13/2013 11:20 AM, Maxime Vidori wrote: Hi all, I was wondering how can we continue to maintain a no js version of Horizon with the integration of Angular, it seems to be a lot of work on top of it. I would favor not having to maintain the

Re: [openstack-dev] [Horizon] Introduction of AngularJS in membership workflow

2013-11-12 Thread Ladislav Smola
+1000 Excellent I am really excited about having a heavily tested proper client-side layer. This is very needed, given that amount of javascript in Horizon is rising. The hacked together libraries in JQuery, that are there now are very hard to orient in and will be hard to maintain in the

[openstack-dev] [Horizon] Introduction of AngularJS in membership workflow

2013-11-11 Thread Jordan OMara
Hello Horizon! On November 11th, we submitted a patch to introduce AngularJS into Horizon [1]. We believe AngularJS adds a lot of value to Horizon. First, AngularJS allows us to write HTML templates for interactive elements instead of doing jQuery-based DOM manipulation. This allows the