Home stack conversion from HC

Richard Gaskin ambassador at FourthWorld.com
Fri Feb 8 19:36:00 EST 2002


erik hansen wrote:

> i have completed the first MetaCard tutorial and
> Jacquie's HC > MC tutorial and am beginning my
> first conversion, starting with my HC home stack.
> 
> rather than list all the errors i am getting, are
> there any general guidelines for converting the
> Home stack?
> 
> if i copy my startup handler and a few others
> (xy) then past them into the mchome.mc stack
> would that be a good start?

Two problems will occur using the Home stack as an example:

1.  You will have two stacks of the same name open (yours and MC's)

2.  The HC Home stack is chock full o' dependence on externals and HC's
object model.

If you really need some of the functionality of HC's home stack, you might
consider moving those handlers one at a time into a stack of your own.  This
way you can identify and resolve issues one at a time.

When you have your stack done, you can have it in use by adding a "start
using" statement to MC's home stack.

Why not just put those handlers in MC's own home stack?   Here's what I've
learned about making changes to the MC environment:  Scott Raney is so darn
quick with his many-updates-each-year way of working, it'll take you less
than a year to get tired of moving your changes from one version to the
next.  Externalizing script libraries and and using "start using" to access
them is a good method, and if you must make changes to the MC environment (I
make a few dozen with each release, mostly aesthetic touches), consider
putting those changes into a script so you can run it each time a new build
of MC is released.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Custom Software and Web Development for All Major Platforms
 Developer of WebMerge 1.9: Publish any Database on Any Site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the metacard mailing list