Bruce Lewis wrote:
>
> Tell me if I should move to MetaCard from HyperCard.
I'll take a crack at this, since no one else has. A few of the questions
in your list address some of the weakest areas of MetaCard, unfortunately.
> 1. I would have to learn something new, and I am not sure I want to
> unless there's an advantage.
This seems to be a major stumbling block for a lot of HC converts, but
is really the least of any issues. When I first started with MC I worked
full time on a project every day. It took me about 2 weeks to be able to
use MC without constant frustration, and about 2 months to feel I'd
become somewhat proficient. I think that people coming from HyperCard
may have a slightly larger hurdle to jump than someone who has had no
scripting experience, because while the scripting languages are very
similar, many of the behaviors -- the "nuances" -- are much different.
It took me a while to figure out what those differences were. Once
you've got the basic concepts under your belt everything falls into
place quite neatly, but allow yourself some time to master them.
MetaCard's power and expanded feature set are worth the learning time in
my opinion, but expect some frustrations at first.
> 2. Our half dozen machines are all mac and are all fairly new and we
> won't move to system X (or whatever) for several years.
If your HC system is working well for you under OS 9, then there
wouldn't seem to be any hurry to convert your stacks if you aren't
planning to move to OS X. This would be a tough one to call. If, on the
other hand, you eventually want to add features to your stacks that
break with HC under OS 9 (some TCP/IP functions, for example) then using
this time to learn MC leisurely would be advantageous.
> 3. Our uses are primarily database-related and from what I've read on
> this list, I am nervous about very large stacks in MetaCard. People
> have suggested saving material as textfiles and using MetaCard as a
> front end, but I don't have to do that with HyperCard.
MetaCard is not great as a stack-based database. MC loads the entire
stack into RAM when the stack opens. If you have a 10 meg database, then
you need that much RAM plus some wiggle room to run it. I haven't tried
large databases in MC yet (outside of a couple of testing stacks,) but I
would suspect that you wouldn't lose data, but that things would get
very slow. If, like many HC databases, your system uses "find" to
navigate through records, then you will notice a huge speed hit in MC.
MetaCard does not use hint bits like HC does. I once did a timed test of
the differences in speed using "find" in HC and MC inside a 9,000 card
stack. MetaCard was 15 to 20 times slower. If your system instead uses
an index of card IDs then speed will be much better, though it still
doesn't appear to be as fast as HyperCard.
BTW, at the end of my timed speed test, MC crashed with the converted HC
stack. This may have been my own fault since I hadn't actually saved the
converted stack to disk yet, and I was using a much older version of MC
than the one that is shipping now. I have noticed a number of odd
problems with converted HC stacks though, so to convert your system you
may want to rebuild the stack from scratch in MC and then import your
data into the fields.
> 4. I am under the impression that MetaCard can't match HyperCard's
> reporting/printing abilities. Since HyperCard's native
> reporting/printing abilities aren't adequate without Reports from 9
> to 5 Software, I could be in trouble if I changed.
MetaCard has virtually no printing capabilities outside of a screen
dump. You cannot even send the contents of a variable to the printer as
you can in HC, so you can't format data in memory and send it to the
printer either. It will print the visible contents of a card only. MC
provides some printing properties that allow you to build your own print
engine, so you can (sort of) duplicate HyperCard's (or 9 to 5's) report
functions but it would take some work. Each report would have to be
specifically built and scripted. The easiest way is to build a stack
specifically for printing and fill it with page-sized cards, each with
objects that duplicate the layout you want to print. Scripts would scan
through your stack collecting data in variables. Then the script would
put page-sized chunks of data into your template fields, print the card,
and repeat the process until the variable is empty. Printing is
MetaCard's weakest area, in my opinion.
> 5. I would really like to get rid of the 30K limit on length of text
> in flds, so that would be a big plus for MetaCard. But there is no
> native RTF support, and in an earlier question no one could tell me
> if the HyperCard RTF XCMD's would work in MetaCard. I tried one on
> the demo version and it wouldn't work, but there are others. (For
> that matter with today's faster machines, it would probably be
> adequate if I just wrote my own RTF conversion script, but then that
> is something else to do.) From what I hear HTML export/import isn't
> as good, and anyway I don't know HTML and we still use Word 5.1, so I
> would have to make other changes to use it.
Many of the older XCMDs work fine with MC, but I suspect that if the
XCMD needs to get the field record, it may not work. I'm betting that HC
and MC use different structures for their field records. HTML text works
okay if you stick to basic formatting (i.e., no tables, etc. but text
styles, colors, and sizes are fine.) I understand that tables are
planned for a future release of MC. I don't think you would have any
problem at all learning to code styles in HTML -- that part is so easy
you could learn it in under 5 minutes. MC does support tabs in fields,
as well as styles, colors, and sizes, so maybe what you are using rtf
for now may not be necessary in MC.
So. I can't tell you whether to convert to MC or not, but at least there
are some things to think about. For almost everything, I very much
recommend MetaCard -- the enhanced feature set makes it worthwhile in
almost every situation. But for a database as you describe, well, that's
its weakest area and if you aren't planning to move to OS X any time
soon, and if your stacks work fine with HC under OS 9, I'd say you may
want to stick with HC for a while. Use the time to play with the MC
Starter Kit and see what is possible. That may help you decide.
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software | 612-724-1596
Custom hypermedia solutions | http://www.hyperactivesw.com
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.