Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7772263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:50:56+00:00 2026-06-01T16:50:56+00:00

I’ve been looking at various RIA and have noticed some folks using or requesting

  • 0

I’ve been looking at various RIA and have noticed some folks using or requesting JavaScript Routing. Just skimming through it ‘JavaScript Routing’ looks like a way to traverse your site…but I can use a simple link for that. Which means I absolutely ‘dont get it’.

So…

  • What does Routing provide you that a regular anchor or link doesn’t?
  • Is it appropriate in only certain environments? (i.e. ASP.NET or straight HTML)
  • What is it for?
  • What purpose drives its existence?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T16:50:57+00:00Added an answer on June 1, 2026 at 4:50 pm

    Routing is a way of organizing and managing application states. A routing framework in JavaScript helps you to change the state of the application–perhaps moving from one admin panel section to another–while maintaining application persistence.

    If you want to navigate from one application state, e.g. /admin/users, to another, e.g. /admin/orders, you could use a normal link as you suggest. But then you’re going to cause the browser to navigate from one HTML page to another. This is, obviously, the normal way that one navigates around the Web. But in a JavaScript application, this is pretty inefficient!

    If you’re running a complex in-browser application in JavaScript, then that app needs to do a lot of work when it’s starting up. It registers event handlers, loads and executes a bunch of JavaScript, and sometimes renders the entire page interface dynamically (in the case of ExtJS and a few other libraries). That’s a lot of extra work for the browser to set up a JavaScript application at /admin/orders that has a lot in common with the one at /admin/users. A more efficient way is for the link to fire an event that the application monitors, and for the application to respond by changing the application’s state–perhaps by removing or hiding the users view and replacing it with an orders view. Routing is a way of representing these different interfaces, using a token–usually a URL fragment like /admin/users–to keep track of where the user is in your interface.

    This allows the application to maintain the dynamic object model that it’s already burned time and used memory to create. It makes the user interface respond more speedily, and, if you’re using URL history management via a hashtag or pushState, it allows the user to navigate around your app using the back and forward buttons of their browser, without reloading every asset on the page every time and wiping your application state. URL management also allows deep linking to some page in the application: on load, your app’s router examines the route string that it receives, tokenizes it, and loads up the interface you’ve specified in your routing table.

    Routing is not required in order to manage persistence, but it’s a good way of organizing your persistent states. Often, a routing system goes hand in hand with URL history management, like Davis.js. But there are also routing libraries that don’t mess with the URI, that maintain an abstract tokenized state which you can use or display as you see fit, like Crossroads.js.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I have thousands of HTML files to process using Groovy/Java and I need to
I have some data like this: 1 2 3 4 5 9 2 6
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I used javascript for loading a picture on my website depending on which small

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.