Use of cards (opinions needed)

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
richervin
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 54
Joined: Sat Sep 17, 2011 5:04 pm

Use of cards (opinions needed)

Post by richervin » Tue Aug 28, 2012 7:54 pm

I want to create an app which has a number of tabs - let's say 4 tabs, each with independent functionality and each with multiple screens and several possible screen flows.

For example, I have 4 tabs with an average of 6 screens each for a total of about 24 screens. This is on an ANDROID or IOS device.

I want each of the tabs to operate independently. For example, if the user is partially finished with something on Tab "A", they can switch over to Tab "C", do some work there, then come back and finish what they were doing on Tab "A". They operate independently of each other (though they might share information with each other, potentially).

Here is the question:

Would you create 4 cards for this app, each with the entire collection of widgets for it's related functions, and use hide/visible functionality to control the user flow through the application?

Or would you create 24 cards for this app, one for each screen, and control the screen flow through the cards? Keep in mind this might be running on slower, older Android devices

What I'm wondering if there is some limit where the number of cards in a single application becomes cumbersome or affects performance on slow devices, and you begin to wish you had fewer cards.
LiveCode 5.1.1 on Mac OS Mountain Lion
Attempting to develop for Android and iPhone
Currently on my third trial, and still finding LiveCode to be difficult for mobile applications in general, and particularly poor for Android

Klaus
Posts: 14213
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Use of cards (opinions needed)

Post by Klaus » Wed Aug 29, 2012 12:21 pm

Hi Ervin,

I don't think that 24 cards will make any problems! :D
So you should do whatever is comfortable for you.

On the desktop you can "get away" with more than 5000 cards, if not too many images on them...


Best

Klaus

Post Reply