Multi-tier programming on devices

J

Jon Brunson

Howdy all,

Is it advisable to write Mobile Device applications using multi-tier
methodology? Or as Devices are much more resource-limited, would keeping
the number of tiers help reduce memory and processor usage?

I know apps on Devices can only use a maximum of 32MB of RAM, and
unfortunately our app is approaching, and at a push can be made to
breach that 32MB barrier. It's written in VB.NET, and has 4 tiers:-

1. GUI
2. Business logic
3. SqlCe interface
4. SqlServer interface

If we squished the number of layers from 4 down to 2 (GUI & "Everything
else"), would this help things memory-wise?
 
G

Guest

Pushing it to a single tier would likely gain nothing in memory usage. It's
also not true that you have a 32MB hard limit. The CF does a lot of
allocation from shared space. You have a 32MB virtual space limit per
process.

-Chris
 
J

Jon Brunson

Surely if an app is the first (or perhaps only) .NET app on the device,
the CF would be using that app's memory space for the framework, or does
the CF somehow create it's own process along side your own to run in?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top