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 7756911
In Process

The Archive Base Latest Questions

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

As an Actionscript programmer shifting to JS/jQuery I often have to author multipage apps

  • 0

As an Actionscript programmer shifting to JS/jQuery I often have to author multipage apps targeted mainly to iOS and I’d like to know what is the best way to structure such apps.

Most of the time my apps are presentations, where each page has a different behavior (i.e., some popups on page1, a group of sliders on page2, some drag and drop action on page3… you get the picture), and more often than not I have to keep track of several variables across different pages.

Right now I handle it like this: I have a group of common functions in a script named my_app.js, while each page has its dedicated pageX.js script to account for its specific duties. I store persistent values through the storage.js library and somehow manage to stick it all together and make it work.

However I recognize that there may be a vast area for improvement to this approach, so I’d like to know how more seasoned developers deal with this situation.

Thanks a lot,

Goblin

  • 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-01T12:56:44+00:00Added an answer on June 1, 2026 at 12:56 pm

    The structure you have sounds sensible enough (common JS file complemented by page-specific JS files). It also sounds like you’re onto the right lines with storage.

    What I would do in your situation is focus on how your code is structured in terms of architecture. Chapter 6 of Stoyan Stefanov’s Javascript Patterns (O’Reilly) would probably be quite enlightening.

    I would also probably explore JS MVC implementations given your situation would lend itself well to this methodology (lots of views).

    I realise this is only scattered thoughts, but hopefully it might give you some ideas.

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

Sidebar

Related Questions

In Actionscript you can have global variables like this: var number : Number =
Actionscript 3 I have been wrecking my head most today on the best way
In Actionscript, the Unix timestamp in milliseconds is obtainable like this: public static function
Does Actionscript have a built-in function that accepts a number and can return a
In actionscript 3, I have a user enter a number into a field and
Does Actionscript have a function that would tell me what number the input is
In Actionscript... If I Have an XML variable that equals this: var X:XML=XML(<mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml
Does actionscript 2.0/3.0 have an equivalent of c# sleep() ?
In ActionScript I have string as str=subject,r1,r2:a,b:1,2:3,4; dynamically i have split this string and
I am ActionScript 3/Flex programmer, it is the first language I learned. I want

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.