home.social

#backbonejs — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #backbonejs, aggregated by home.social.

  1. @[email protected] I still have a couple of SPA’s to manage that are about 9-10 years old. Written in 1 (not too bad) and with a backend.

    Getting to run the JS dev stuff and keeping it up to date, or rather working with a newer Node version is challenging. Looking back it being a SPA doesn’t do much for 85% of these apps. I should’ve used some instead for the interactive parts. That way I could’ve moved to without any issue.

  2. I set out to answer an old question on Stack Overflow, but ended up writing a long tutorial on #BackboneJS, @jquery, #UnderscoreJS and #sprintf, including some advanced techniques. Comments, questions and suggestions welcome.
    #JavaScript
    stackoverflow.com/a/76237929/1

  3. Like I said, this stack of , , , , and has served me well this past decade. I've got several business critical webapps running in it.

    The backend stays. The frontend gets replaced by mostly plain with and . This makes development a lot faster: less context switching as most of it is done inside HTML templates. Added but very nice bonus: less complicated and error prone build pipeline!

    END

  4. Having been in webdevelopment for about 20 years now (yikes!) using stuff like , , , , and sort of fixed the issue of making webapps interactive/reactive. It always felt cumbersome though as it required a lot of different stuff to make it possible. And now we suddenly had to manage state, validation etc. on the client side as well. More work.

    But, I think I found the solution to this problem. One that reminds me of the good old days...

  5. Trying to add some new stuff this week made me realise: I don't enjoy working on this. It has nothing to do with the backend though. I'll always love and . Both very stable and this past decade I had very little issues with upgrading if any at all.

    The part of the stack that needs replacement is the frontend. It's one big (single page application) which means a bunch of HTTP JSON endpoints and + + taking care of the client side.

  6. The webapp is written in with for the backend powered by .

    For frontend I went with and . The state and support of modern features was limited back then, dare I say cumbersome. I also enjoyed CoffeeScript, even though I don't like ;-). To make it look half decent I went with as a CSS framework, but hardly any customisations.

    For development I used with , but since 4-5 years I moved to .