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

  • SEARCH
  • Home
  • 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 177937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:08:36+00:00 2026-05-11T14:08:36+00:00

I have a complex application with many pages. Each page can have many possible

  • 0

I have a complex application with many pages.

Each page can have many possible routes to other pages: ‘A’ can go to ‘B’ or ‘C’, ‘B’ can go to ‘A’ but not ‘C’. etc.

Rather than embed this ‘where to go to next’ logic in each page (horror!) I of course want to encapsulate it in a main point of control. ‘A’ doesn’t need to know about ‘B’ or ‘C’.

Even better, I’d like to reduce the problem to a matter of configuration.

This isn’t a language/framework specific question — it’s a matter of how best (simple, pragmatic) to represent and interpret Workflow logic.

Has anyone had experience representing a complex flow between points in an application as a configurable setting?

  • 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. 2026-05-11T14:08:37+00:00Added an answer on May 11, 2026 at 2:08 pm

    What you describe is a pretty classic Finite State Machine. You have States (Pages), Navigation (Transitions), but also you can have things like entry/exit actions and transition conditions.

    With that said, it’s worth thinking about your navigation, do you simply want a list of navigation options dynamically added to the page, or is there some extra smarts involved. Think of when the navigation is valid, what information is required for the navigation, the data you might want to bring with you to the next navigation etc.

    I’ve created state maps before by simply using XML, eg:

    <states>   <state name='Open'>     <transition action='Close' state='Closed' />   </state>   <state name='Closed'>     <transition action='Open' state='Open' />     <transition action='Lock' state='Locked' />   </state>   <state name='Locked'>     <transition action='Unlock' state='Closed' />   </state> </states> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 99k
  • Answers 99k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer It's really going to depend on what the data is… May 11, 2026 at 7:41 pm
  • Editorial Team
    Editorial Team added an answer Reflector (which used to be free) will show you this;… May 11, 2026 at 7:41 pm
  • Editorial Team
    Editorial Team added an answer Why can't you compute the rank in the template? {%… May 11, 2026 at 7:41 pm

Related Questions

I've alluded to this project before, in this question, but the scope of redesign
Last week , my boss ask my team to evaluate ASP.NET MVC, for next
I'm writing a reasonably complex web application. The Python backend runs an algorithm whose
I just inherited a Java application and upon inspection of the code, I'm seeing

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.