Suggestions for a replacement for AngularJS please
# help-with-other
m
Just looking for suggestions if possible. We have a very old (started in 2001) website which has been added to over the years. It deals with a huge database, some pages just show data in tables, others have graphs, tables set out more individually, reports from stored procedures from several different db tables etc etc . It was started in Classic ASP and still uses this (VBScript) as the basis of the admin and page display though much of the data is now loaded via AJAX from a .Net based API. AngularJS doing a lot on the front end in terms of displaying table content, filtering (maybe 10 filters per page), toggling column visibility, calculating averages etc. There are also some single-page web applications built using AngularJS allowing individualised calculations etc. It's been like this for about the last 10 years apart from CSS changes and some minor modifications. Anyway this is finally going to be rebuilt using Umbraco, probably 13, and I am just wondering about how to replace AngularJS. If we go with a new JS framework, someone will have to learn it from scratch. Any recommendations for something that will play well with Umbraco/.NET and help us deal fairly slickly with all the tables and reports. I was looking at AlpineJS, seems straightforward enough. Vue was another option? Thanks!
u
When recently looking for an agency to create a front end website from our API every single commercial agency wanted to use React/Next.js because that's what they had experience in, so probably worth looking at that if you want a full featured framework. If you want full control of the front end I'd beware of using a framework on top of that like Material UI as that's more suited to creating an App like interface (though that might suit your use-case?)
i
I used AngularJS back when it was released. I did a project in the later versions about 4 years ago. For the last approx. 3 years, we made a concious decision to move to using VueJS. I really like it because for our purposes, I find it's not as cumbersome as the newer versions of Angular. I would say I'm finding more and more employers/organisations asking for VueJS skills although React is by far, still the framework that's most requested. A developer I respect (who doesn't like JavaScript and has a background in C#) is very keen on Blazor at the moment, that might be a better fit for you depending on the skills in your team?
m
Thank you both. Sorry, it's a client job in case that wasn't clear so design is going to have to be run by them but they're probably open to persuasion, so while yes we would like full control of the front end, something like ag-gridmight do all our filtering etc very easily and some control could be sacrificed in that situation! But need to check the pricing and/or free version capabilities. VueJS is something we've been meaning to up our skills on anyway so that might be worth looking into in the meantime, but I'll look into Blazor also, thanks!
s
HTMX could be an option. Render all your stuff in cshtml/razor, and use HTMX to swap html fragements in from surfacecontrollers, pages etc.
d
I've built client projects in Vue and some personal sites recently in HTMX and Razor Pages. I think @skttl makes a good suggestion. Most of our sites are upgraded from Classic ASP and JQuery to standard Umbraco Razor and Vanilla JS.
m
Have been a little distracted the last day or two with other work but have been leaning towards Vue. Will have a look at HTMX, it is something I've heard of but not familiar with in anyway, will have to check it out, thanks!
i
If you do decide on Vue, the documentation is good but I also used this online video platform to get me up to speed - https://www.vuemastery.com/. I thought you might find it useful. Each video lesson has a transcript so if you don't like watching the videos, you can simply use it as a tutorial/blog site. It's a nice resource.
n
Going against the grain a bit, but I quite enjoy working with new Angular. It's heavy and opinionated but since it comes with pretty much everything out of the box, it's also super powerful. Pointless if you're needing to add islands of functionality, but great for full-blown SPA builds
m
Only getting back to these now. HTMX looks interesting but I think it's about time I updated my JS framework skills anyway so reckon we'll try Vue for now. Thank for the link to Vue Mastery - very good resource alright. I really should check out the new Angular though, maybe someday 🙂 Thanks all!
j
Most of the modern JS frameworks will probably work well. The main benefit of AlpineJS is IMHO for progressive enhancement of older websites - just plop it in and start (re-)building components as you go. If you need more complex stuff then go for one of the bigger ones.
j
I've started using Alpine.js. so far, it's looking very promising and while not a drop-in replacement for AngularJS it's similar enough that it's not a whole new learning curve.
4 Views