Great should Application - I use modules?

I built an application real estate agency in 4.6 Flex which is used only internally.

Each process in the application, such as changing the ownership information is managed within a component and some components have auxiliary components that are loaded via a ViewStack, such as the component of the customer account which has subcomponents as 'coordinated', 'summary', etc.

The problem is when a large part is loaded for the first time who has several sub-components, as the component of customer account data are retrieved from the server application (which takes 200 ms) and filled in various components DataGrid/TextInput/DropDownList in the customer account component and its sub-components. This translates the entire application suspended until the components have been populated.

Is there a way to prevent that from happening, as being able to load the element and its subelements in the background, allowing the user to continue to use the application in the foreground?

It would be more advantageous to use modules instead of components so that the code is loaded from a separate SWF?

Any help and advice would be greatly appreciated. Thanks in advance.

IMO, if your application is large, the modules will probably need help in ease of development, load time and memory management.

Regarding the initialization of a large number of components and their farce with the data, I don't think that it will also count a lot if the components are in a module or not.  You are right to want to try to do well in the 'context' that there is no official background in Flash/Flex processing.

IMO, boils down to whether you can really do all this work boot 'all' fast enough components.  If you can guess that you are going to need these components then you can take one step ahead, but you know enough early to complete before the user starts complaining about the wait?  If you think you can, then a technique people use is to initialize only some components at the same time.  Use States or pure as to add and initialize 'some' of the components and when they are initialized, do a little more.

Also consider if all these components adapted to the screen or not.  If there are components that are not immediately on the screen consider their initialization later.

Another thing to do is to use the Profiler.  Several times I've seen people go through additional validation passes the LayoutManager that can often be avoided and record bits at the time of initialization.

A final technique must abandon and choose distract the user instead.  The simplest form of which is to give them something to read while everything is happening behind the scenes.

Good luck

-Alex

Tags: Flex

Similar Questions

  • Applications that use msxml do not load or use Windows 7 64-bit environment

    What happened several times. I have an installed application (Quickbooks pro 2010) that uses MSXML, and when I installed another application that uses MSXML, it fails to install, or install but does not work properly. (Both applications are supposed to be compatible with Windows 7)

    Is this a known issue?

    Hi Emanders,

    You receive an error message when you try to install or run programs?

    Who is the other program that fails to install or load?

    Access the link below and check if the programs are compatible with Windows 7 64 bit.

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    However, you can try to unregister and reregister the MSXML.dll files on your computer and check if you can install and run programs.

    Run the command at the elevated command prompt, follow these steps:

    1. open the start menu, click programs principally made, select accessories.
    2. right click on command prompt, and then click "run as administrator".
    3. type the following commands in the DOS prompt window and press ENTER at the end
    of each line:

    REGSVR32 MSXML3. DLL/U
    REGSVR32 MSXML3. DLL
    REGSVR32 MSXML4. DLL/U
    REGSVR32 MSXML4. DLL
    REGSVR32 MSXML6. DLL/U
    REGSVR32 MSXML6. DLL

    (At the elevated command prompt command should not give us any error).

    You can also open the event viewer and check if there are other important messages/error codes that is generated during installation or execution of the program and after return.

    See the link below for more details:

    What are the information contained in the logs of the event (Event Viewer)?

    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer

    I hope this helps. Let us know the results.

    Thank you and best regards,

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to show an application of the module system?

    Hello

    I have an application that extends the Application and is marked as a system module and executed at startup.

    I suspect that this app can be silently die or be killed by the operating system.  I tried to use code like this to get him, but he does not appear.

    ApplicationManager Manager = ApplicationManager.getApplicationManager ();
    ApplicationDescriptor descriptors [] = manager.getVisibleApplications ();

    I guess that's because the app is not visible.  Is there a way to check if this application runs using the API calls?

    Thank you.

    a module of the system is not 'visible', you must use another method to check on this subject:
    http://www.BlackBerry.com/developers/docs/7.1.0api/NET/rim/device/API/system/ApplicationManager.html...

  • Close applications that use ports 80, 443, 8000, 8002 and 8004

    Operating system: Windows 7 Professional

    I set up a test server that is demanding that I closed all applications that use ports 80, 443, 8000, 8002 and 8004, because these are required by the Test Server. I don't know how to do this. Any help would be greatly appreciated.

    Best,

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

  • Another Application is using Lightroom 4.3 problem - catalog

    I recently moved all my photos and my 4.3 on a Drobo Mini Lightroom Catalog so that I can use it easily with my notebook computer MacBook Pro and my Mac Pro desktop computer.  Everything is working very well for a few weeks, but now I'm having a problem.  When I try to open Lightroom it says it can't open my catalog because it is used by another application.  I can't find any other application that uses the catalog and I closed both computers and rebooted, but still getting the same message?  Any advice on how to release my catalog would be greatly appreciated.

    Bernie Weinzimmer

    [email protected]

    No, Bernie mentioned the Drobo drive in post #8 USB connection.

    Have you tried another file locking?

    And you have double-clicked on the catalogue of Drobo?

    If you access the files on the Drobo now and 'Get info': permissions still display "all"? You may need to check this for all folders to the top of the hierarchy of the Lightroom folder to the upper level (where I believe you did what you wrote in the post #11).

    Cornelia

  • Problems related to applications of several modules where the skins loaded by loadStyleDeclarations

    Hello

    I am having trouble with an application of several module.

    In this application, I have a main swf file that loads a skin swf file using styleManager.loadStyleDeclarations (...)

    The skins are correctly applied to all elements of the main application and all of its direct modules (Modules responsible for the main application). If however a module load again the modules of the child, the styles seem to no longer apply and I have to add a section of loadStyleDeclarations to these modules in order to have their style correctly.

    What could be the cause of this?

    Chris

    Gen... I wonder why I always look for an answer to a problem and as soon as I ask for help, I found the solution myself.

    My custom loader component does not seem to have its 'moduleFactory' property if I used it in a module. So when the child module loading the moduleFactory has been set to null, sort of broken chain at the root-styles. Manual adjustment of the moduleFactory before you start loading my modules did the trick and the chain was restored... and presto! My styles began to work.

    That may help a chap unucky have the same problem, then perhaps this thread will be useful after all.

    Chris

  • Flex 4.5 RSL using modules and scheme

    Using RSL with modules and scheme

    RSL is designed to work effectively with the modules and the scheme. When you use RSL with modules and scheme, note that:
    • Main applications only load RSL that is necessary, but to create placeholders for the Framework RSL rest. This allows the sub-application or module load other Framework RSL into the main application when they need.

    • Scheme and modules share default RSL frame.

    • Scheme and modules can share custom RSL if you configure the RSLS loaded in the application domain.

    RSL using placeholder

    When you compile an application with Flex, the default behavior is to compile the application against the framework RSL (or by default). When the application runs, it only loads the Framework RSL, it actually uses and creates placeholders for the Framework RSL rest. When the application loads a module or a sub-application requiring one of the RSL setting for which there is a placeholder, the sub-application or module and then load that RSL into the main application.

    If a module or a sub-application requires a framework RSL already loaded, it will not load the RSL again. Instead, it will use the existing RSL.

    To ensure use of the placeholders for Framework RSL, set remove-unused-rsls the compiler argument is true when compiling the main application, scheme and modules. It is the default value.

    The default Framework RSL is loaded in the highest area of application that contains a placeholder for this RSL. As a result, modules or scheme can share RSL which had been loaded by other modules or the scheme, as long as you don't limit the area in which the RSL has been loaded.

    Could someone tell me if I understand:


    Seen this scenario:

    I have an RSL to a custom component. I use this custom only in a module of my application component. The result will be that the application does not load the RSL and it will load only when the module is loaded, but before the module.

    If that is correct, I have another question:

    The main application can follow the progress cargo module and display it with a for example progress bar. How to track the loading progress of the RSLS loaded before the module?

    OR

    The main application is the module loading, and when the module finishes loading I need to use a preloader class as of the main application for the module to track the loading of the RSL?

    Modules do not have a preloader as a demand. You can follow the status of the module being loaded, but not the status of the RSL. If you would like this feature please create an enhancement request in the JIRA bug database. Thank you.

    -Darrell

  • AT & T changed their design of the homepage, and I liked the old one. A way to create my own homepage in Firefox using modules for content that I prefer?

    AT & T changed their design of the homepage, and I liked the old one. A way to create my own homepage in Firefox using modules for content that I prefer? I liked the modules which gave me a variety of sources of news, finance, sports, weather, calendar, etc... It also allowed me to use a background of my own source. Finally, he allowed me to resize the modules I needed. I would like to be able to replace the new AT & T with my own homepage. Thank you.

    Maybe http://www.netvibes.com/

  • HP workspace: is it possible to try HP work space with applications that uses my business?

    Hey everybody,

    Is there a way to try HP work space with applications that uses my business?

    Thank you

    Bill

    Yes, buyers of all bundle HP Elite x 3 on or before January 31, 2017 can enjoy a free 60 days HP Workspace Premium service launch promotion offer.5 which is more a $150 value per user! 6. contact your partner HP or HP account representative to activate the free promotional offer for 60 days.

  • Disable applications that use wifi?

    Y at - it app, or a quick way to break/disable applications that use the wifi on my MacBook Air OS10.11.4 running?
    In other words, is there something that I can use to Dropbox and Google Drive interrupt synchronization, the break of Carbonite and switch Outlook in offline mode? Note that I'm not talking about simply turn off the wifi. These applications continue to check for a wireless connection, even after the wifi is off, using energy unnecessarily.

    So I was wondering if there is some kind of a gadget that knows what applications are based on wifi and can put all pause or reactivate them all, instead of me having to remember and do each manually.

    Any ideas anyone?

    To be effective you must really be looking for anything that uses the network. The things you mention (Dropbox, Google Drive, Carbonite and Outlook) have no idea if you are on WiFi or not. They are simply looking for a network connection.

  • With the help of OS10.4.11. No plans to upgrade the system, which means that I can not update firefox - my favorite browser. To do this, I should no longer use Firefox? I have newer computers but want to use this machine for some projects.

    Concerned about the future of firefox since stability I cannot and does not level the operating system on this Mac. Using Firefox 3.6.24 and during a recent update of firefox, I was warned) 1 could not upgrade with the current operating system, and support 2) will end soon. What does that mean? Should I stop using Firefox as my browser?
    Thank you.

    Firefox 3.6.x is the latest version of Firefox Mozilla for Mac PPC and 10.4.
    http://www.Mozilla.com/en-us/Firefox/all-older.html

    For older Macs that are not considered supported in versions of Firefox 4 +, try TenFourFox for PowerPC in performance Mac 10.4.11 and 10.5.8.
    http://www.floodgap.com/software/tenfourfox/
    http://tenfourfox.blogspot.com/
    https://code.Google.com/p/tenfourfox/wiki/PluginsNoLongerSupported

    [The-edmeister] Thank you for the answer (I have a Mac 10.4)

  • What applications to use to clean the unwanted cache?

    What applications to use to clean the unwanted cache? I doctor battery now, but it would be nice to share some ideas on the subject. IPhone 6, last updated. Thank you

    There is no apps that do this on an iOS device. And battery doctor causes more problems than it solves.

    What problems do you experience that you think you need these applications to solve?

  • Windows XP does not allow applications to use the virtual serial (COM) Ports

    Operating system: Windows XP Professional version 2002 Service Pack 3

    I want to use some applications to control virtual serial (COM) on a device of PEARL IOLAN STS8 D/TruePort ports in Windows XP Professional SP3. When I configure the IOLAN/TruePort I see the COM ports in the Windows Device Manager and I am able to configure my applications to use ports.  However, when applications try to open the serial ports, I get an error saying that the port is already in use or does not exist.

    I tried various alternatives to remove/re-add the ports 'in use' in Windows before you configure IOLAN/TruePort and applications. This (sometimes) allows me to use the ports but if the PC is turned off later and rebooted the problem reappears.

    Is there a reliable way to create and use virtual COM ports in Windows XP?

    The IOLAN/TruePort Pearl versions are:

    V4.3 Device Manager
    Firmware TruePort 6.4

    Hello

     

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    http://social.technet.Microsoft.com/forums/en-us/itproxpsp/threads

     

    I hope this helps!

  • How can I access a list of bbm contacts of the bbm in an application connected using friend javascripti friend am

    I'm developing an application that connects to bbm but I have a small problem, this application requires access to the bbm contact details. Please can someone help me on how I can do this...

    Thank you very much for your concern. I was able to solve the problem. At first I thought I could have access to all my bbm contacts including those who do not have related bbm app installed. I had to implement an invitation for those who do not have the application installed using blackberry.bbm.platform.users.inviteToDownload, I so was able to access the profiles of users through the pickUser() function.

  • Create an application that uses BIS

    Hello, I'm new to this,

    NYW, my question is simple.

    I made an application that uses the Internet to view pages, to get the XML...

    When I tested it on a device, all seem to operate when the aircraft was on a wifi connection.

    But when the device using BIS or BES, this will not work!

    so can you please give me a sample code to see how I can be able to use BIS or BES.

    Sorry for my English.

    check these:

    http://supportforums.BlackBerry.com/T5/Java-development/different-ways-to-make-an-HTTP-or-socket-con...

    http://supportforums.BlackBerry.com/T5/Java-development/sample-HTTP-connection-code-and-bis-B-access...

Maybe you are looking for

  • Firefox is rendered pages as random characters.

    Not all pages, but he did that on Twitter for a few days and Google as of today. I'm running in Mode safe in this form and get this. http://imgur.com/ccBx7

  • NB510 - noisy hard drive

    Hello I treated myself just to a whole new nb510-11j and having owned and loved my old nb250 I thought this might be a better replacement as my boyfrind told me the nb250 would not last forever and I had to upgrade. I received a new yesterday and reg

  • Kernel32.dll

    I need help. my new laptop has crashed on me. so I haveon my old laptop and started skyping onit. Skype said after a few days I had aUpdate. then always wanting the best software Iis the update of Skype. After the update Iclicking on the Skype icon a

  • Use the laptop power adapter and remove the battery?

    I want to preserve the life of the battery by removing the battery and the adapter to power the laptop. What is a good/bad method? Please advice.

  • Measurement and Automation Explorer

    Hello I use the controller measurement and automation. It has detected my usb USB-HS-GPIB interface, up to now, no problem. I have a device connected Keithley, I want to detect, but there is no scan button for devices when I go into my USB interface.