Speed up application startup
 
Home My Account Forum Try It! Buy It!
About Contact Us Site Map
StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Speed up application startupExpand / Collapse
Author
Message
Posted 03/13/2008 5:30:09 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 07/02/2008 5:50:42 PM
Posts: 28, Visits: 332
Is there a recommended way to do that?  I'm using both Strataframe and VFP through UDP.  It is a little slow at startup especially on slow machines (duh).

But how would you recommend starting up app and login screen at same time? If login fails, just close entire app.  But if succeeds everythings allready there (or almost).

Thanks,

Marcel

P.S. continue to love working with your framework especially new version and now also the security editor and ddt. Saves tons of time.

Post #14868
Posted 03/13/2008 7:56:42 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 9:47:36 PM
Posts: 4,115, Visits: 4,185
This question is something that we tackle during our training class...this is a very deep question.  The answer is, "Yes."  But knowing exactly where to start, especially in regards to your application is more difficult.

First, you should create a loadup sequence at the start of your application.  This should show a Splash screen and work on a thread if you can manage that.  You can then perform different tasks on different threads (i.e. perform any initialization tasks).  Once the once all of your pre-loading work is done, then you can show the login screen. 

Once the login is successful, you should really only need to loadup the VFP EXE and start your UDP session.

The key is to learn where your slowness is and then see if you can refactor your code to be more efficient, and then start using threads to remove the "slowness" from the end-users perception.  We have learned that people will wait for the application to start...but once it is started they want it to be fast

P.S. continue to love working with your framework especially new version and now also the security editor and ddt. Saves tons of time

Thank you very much, we truly appreciate these comments!

Post #14874
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 2:26am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.047. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.