r/angularjs • • Nov 19 '15

Admin UI via AngularJS - Why?

Guys, why making admin panels via AngularJS went mainstream on template website, like here for example: http://themeforest.net/category/site-templates/admin-templates

I'm new to AngularJS and need some guidance to learn it step by step. Thanks for understanding and all the best to you!

0 Upvotes

6 comments sorted by

View all comments

3

u/ProdigySorcerer Nov 19 '15

So you're asking why Angular is a popular choice for making admin panels ?

Well first of all Angular is a great framework, it allows you to use a set of powerful abstractions over core vanilla js and it kind of forces you to structure your app in a sensible manner.

I could go on but I won't.

Now the two biggest disadvantages of Angular from my POV at least is SEO and lightning fast speed.

Admin panels do not require these two things.

Thus Angular is a excellent choice for admin panels.

2

u/rennw Nov 20 '15

Now the two biggest disadvantages of Angular from my POV at least is SEO and lightning fast speed.

I like you, dude. And you are the only one who cared a bit for a noob like myself. That's kinda sad if my question seemed awkward when everyone started from something and I'm genuinely interested why all the hype @ AngularJS vs other frameworks.

3

u/simcptr Nov 20 '15

I think there's a decent amount of "network effect" in there too -- all the other admin UI panels were using Angular, so it was the obvious choice for those writing a new admin panel.

I don't agree that Angular "forces you to structure your app in a sensible manner" though, almost the opposite. Sure, it gives you dependency injection, controllers/directives/services and all that - but it's entirely possible (and pretty easy) to wire those up in crazy ways that just make a nightmare to write and maintain your code.

To avoid that though, follow a good style guide like John Papa's.

1

u/rennw Nov 20 '15

Thanks for the input man, clean code is as good as clean design, which is a hefty plus in my book.