>>>>> "J" == Jon Stevens <[EMAIL PROTECTED]> writes:

    J> on 6/18/01 12:33 PM, "Gary Lawrence Murphy" <[EMAIL PROTECTED]>
    J> wrote:
    >>>>>>> "J" == Jon Stevens <[EMAIL PROTECTED]> writes:
    >>
    J> The thing to remember about Turbine...it *never* prevents you
    J> from doing anything. It simply suggests ways of doing something
    J> and if you don't like it, you can generally override it fairly
    J> easily.

"Never" is a big use-space ;)  It's more accurate to say that Turbine
may _repeatedly_ suggest alternate ways using sometimes obtuse cues:

For example, if I foolishly assume all RunData manipulations I do in
MySessionValidator are valid, Turbine of course allows them, but
throws up the runtime exception "Screen not found" --- what it meant
to say was that it is useless to setScreen inside sessionValidator
because it will be cleared later in the Turbine.java ... the correct
way is getProperties().setString("screen",...) which is only obvious
if you know about the property key.

Of course, the Source tells us so, but some of these context are
more obscure, for example, when I was trying to find how the login
screen kept loading DefaultLayout whereas ever config instance was
clearly MyLayout.  The answer was deep in the Flux.

When dealing with opaque references, it might save some questions if
we follow a convention of stating in the JavaDocs where methods alter
any global or session-scoped data; the first point of study for Java
is generally through the API docs or, later, through a combination of
looking at one source file while viewing the API docs for the next
deeper level. API docs are always the first probe; if what we do works
as expected, we generally don't go any further -- after all, few of us
_really_ know how java.net.URLConnection _really_ works (those who do
don't use it ;)

-- 
Gary Lawrence Murphy <[EMAIL PROTECTED]> TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless.  They can only give you answers."(Pablo Picasso)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to