From: Rimon B. <ba...@cs...> - 2004-04-18 15:06:29
|
Hi Ali, Good questions. >i was browsing thru the documentation of spyce and thought it was well >written... compared to others (same technology)... Thanks. >i was wondering about the meaning of "SPYCE scripts as first-class members" >of the language? A Spyce script can be stored in a Spyce script variable, as in: [[ x = <spyce lambda expression> ]] >if we have spyce lambdas, do we really need cheetah or other templating >modules??? am quite happy with spyce as a templating tool... If you have X technology that can produce web pages, do you really need Spyce? It's a matter of where you draw the line. Some people really like a particular feature within X templating engine, or find its syntax convenient. I tend to agree with you, but it is really easy to support other engines, so why not? >are there advantages of using other templating tools as against spyce >lambdas? Personal preference. Syntax. etc. >it's only now that i noticed that you can use spyce as a separate web >server... is this a better option over apache/modpython? has anyone >performed a benchmark on spyce as a separate web server vs other >configurations... The Spyce proxy webserver is not a hardened, feature-rich webserver like Apache. (It's a mere 324 lines long!) The performance is just as good, but you will be better off behind Apache for production sites. The recommended configuration is to run within Apache, within mod_python, since this will cycle your Python runtime over time. >how about draco, jonpy and other similar technologies? are there benchmarks >available to show the performance of each of these technologies... I'd imagine that they all can be configured to perform at roughly the same level. Select based on design preferences: pick the tool that makes your development easiest. All the best, Rimon. |