Forum Overview :: BIT.TRIP RUNNER
 
Angular: Why? by Rafiki 10/18/2017, 10:59am PDT
I'm learning about Angular. I don't think it's good or bad because I'm not sure what to make of it yet. I am coming from ASP.NET MVC. It seems like the only real difference is with Angular most of the HTML is rendered/emitted in the browser vs. the ASP server engine. So rendering with Angular means you send less data to the browser but do more work there. If I were handling 400 million user requests per hour I could see that being a Big Deal.

Other than that, I'm not sure of the major differences. Single page applications are promoted as being the main selling point of Angular, but from what I've seen so far I can fairly trivially reproduce the same behavior with MVC and Ajax.

I can unit test MVC files and projects, but I see talk of unit testing pages with Angular. Are people unit testing rendered HTML?!?! That seems insane.

I can update individual MVC pages and MVC templates (pages with random blocks of HTML that get inlined during rendering) by just copying the files to the server without having to recompile anything.

I can avoid JavaScript and jQuery with Angular, but I have to do a bunch of setup and configuration with Angular and Typescript (and I can use Typescript in MVC). So, in my ignorance, it seems less like it's saving me anything and just a matter of shifting around where I write code.

In fact, that's the summary of my overall impression of Angular vs MVC. Moving around where I'm doing my software engineering. Is there something more I'm missing? I'm all about using tools that make my life easier, so this isn't "RA-RA MVC WOOO!," I'm just comparing it to what I know. I'm just wondering if anyone here has more experience with Angular and can explain why I'm retarded.
NEXT REPLY QUOTE
 
Angular: Why? by Rafiki 10/18/2017, 10:59am PDT NEW
    It just seems like it's moving towards desktop application style MVC by Entropy Stew 10/18/2017, 5:49pm PDT NEW
        Re: It just seems like it's moving towards desktop application style MVC by Rafiki 10/19/2017, 1:09pm PDT NEW
            It is being used for traditional sites. by Fullofkittens 10/19/2017, 6:38pm PDT NEW
                Yes. React is FRP-inspired and FRP is nigh panacea by Entropy Stew 10/19/2017, 10:26pm PDT NEW
                See, React looks like something I can get behind by Rafiki 10/20/2017, 11:13am PDT NEW
                    I think the answer here is that we all more or less agree and are right-thinking NT by Entropy Stew 10/20/2017, 12:09pm PDT NEW
            It's probably better for traditional sites than the other js frameworks by Entropy Stew 10/19/2017, 10:19pm PDT NEW
    Wait until you see how many mb the browser downloads for Angular... NT by Oom Shnibble 10/19/2017, 4:55am PDT NEW
 
powered by pointy