Jump to content

Looking for some performance tips


HGeneAnthony

Recommended Posts

I develop on the desktop for the most part.  I've made dynamic sites before but on rare occassions.  The thing is the two worlds are very different.  With a desktop app you typically have one or a few users using an app at a time and almost all the processing is done on the client end.  With a web site you have multiple connections to a server and you have to worry about the end user pulling data down especially with dial-up users and resource depletion.  I'm typically torn with which way to go with my sites.  For example, I tend to like to use classes heavily to manage data.  On the desktop modular design is important and the classes should do what they need to do and nothing else, handle their data accordingly, and create methods to work with data.  This is important when writing any app of any real complexity however even though it seems to be similar on the web it's not always.  For example, if I was going to pull data from my database I would typically throw it into a collection of some sort (rather than displaying it outright) and I would create functions to access it.  This way the class is only responsible for the data, it doesn't work with the form, it makes it easier to manage the data if I change things later, it keeps things clean, etc.  However, with a site I don't know how bad holding the data could be on the server.  It creates cleaner code but it could be heavier on resources since the servers creating variables to hold data rather than just shooting it out.  So how should I handle the data, shoot out at once or hold.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.