Arron,
Let me preface this email with the understanding that I developed this about
2 months ago and am using it on a site now. So, I haven't thought about it
for a while and so my memory of it might be presumptuous in some areas
(sigh! I wish my mind were a computer). Notes are mingled with your reply:
>After some deep thought...
>(any HHGTTG fans out there? :)
What's HHGTTG not familiar with that one. :-)
>It all sounds quite ok as to what it is you're trying to do. I do think
>that an efficient routing of the link interaction through JavaScript is
>a good thing. It is a very "viewy" thing people want to do.
>Looking at it from the end developer's point of view, I'd be after the
>following with various parameters...
>(what of the following is true?)
>a) function only. Just call the function, no argument, no url.
true
>b) page, function. Function with URL as the only argument.
true
>c) page, function, functionName, functionProperty. As you describe.
true
>c) function, functionName, functionProperty. As you describe, but no url.
true
>And in all cases, the urlIndex to be optional, and default to 0 (the
>first arg). Is this how it's all working?...
yes
>With it working like above, I'll have no problems taking it on to commit it
>(naturally with the absence of -1's. I don't think that this is anything
>paradigm changing, but that's the process).
Can you explain -1's?
>Internally, it will need a little house keeping. The "if"'s without the
>"{" block, and if you can call the Request utils.lookup, rather than the
>duplication in the EcmaUtils.
Yes, I need to brush up on the conventions. Hopefully, I haven't made the
code too ugly for you :-)
>I'll also need to do some testing on it. Any unit tests?... A simple one
>page webapp that I can run tests against, regression tests etc?... or do
>I have to make one?... Not too much of a drama either way.
All, I have is a site that I am currently using it in. I also need to brush
up on unit testing. :-\ I haven't done any... ever! But, shhh! I don't want
to look dumb. ;-) Any suggestions on where I can bone up on unit testing?
Thanks,
Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>