Question

Je nous travaillons depuis quelques années dans un flex (cairgorn) + printemps + l'application blazeDataservice à l'aide blazeDataservice pour se connecter à la fin arrière, maintenant ça devient sorte de grand et prend trop de temps trop charge, et les gens qui l'utilisent , normalement besoin de l'utiliser régulièrement.

internet de mon pays de bande passante ne se résorbe pas, en fait ESt empirer, si l'application grossit et se aggrave si bandwith le charger, il devient plus lent par jour.

Je me demandais comment pourrais-je obtenir le client à installer sur les ordinateurs des peuples, je tournerez une application en ligne flexible dans une application de bureau SANS IT RÉÉCRITURE. Je ne ai besoin de quelqu'un pour me diriger dans la bonne direction, je pensais à 2 options:

Peut-il être 1.- transformé en adobe air? est in't bureau adobe air?

Peut-être un flash 2.- qui fonctionne dans le bureau des peuples?

Je dois tout au travail contre le back-end du printemps hôte comme il le fait aujourd'hui

Merci beaucoup!

Était-ce utile?

La solution

Just to be clear:

If it is the size of the app (SWF) itself, rather than the queries being performed, an another alternative to speed things up, without building a Desktop (AIR) version, would be to use what Flex calls Modules.

Basically you would be breaking your app into smaller pieces that get loaded only as necessary.

If you do go the Desktop (AIR) route, you may also want to explore a local SQLite database that Syncs with your server only as needed, thus further reducing the internet connectivity issues.

This would of course add to your development time, but it seems like it might be a good bet given the situation you describe.

As for where to start, switching from a Web to a Desktop (AIR) app can be as simple as changing the main MXML tag from (in Flex 3) mx:Application to mx:WindowedApplication and launching your app.

UPDATE in response to follow up question:

Hard to say how much rewriting would be involved without knowing how your code is currently structured, but doubtful it would be a major rewrite.

As an experiment, I would suggest the following:

  1. Create a new Flex application.
  2. Create a new Module.
  3. Add some simple MXML and Actionscript to the Module.
  4. Add an instance of the Module to your Main view.
  5. Run/Compile.

What you should see is that you might as well have not wrapped it in a Module at all, from a functionality or coding perspective, but the Module will have been compiled into a separate SWF, and Flex will handle loading it as needed.

If that all works and makes sense, I would start breaking up pieces of your code into Modules and see if that begins to solve your problem.

Autres conseils

Adobe AIR is the right way to go. It is essentially #2, and often you can pretty much just publish exactly what you have straight to AIR instead of the web, and it just works. Fancy!

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top