richter 00/12/19 21:27:39
Modified: . Tag: Embperl2c README README.v2
test/html Tag: Embperl2c taint.htm
test/html/registry Tag: Embperl2c Execute.htm
Log:
Embperl 2
Revision Changes Path
No revision
No revision
1.19.6.3 +5 -0 embperl/README
Index: README
===================================================================
RCS file: /home/cvs/embperl/README,v
retrieving revision 1.19.6.2
retrieving revision 1.19.6.3
diff -u -r1.19.6.2 -r1.19.6.3
--- README 2000/11/08 21:40:25 1.19.6.2
+++ README 2000/12/20 05:27:38 1.19.6.3
@@ -9,10 +9,15 @@
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+### !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !!
###
+###
### This is an ALPHA release of Embperl 2.0, before installing
### please read the README.v2
###
+###
+### !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !!
OVERVIEW
1.1.4.4 +11 -4 embperl/Attic/README.v2
Index: README.v2
===================================================================
RCS file: /home/cvs/embperl/Attic/README.v2,v
retrieving revision 1.1.4.3
retrieving revision 1.1.4.4
diff -u -r1.1.4.3 -r1.1.4.4
--- README.v2 2000/11/15 07:21:52 1.1.4.3
+++ README.v2 2000/12/20 05:27:38 1.1.4.4
@@ -28,8 +28,9 @@
These new execution scheme is also faster, because html tags and metacommands
are parsed only once (Perl code was also (and is still) cached in 1.x)
-My first benchmarks show 25%-50% faster execution under mod_perl for pages
-longer then 20K (For short pages ( < 5K ouput) you won't see a great difference)
+My first benchmarks show 50%-100% faster execution under mod_perl for pages
+longer then 20K (For short pages ( < 5K ouput) you won't see such a great
difference)
+and without any external database access.
Another new feature is that the syntax of the Embperl parser is defined
within the module HTML::Embperl::Syntax and can be modified as nessecary.
@@ -40,7 +41,7 @@
for a short description. A further verion will add an API to this syntax module,
so custom syntaxes can be easily added, without modifiy Syntax.pm itself.
-Also left for one of the next release is the caching of (parts of) the output.
+Also new is the possibility to cache (parts of) the output.
The following difference to Embperl 1.x apply:
@@ -62,7 +63,13 @@
- [$ foreach $x (@x) $] requires now the bracket around the
array (like Perl)
-
+- [+ +] blocks must now contain a valid Perl expression. Embperl 1.x
+ allows you to put multiple statements into such a block. For performance
+ reasons this is not possible anymore. Also the expression must _not_
+ terminated with a semikolon. To let old code work, just wrap it into a do
+ e.g. [+ do { my $a = $b + 5 ; $a } +]
+
+
The following things are not fully tested/working yet:
------------------------------------------------------
No revision
No revision
1.1.2.1.6.1 +1 -1 embperl/test/html/taint.htm
Index: taint.htm
===================================================================
RCS file: /home/cvs/embperl/test/html/taint.htm,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.1.6.1
diff -u -r1.1.2.1 -r1.1.2.1.6.1
--- taint.htm 1998/07/14 20:11:20 1.1.2.1
+++ taint.htm 2000/12/20 05:27:38 1.1.2.1.6.1
@@ -12,7 +12,7 @@
when running with -T option or PaintTaintCheck on <P>
-[+ system ('echo blabla') ; +]
+[+ do { system ('echo blabla') ;} +]
<P>Ok.<P>
No revision
No revision
1.1.2.1.6.2 +1 -1 embperl/test/html/registry/Execute.htm
Index: Execute.htm
===================================================================
RCS file: /home/cvs/embperl/test/html/registry/Execute.htm,v
retrieving revision 1.1.2.1.6.1
retrieving revision 1.1.2.1.6.2
diff -u -r1.1.2.1.6.1 -r1.1.2.1.6.2
--- Execute.htm 2000/12/18 11:39:42 1.1.2.1.6.1
+++ Execute.htm 2000/12/20 05:27:39 1.1.2.1.6.2
@@ -28,7 +28,7 @@
print "<H1> 2.) Include from memory with some Embperl code</H1>\n" ;
-HTML::Embperl::Execute ({input => \'[- @ar = (a1, b2, c3)
-]<table><tr><td>[+$ar[$col]+]</td></tr></table></P>',
+HTML::Embperl::Execute ({input => \'[- @ar = (a1, b2, c3)
-]<table><tr><td>[+$ar[$col]+]</td> </tr> </table> </P>',
mtime => 1,
inputfile => 'table',
req_rec => $r}) ;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]