[thelist] CF: Advanced? How do you know?

.jeff jeff at members.evolt.org
Thu Aug 1 16:07:01 CDT 2002


ray,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Raymond Camden
>
> >    - how would you determine how many words are in a
> >      string?  ListLen(myString, " ")
>
> I'd also ask them to state a case where this would fail.
> For example: "The quick brown dog jumped over the rat.He
> was a bit silly and made a few typos."
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

yup, good call.  my question was more along the lines of assuming the content was already correct though.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> >    - is there a difference between these two lists --
> >      "a,b,c,,e,f,g" and "a,b,c, ,e,f,g" besides the
> >      space between the commas?  the first has one
> >      fewer elements than the second.
>
> Back to lists - I'd ask them "Can you use +- as a
> delimiter?" When they say yes, ask if they know what
> will happen. If they think the delimiter is the
> character string +-, then they get a point off.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

absolutely.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> >   - what scopes are *not* exposed as structures?
> >     variables, server, caller
>
> In CF5 and earlier. In CFMX, they are structs. :)
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

yes, thank god.  i can finally ditch the use of IsDefined() in my custom tags to set dynamic variables in the caller scope.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> Also, I noticed you didn't mention locking. This is _so_
> important in CF, especially in earlier versions. (You
> may have mentioned it and I just didn't see it.)
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

i totally missed it when writing the email.  i got up a couple of times, had it on my mind, but never got it written out.  it woulda gone something like this:

 - state management
   - session scope
     - are applications the person has developed setting
       cookies from the beginning unnecessarily?
     - do users of these applications have tokens
       appended immediately whether session tracking is
       needed or not?
     - are reads and writes properly locked with a scope
       lock?
     - do they make use of the Duplicate() function when
       creating a local copy of data in the session
       scope?
   - client scope
     - when is it a good time to use the client scope?
     - what's the best way to store client data?
     - what are the limitations of the client scope?
   - application scope
     - how much do they use the application scope?
     - are reads and writes always locked?
   - server scope
     - how much do they use the server scope?
     - are reads and writes always locked?

i'm sure i'll think of more right after i hit the send button.

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/




More information about the thelist mailing list