#backbonejs

Andrew FranceOdaeus@vivaldi.net
2025-04-01

Got a notification that #BackboneJS has released a new version and was instantly mentally transported back to happier simpler times.

Still an example of clear, well-documented, and elegant (as it gets) #Javascript: github.com/jashkenas/backbone/

Julian Gonggrijpjuliangonggrijp@ieji.de
2025-03-18

@papa_alpha_papa Interesting! Could I apply your benchmark to the #BackboneJS Events interface as well?

Julian Gonggrijpjuliangonggrijp@ieji.de
2025-03-03

@aral Reminds me of #BackboneJS! đź’•

Christiaan KrasHtbaa@fosstodon.org
2024-08-12

I think about 2 years ago I had a long thread over here about updating my 10+ year old SPA (#backbonejs, #javascript, #perl, #Mojolicious) to a MPA using just #htmx for frontend interactivity.

Well, I've been way too busy to even start any of that! But, in the last couple of days I decided to go for a hybrid approach. I've added some htmx components to my single page application. My app's dashboard finally provides me with some interesting reports, powered by htmx.

That should do for now :-).

Curtis McHalecurtismchale
2024-05-15

Are people still using Backbone.js to make JSON calls inside the WordPress Admin as suggested in the Rest API docs?

developer.wordpress.org/rest-a

I want to get the latest post in a category from another site.

Julian Gonggrijpjuliangonggrijp@ieji.de
2024-04-11

A beginner #webdev asked whether there was any #MustacheTemplating equivalent of #Angular's ngStyle. I answered on #StackOverflow with a short tutorial on how this can be achieved with #BackboneJS and #MVC.

stackoverflow.com/q/78307637/1

#JavaScript

Julian Gonggrijpjuliangonggrijp@ieji.de
2024-02-05
Julian Gonggrijpjuliangonggrijp@ieji.de
2023-10-11

@linear I don't know whether you work in JavaScript or Python, but out of principle: please know that you would be welcome to contribute to any of the projects I maintain. That's #UnderscoreJS, Underscore-contrib, #BackboneJS, #Wontache and pip-review (currently trying to transfer the latter to a new maintainer).

A Painting For The Artistemperormatic
2023-08-30
westbrookwestbrook
2023-07-29

Types of “components” (I’m being a bit broad with the word) that I’ve written as a , in order of most created to least:

1.
2. views
3. Proprietary frameworks
4. jQuery plug-ins
5. components

And, there’s easily orders (with an “s”) of magnitude between all other “components” combined and the number of that I’ve created and shipped in production over time.

Julian Gonggrijpjuliangonggrijp@ieji.de
2023-07-28

I just released version 1.5.0 of #BackboneJS! It has

- an option to keep the trailing slash on a route URL
- bug fixes
- a code of conduct, security policy and many other doc improvements

Change log: backbonejs.org/#1.5.0
NPM: npmjs.com/package/backbone/v/1
#javascript

Christiaan KrasHtbaa@fosstodon.org
2023-07-24

@danjac I still have a couple of SPA’s to manage that are about 9-10 years old. Written in #CoffeeScript 1 (not too bad) and #BackboneJS with a #Perl #Mojolicious 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 #jQuery instead for the interactive parts. That way I could’ve moved to #htmx without any issue.

Julian Gonggrijpjuliangonggrijp@ieji.de
2023-05-12

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

Julian Gonggrijpjuliangonggrijp@ieji.de
2023-05-05

@selzero Both. 🙂 Bootstrap (and jQuery, which it depends on) is still valid. Not using anything else is old-fashioned, but if it works for you, why not?

I make full-blown client side applications, which benefit from a proper application framework (Bootstrap calls itself a framework, but is a widget toolkit). You could try #BackboneJS, which is lightweight and compatible with Bootstrap+jQuery. I maintain it. But if most of your HTML is static, or generated on the server side, you can do without.

Julian Gonggrijpjuliangonggrijp@ieji.de
2023-03-25

@yenzie @gizmomathboy @genehack @randomgeek @ovid Nice parable. Can I add #BackboneJS, which was written by a vegan adventurer. It is a Toyota Hilux, which looks outdated but never fails you.

Christiaan KrasHtbaa@fosstodon.org
2023-01-05

Like I said, this stack of #perl, #Mojolicious, #MySQL, #CoffeeScript, #BackboneJS and #Bootstrap 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 #HTML with #htmx and #TailwindCSS. 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

Christiaan KrasHtbaa@fosstodon.org
2023-01-05

Having been in webdevelopment for about 20 years now (yikes!) using stuff like #MooTools, #jQuery, #Knockoutjs, #Backbonejs, #Marionettejs and #React 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...

Christiaan KrasHtbaa@fosstodon.org
2023-01-05

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 #perl and #Mojolicious. 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 #SPA (single page application) which means a bunch of HTTP JSON endpoints and #Backbonejs + #CoffeeScript + #Mustache taking care of the client side.

Christiaan KrasHtbaa@fosstodon.org
2023-01-05

The webapp is written in #perl with #Mojolicious for the backend powered by #MySQL.

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

For development I used #Vagrant with #VirtualBox, but since 4-5 years I moved to #Docker.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst