On Sun, 27 May 2001, Alexander Chelnokov wrote:
> Hello Tim,
> 
> Thursday, May 24, 2001, 12:09:40 AM, you wrote:
> 
> >> What if it further requires some calculations to get a score?
> TC> Planned, but not yet implemented is embeded JavaScript.
> 
> JS is of course useful for this, as well as for client-side data
> validation, but maybe it is worth to implement server-side
> calculations and validation, in dtml? Some scores are very simple (just
> a+b+c...) and have no complex logic. And even with more sophisticated
> calculations it will work fast - if the form of course doesn't upload
> images along with the numeric data :-)

The thought with JS is that it would be easier for users to embed it
directly into templates.  For anything that we add into FreePM itself,
it should be in an external method or Python Script.  
I've just recently started using Python Scripts (they've been in the
last few releases of Zope) and they are very powerful for this type
thing.  There are a lot of restrictions on them for security purposes
though.

There are many things that are in DTML now, that I will eventually move
into a Python Script to aid performance.

-- 
Tim Cook, President - FreePM,Inc. 
http://www.FreePM.com Office: (731) 884-4126
ONLINE DEMO: http://www.freepm.org:8080/FreePM

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
FreePM Support List
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/freepm-discuss

Reply via email to