on-rev nomenclature

Richard Gaskin ambassador at fourthworld.com
Thu Aug 27 13:56:22 EDT 2009


The new server engine driving on-rev.com accounts lets us use "put" 
statements without specifying a container yet without returning the 
result until the script is finished.  This is useful, simpler than 
coding CGIs using the older method of putting into a variable since any 
unassigned put pushed the data back to the client in the old CGI.

Old school:

on startup
  put GetInfoStuff() into tMyVar
  put OtherStuff() after tMyVar
  put HeaderInfo() & tMyVar -- outputs to client
end startup

New on-rev way:

on startup
   put GetInfoStuff() -- buffers internally
   put OtherStuff() -- more internal buffer
end startup -- finally goes out


So what does RR call this?  "Open puts"?

-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___________________________________________________________
  Ambassador at FourthWorld.com       http://www.FourthWorld.com



More information about the Use-livecode mailing list