Closed Bug 975826 Opened 10 years ago Closed 10 years ago

Move to AngularJS with Bootstrap theming

Categories

(Bugzilla :: User Interface, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: gauravsaini03, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36
AngularJS 1.2.x does not support IE6 and IE7, as far as I know.

What are the clear and measurable advantages towards YUI?
Severity: normal → enhancement
Blocks: 453268
Severity: enhancement → normal
(In reply to Andre Klapper from comment #1)
> AngularJS 1.2.x does not support IE6 and IE7, as far as I know.
> 
> What are the clear and measurable advantages towards YUI?

Yes, you are right it does not support IE6, IE7 and might be IE8 also in future. I think the amount of users using this browsers are really small now. Microsoft themselves have declared IE6 dead some time back.

There are not that much points comparing YUI and Angular, YUI is a library and Angular is a framework. In Angular we have advantage of two way data binding, its MVC approach, dependency Injection. With AngularJs the page load time is real less, it just loads some part of the page that have to be changed not the complete page with the different templates. Another thing is AngularJs also support Jquery many functions inside it. Also, with bootstrap using with angularJs it can theme it up nicely. Bootstrap is way better than YUI css, also its the most used nowadays and with most top projects on github and can get more people involved in this.

Thanks
Gaurav
This does not technically block bug 453268, but either bug 453268 or this bug will get fixed. It  is not a regression, hence please keep severity as "enhancement".
No longer blocks: 453268
Severity: normal → enhancement
See Also: → 453268
I wish this enhancement can be added to GSOC2014, so I can work on to this during this summer. Is there a way that this can be added o Ideas list of mozilla gsoc ideas list for bugzilla ?
(In reply to gauravsaini03 from comment #2)
> Yes, you are right it does not support IE6, IE7 and might be IE8 also in
> future. I think the amount of users using this browsers are really small
> now.

IE8: 21.2%, IE7: 2.4%, IE6: 4.5%. That's more than Safari or Opera.


> There are not that much points comparing YUI and Angular, YUI is a library
> and Angular is a framework.

YUI is a framework too: http://yuilibrary.com/yui/docs/app/


> using with angularJs it can theme it up nicely. Bootstrap is way better than
> YUI css, also its the most used nowadays

Where do you get your data from? http://w3techs.com/technologies/comparison/js-angularjs,js-yui disagrees with you.


Also, using AngularJS means generating invalid HTML5 pages, which we really try to avoid. It's just a shame that Google is unable to follow a spec.



(In reply to gauravsaini03 from comment #4)
> I wish this enhancement can be added to GSOC2014

AFAIK, the deadline was February 14.
(In reply to Frédéric Buclin from comment #5)
> Also, using AngularJS means generating invalid HTML5 pages

OK, this can be fixed by using the data- prefix. This is legal per the HTML5 spec, and the HTML5 validator is happy with that. Good!
angularjs is a whole UI framework, which would require a massive rewrite of the existing bugzilla UI, and is something that would break any existing bugzilla work built on top of our current templating engine.

it's possible to build an angular UI on top of the bugzilla APIs, but given the amount of effort and risk involved here, replacing our existing template-toolkit based system with a pure js one such as angular or ember isn't viable i'm sorry.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.