in Technology by (1.8m points)

Explain how you can use backbone.js for multiple page web app ?

1 Answer

0 votes
by (1.8m points)

For multiple page web app in backbone.js there are lots of consideration but here are two which can be useful

  • Serving the page : In this, where you want to have your web server route everything to the server route everything to serve the same static page. That means that everything in* will serve /var/www/ once the static page is loaded, the JS on that page will decide what to do given the url
  • Push State : You can still use backbone routing to do your routing, but don’t use hashbangs.  This will allow you to navigate to URLs without actually needing a page refresh.

Related questions

0 votes
asked Nov 13, 2020 in Technology by JackTerrance (1.8m points)