Patrick,
From: <[EMAIL PROTECTED]>
> I just had a brief skim over the Pull machansim - very interesting.
> If I read this correctly, what I was originally proposing wasn't so much
> 'wrong', but the Pull mechanism really is the cleaner and more appropriate
> way to put utility methods in the context, right?
Yes. The beauty with pull though is that you don't have to bother adding
it to the context whenever you are going to use it - you can "just use it"
(what would Nike think!)
> And yes, I am still looking for ammo to target ASP lovers! :)
> Actually, the situation is nowhere as tense as it was ; they
> are continuing to do prototyping of charts using ASP,
> and i am building the server stuff in Turbine.
> The problem is that as soon I as I mention Java or Velocity to the guy doing
> the pages his eyes glaze over.. He's a wizard with the frontend, but has found
> the velocity tough going for a number of reasons, not all his doing. :-/
Check out: http://jakarta.apache.org/velocity/ymtd/ymtd.html
> Back to the topic, I'm not sure what you mean by Javadoc comment, I suspect
> you're mis-interpreting my annotations to the code in my posting as Javadoc.
> Never done any Javadoc in my life!
I was simply referring to this:
> > > /***************************************************************
> > > getCompanyName:
> > > Params: ASX code - A string select statement
> > > Returns: Long name of company if it exists,
> > > otherwise empty string.
> > > ***************************************************************/
> > > public static String getCompanyName(String asxCode )
The JavaDoc way would be this:
/**
* Retrieve a company name.
* @param asxCode The code of the company name to be retrieved.
* @returns The long name of the company if it exists, otherwise empty string.
*/
public static String getCompanyName(String asxCode)
Which has the benefit that you can later run javadoc across your code to produce
API documentation. Having documentation is a Good Thing (tm) & may even help
challenge the ASP guys who may have difficulty doing something similar.
This is obviously off-topic so we should cease this particular discussion at least
on this list anyway.
Cheers again,
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]