On Fri, 28 Jul 2000, Gerald Richter wrote:
As far as I understand you you use mmap to read in the source file, is this
correct?
Yes.
If this is true, then it will not make much difference, because reading in
the source is only a very small piece of all the time that it takes to
On Thu, 27 Jul 2000, Jeffrey W. Baker wrote:
No, but I was thinking of incorporating enhydra's XMLC technology into
AxKit. I'm not sure its a better method of working than XSLT or
XPathScript though, which allows you to be future looking (always
XML). But it could be kinda neat to do.
I suggest you do some benchmarks. I have, albeit many months
ago. If I recall correctly, I took Yahoo's home page and ran
it through my HTML Tree and that of Gisle Aas: HTML was about
7-8 times faster.
I don't use Gisle Aas HTML Parser. Embperl has it's own. This
On Thu, 27 Jul 2000, Robin Berjon wrote:
The CLASS attribute.
That's only a workaround (though the code above is bugged, it should be
#oneTD in the CSS), supposedly one should have the abilty to apply style to
one single element using an ID, which offers the guarantee that no other
On Thu, 27 Jul 2000, Joshua Chamas wrote:
Matt Sergeant wrote:
On Thu, 27 Jul 2000, Ime Smits wrote:
In short, I have the following in mind and partially worked out in actual
code. A package VBScript::Parser which offers:
$parser=new VBScript::Parser;
On Thu, 27 Jul 2000, Robin Berjon wrote:
The CLASS attribute.
That's only a workaround (though the code above is bugged, it should be
#oneTD in the CSS)
I thought that was broken in NS ;-)
, supposedly one should have the abilty to apply style to
one single element using an ID, which
On Fri, 28 Jul 2000, Gerald Richter wrote:
I see the plethora of templating tools as being the single
biggest problem with
Perl web application development right now.
Embperl is one of first templating systems. When other people came up with
new ideas, I always ask them if there is
On Thu, 27 Jul 2000, Paul J. Lucas wrote:
On Thu, 27 Jul 2000, Gerald Richter wrote:
To keep it fast Embperl is written in C.
Unless you use mmap(2), you can't compete with the speed of
HTML Tree. The only downside of mmap(2) is that HTML Tree must
be first in an
I hope people understand the motivation behind AxKit here is not "not
invented here". I have very specific reasons for wanting to work in XML,
and to be able to do so in a 110% W3C compliant way (the extra 10 percent
are the bits I've added!).
Hi Matt,
AxKit is _not_ just another templating
On Thu, 27 Jul 2000, Jacob Davies wrote:
I would love to work on standardization of at least the basic featureset in
templating, but I don't know who else would be interested in the effort.
It would really require all the major templating system developers to work with
it, and maybe that
Jauder Ho [EMAIL PROTECTED] writes:
The template may be kept in memory but it needs to be reparsed to insert
real values, no? What I would like to see is a way to say the template is
static (header/footer) and does not need to be reparse/regenerated each
time and comparitively small portion
Perrin Harkins [EMAIL PROTECTED] writes:
On Thu, 27 Jul 2000, Jeff Beard wrote:
I have a couple of package globals that I'd like to populate with
information from a database when I fire up the web server
[...]
I thought it might be as simple a declaring the variables and
populating
Actually that should say "one of the problems..."
Most templating systems out there work in one of two ways:
1. a bi-directional manner, where you have both systems calling into the
template, and the template calling out to code. Take for example TT, you
can have a module call the template
Perrin Harkins wrote:
On Thu, 27 Jul 2000, Kenneth Lee wrote:
My ideal system would be those the designer can see the server-side
objects and data fields in the database, and only associate them with
the template by drag-n-drop. The designer doesn't sees any special
tags, and doesn't
"Paul J. Lucas" [EMAIL PROTECTED] writes:
On Fri, 28 Jul 2000, Gerald Richter wrote:
As far as I understand you you use mmap to read in the source file, is this
correct?
Yes.
If this is true, then it will not make much difference, because reading in
the source is only a
| To a VBScript parser it should die. So you could define the concept of how
| to write "$response-write( ... );" in other languages somehow, in the
| actual class that implements (or calls) the parser. That way pluging in a
| JScript parser becomes easier, and you could even support multiple
|
Hi,
I have a problem
with the Apache::Session module.
Before, I was using
the version 0.15 of this module. In this version, we canuse the
SESSION_LIFETIME variable to define how long the session stays valid after the
last request to the server.
I tried to update
the Apache::Session
On 27 Jul 2000, Randal L. Schwartz wrote:
"Jacob" == Jacob Davies [EMAIL PROTECTED] writes:
Jacob Now as to ampersands used to separate form fields, like:
JacobA HREF="/somehandler?email=jacob%40sfinteractive.comname=Jacob"
Jacob do you mean that it should be:
Jacob
Hi,
I seem to be not the only one that has problems with Semaphores in
the apache-mod_perl context:
We run a redhat6.2 server and have installed a apache_1.3.12 with
mod_perl_1.24 and
mod_php4.01pl2 (linked statically, since DSOs do not work as posted in this
group)
We want to use
On Fri, 28 Jul 2000, Dave Jenkins wrote:
Then you are wrong. :) You need to have amp; in there, so that the
browser can turn it back from amp; to before sending the URL back
up to your server (or whichever server comes along).
Are you really positive about this?
unlurk
I had
To be honest, I have always used plain ampersands in URLs embedded in my
pages, and thus far I have never encountered any problems.
But maybe I've just been lucky... ;-)
me too
Gerald
Michael Hanisch [EMAIL PROTECTED] writes:
On Fri, 28 Jul 2000, Dave Jenkins wrote:
Then you are wrong. :) You need to have amp; in there, so that the
browser can turn it back from amp; to before sending the URL back
up to your server (or whichever server comes along).
Are
Perrin Harkins wrote:
On Thu, 27 Jul 2000, Erich L. Markert wrote:
OK, I'm nearing the end of one project so I'm able to take a look at new
solutions so one question comes to mind. What does the template toolkit
offer above and beyond HTML::Embperl or some other templating solution?
Drew Taylor [EMAIL PROTECTED] writes:
While I would love to have the session management form goodies of the
other template systems, our production people are not ready for it
(yet). Keep up the excellent work on these other frameworks - I might
get to use them one day. :-)
There's no
Could we just summarize them up as an article? :P
-kenneth
Thanks gentlemen. I thought I was correct about the behavior of my code.
However, Informix uses system authentication routines and we won't allow
root (the user running httpd at that point) to login remotely.
Time for an expedient hack I guess. sigh
Regards,
Jeff
On 28 Jul 2000, David
Joshua Chamas wrote:
As long as you are loading CGI in your PerlRequire startup.pl
with the compile option, CGI should not be hurting you as
its loaded in the parent httpd. You can also precompile
your CGI scripts with Apache::RegistryLoader for a big win
in processor speed and memory.
Kenneth Lee [EMAIL PROTECTED] writes:
Could we just summarize them up as an article? :P
Off you go then :-)
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.deep-purple.com
Apache, mod_perl, MySQL, Sybase
David Hodgkinson wrote:
Drew Taylor [EMAIL PROTECTED] writes:
While I would love to have the session management form goodies of the
other template systems, our production people are not ready for it
(yet). Keep up the excellent work on these other frameworks - I might
get to use
Matt Sergeant wrote:
To picture this better I imagine it as a forward moving pipeline, from
initial "resource" (the XML file, or whatever the URL maps to), to
delivering the file:
Res --- Process --- Process --- Process --- Delivery
I think this is an interesting way of looking at
Drew Taylor wrote:
I guess what I would like most is a framework that did everything
(session management via cookies or URL [automagically], forms
prefilling, etc) for me. Having done it myself once, I know that the
problem is larger than it sounds and why re-implement the wheel? For
this
"A" == Adrian [EMAIL PROTECTED] writes:
A Location /asp/
A SetHandler perl-script
A PerlHandler Apache::ASP
A PerlSetVar Global /tmp
A /Location
A What's wrong? May I forgoting anything? Is there issues that I don't
A know? Please, help me, 'cause already two weeks were lost trying to
Warn priority="low"
warning class="Off Topic"/
warning class="Long"/
/Warn
I'm not exactly sure where to send this, but here it goes:
Has anyone completed/started an abstract database class at all? I've written some for
very specific applications, but I want a more general-purpose tool.
Look at Michael Schwern's Class::DBI on CPAN.
On 28-Jul-2000 Michael Nachbaur wrote:
Warn priority="low"
warning class="Off Topic"/
warning class="Long"/
/Warn
I'm not exactly sure where to send this, but here it goes:
Has anyone completed/started an abstract database class at all?
Wow, look at all these messages! I trundle off the the Perl Conference
for a few days, and come back to an overflowing modperl mailbox.
I'm the author of the Template Toolkit and I figure it's time for me
to give my take on the whole subject. Here's a collection of my
thoughts which hopefully
Yes please !
I've been following these threads with avid interest as I am just starting
to look at this technology.
I'm currently using SSI to call mod_perl scripts to handle the dynamic
parts of the pages but this is getting very unwieldy when I start doing
form
On Jul 27, 10:55am, David Hodgkinson wrote:
Smart templaters cache templates and results. The REALLY smart ones
compile the templates into perl code and hold them as a reference to
an anonymous sub.
And the REALLY, REALLY smart ones (i.e. TT2) can write the Perl code to
disk for persistance
On Fri, 28 Jul 2000, Kenneth Lee wrote:
it would be good for the user to choose between mmap or normal i/o at
compile time. i'll try HTML::Tree anyway in the meantime.
It's not that simple. Using mmap(2) greatly affects how one
writes code: it's not a drop-in replacement for
Simon,
You aren't the only one who was pleasantly surprised to come back to a
mailbox overflowing with messages on a topic near dear to my heart.
:-)
As for summarizing, I have some pretty good info already: a private
email from a user of embperl, Andy's post of TT, and Joshua pointed me
to
Andy Wardley wrote:
And the REALLY, REALLY smart ones (i.e. TT2) can write the Perl code to
disk for persistance of compiled templates. That way, the templates
never need to be re-compiled (i.e. from TT syntax to Perl code) unless
you change them. They can simply be loaded via Perl's
On Fri, 28 Jul 2000, Paul J. Lucas wrote:
On Fri, 28 Jul 2000, Kenneth Lee wrote:
it would be good for the user to choose between mmap or normal i/o at
compile time. i'll try HTML::Tree anyway in the meantime.
It's not that simple. Using mmap(2) greatly affects how one
"Randal L. Schwartz" wrote:
"Jacob" == Jacob Davies [EMAIL PROTECTED] writes:
Jacob Now as to ampersands used to separate form fields, like:
Jacob A HREF="/somehandler?email=jacob%40sfinteractive.comname=Jacob"
Jacob do you mean that it should be:
Jacob A
There is the HTML::FillInForm module that will pre fill your forms.
It is pure Perl. It seems to work well, haven't stress tested it yet.
I am using it in conjunction with Apache::ASP, but haven't hacked
the Apache::ASP module to include it as a function. It is much easier
to work with now
Hi,
as mentioned i would like to use perl for a competitive replacement on a bid
competing with eprise product(which i am still trying to figure out exactly
what it does;-)) doesn't look like much though. anyhow i would like the
ability like say freshmeat.net does of combining mysql backend
Perrin,
I am about to embark on the same journey you describe below. My initial
thoughts were just to highlight features/difference/drawbacks for each
of the major templating systems. Have you done any work to date on this
project? I would like to begin reseaching each of the systems this
If there was only one way to do it, it wouldn't be perl. :)
On Thu, 27 Jul 2000, Erich L. Markert wrote:
OK, I'm nearing the end of one project so I'm able to take a look at new
solutions so one question comes to mind. What does the template toolkit
offer above and beyond HTML::Embperl or
From: Michael Hanisch [EMAIL PROTECTED]
Date: 2000-07-28 06:48:14 -0400
Are you really positive about this?
Randal is 100% correct.
AFAIK (and I just looked it up in the HTML 3.2 spec :-) the A tag is
defined as follows:
(quoted from http://www.w3.org/TR/REC-html32#sgmldecl)
So the
Andy Wardley wrote:
* The Template Toolkit is *ONLY* a template system. This is a Good
Thing. It processes text (HTML, Latex, POD, etc). You can use it
under Apache/mod_perl, in stand-alone CGI scripts, or in other
environments entirely unrelated to HTML or the web. This is also
a
At 13:28 28/07/2000 +0200, Michael Hanisch wrote:
To be honest, I have always used plain ampersands in URLs embedded in my
pages, and thus far I have never encountered any problems.
But maybe I've just been lucky... ;-)
Forget about all those mindboggling HTML questions ! Use XHTML, there amp;
Okay, I think there is still some confusion here as to what I am shooting
for. Ideally, I would like a system where the static parts of the page are
cached. I have recieved several mails suggesting that items such as the
header/footer can be turned into compiled print() statements as part of
At 09:58 AM 7/24/00, mgraham wrote:
For instance, I would like a backend web application to be able to
learn about form fields from the template tags:
[% input type='text' name='email' required=1
validate_as='email_address' %]
That's where the XForm may come quite handy
On 7/28/00 12:54 PM, Mark Doyle wrote:
We deliberately chose to use URL's with a series of '/' delimited fields
rather then using '? ... ' style URL's precisely because most people
don't know they have to escape the ampersands and we didn't want to risk
people's links breaking in the
And the REALLY, REALLY smart ones (i.e. TT2) can write the Perl code to
disk for persistance of compiled templates. That way, the templates
never need to be re-compiled (i.e. from TT syntax to Perl code) unless
you change them. They can simply be loaded via Perl's require().
But you have
As for summarizing, I have some pretty good info already: a private
email from a user of embperl, Andy's post of TT, and Joshua pointed me
to Apache::ASP's website. I'll probably do some serious reading this
weekend and (hopefully) begin to sketch out the comparison. And yes,
help is always
Gerald Richter wrote:
As for summarizing, I have some pretty good info already: a private
email from a user of embperl, Andy's post of TT, and Joshua pointed me
to Apache::ASP's website. I'll probably do some serious reading this
weekend and (hopefully) begin to sketch out the
Vivek had an excellent suggestion in private email: put together a list
of features and let the developers check off the options their system
supports. My biggest question is who comes up with the feature list in
the first place?
I would suggest it the other way round. Put together what you
Hi there template discussion people,,
I sure think that this template discussion is
intresting, forms autofill is one thing but another
thing that i think would be neat is if the kit could
do session handling, like the Apache::ASP. Can embperl
or mason do this fancy stuff.
It´s been a long
I sure think that this template discussion is
intresting, forms autofill is one thing but another
thing that i think would be neat is if the kit could
do session handling, like the Apache::ASP. Can embperl
or mason do this fancy stuff.
Embperl can do session handling. It uses
Gerald Richter wrote:
Vivek had an excellent suggestion in private email: put together a list
of features and let the developers check off the options their system
supports. My biggest question is who comes up with the feature list in
the first place?
I would suggest it the other
That´s it from right now I am a embperler, or what
ever
you call your self´s.
I really think that the URL rewriting is the way to
go..
I think i start reading the docs right away.. ;^)
Denton River
Internet Developer
Java, Perl, embperl and what else is there
--- Gerald Richter [EMAIL
I might as well pipe up.
I very much enjoy using HTML::Mason.
And people keep calling it inline perl, while it is really a hybrid
inline/templating solution (i.e. %init blocks keeps much of the perl
code separate, but in the same file.
It would, however, be nice to combine the best features of
The URL
http://morpheus.laserlink.net/~gyoung/modules/Apache-Dispatch-0.01.tar.gz
has entered CPAN as
file: $CPAN/authors/id/G/GE/GEOFF/Apache-Dispatch-0.01.tar.gz
size: 5170 bytes
md5: acee515fc8d19223f017c8380cae5b26
well, after the conference, I felt motivated to do some stuff.
On Fri, 28 Jul 2000, Geoffrey Young wrote:
The URL
http://morpheus.laserlink.net/~gyoung/modules/Apache-Dispatch-0.01.tar.gz
has entered CPAN as
file: $CPAN/authors/id/G/GE/GEOFF/Apache-Dispatch-0.01.tar.gz
size: 5170 bytes
md5: acee515fc8d19223f017c8380cae5b26
well,
[EMAIL PROTECTED] (Drew Taylor) wrote:
Gerald Richter wrote:
Vivek had an excellent suggestion in private email: put together a list
of features and let the developers check off the options their system
supports. My biggest question is who comes up with the feature list in
the first
On Thu, 27 Jul 2000, Ken Williams wrote:
Hi all,
I sent a patch for Apache::test a week or so ago. I got no responses,
so I'm here to advocate again for its incorporation. The original
message is here:
http://forum.swarthmore.edu/epigone/modperl/swonflefim
Are any of the CVS
Ken Williams wrote:
I suggest having not just a simple checkmark, but a 3-way check. A
system either supports a feature, or it doesn't, or it *optionally*
supports it (can be switched on and off). This is often very helpful to
know, and might let one get a good sense of the differences
On Fri, 28 Jul 2000, Drew Taylor wrote:
Ken Williams wrote:
I suggest having not just a simple checkmark, but a 3-way check. A
system either supports a feature, or it doesn't, or it *optionally*
supports it (can be switched on and off). This is often very helpful to
know, and might
Paul J. Lucas writes:
This is the quote from "Philip and Alex..." that I was talking about
earlier. I don't know if its relevant or not:
They replied "NaviServer uses memory-mapped file I/O on single-processor
machines but automatically configures itself to use operating system read on
On Fri, 28 Jul 2000, Michael Hanisch wrote:
I really believe my thoughts outlined in my original post are correct -
but right now I am starting to worry...
Personally I would attribute the described problem to a bug in IE4 - even
if it parses the URI for entities, it shouldn't find a "sect;"
i just posted this question to new-httpd as well, so, no, you didn't get
it twice. :)
has anyone tried compiling mod_perl on the itanium? sourceforge has a
buncha leenux boxen with them, and they are open to being played with.
--
Blue Lang Unix Systems
On Fri, 28 Jul 2000, brian d foy wrote:
On Fri, 28 Jul 2000, Michael Hanisch wrote:
Personally I would attribute the described problem to a bug in IE4 - even
if it parses the URI for entities, it shouldn't find a "sect;" since the
Alan Flavell has an excellent article on this problem,
Oh, and can I relate a brief success story I had with Mason?
I am going to support frames on my site for trans-oceanic surfers
who appreciate everything I can do to limit download times.
With Mason, the whole thing was done with a shadow directory,
2 autohandlers and three frameset files. It is
Matt Sergeant wrote:
This is getting too complex. Just do a couple of paragraphs on each, and
let everyone bang it out to a bit more than that. I guarantee that once
one template system designer says "Mine does X", the others will chime in
and say "Well mine can do X too, and optionally Y".
Yes, a cookie-munging facility would be nice
-Original Message-
From: Drew Taylor
To: David Hodgkinson
Cc: [EMAIL PROTECTED]
Sent: 7/28/2000 10:25 AM
Subject: Re: Templating System
David Hodgkinson wrote:
Drew Taylor [EMAIL PROTECTED] writes:
While I would love to have the
The one trick that finally enabled me to get mod_perl to
work as a DSO with IBM's WebSphere on AIX was a utility
named rtl_enable. There were a few changes I had to make
to one of mod_perl's makefiles (apaci/Makefile, I think) to
get libperl.so to build, but even then httpd would segfault
as
Drew Taylor [EMAIL PROTECTED] writes:
Ken Williams wrote:
I suggest having not just a simple checkmark, but a 3-way check. A
system either supports a feature, or it doesn't, or it *optionally*
supports it (can be switched on and off). This is often very helpful to
know, and might
Hi,
I am trying to parse the apache transfer log (access_log) record and
getting the error, I am doing the following, but it's not working. Any one
have idea, why it's not working?
# Test Code Begin ##
use strict;
$_ = "10.0.48.146 - - [28/Jul/2000:13:22:37 -0700]
hi,
at first my english is not very well.
I hope someone is here, who can help
me.
After the run of any Perlprogram on Apache
1.3.12, I get in theerror.log the message: "Premature end of script
headers".Where can I find the "misconfiguration".
The matter is, i don'tknowwhy on SUSE
6.4
[EMAIL PROTECTED] (Frank D. Cringle) wrote:
Drew Taylor [EMAIL PROTECTED] writes:
Ken Williams wrote:
I suggest having not just a simple checkmark, but a 3-way check. A
system either supports a feature, or it doesn't, or it *optionally*
supports it (can be switched on and off). This
hi Matt...
I can't access my normal email from home, so forgive
the non-quoting of your message... :)
the way I set it up, when running in DispatchMode =
Safe (the default, which I didn't mention in the
docs), you wouldn't be able to call /File/Find/find
without explitily allowing File or
On Fri, 28 Jul 2000, Saurabh Goyal wrote:
Hi,
$_ = "10.0.48.146 - - [28/Jul/2000:13:22:37 -0700] \"GET /home/test.html
^
HTTP/1.0\" 200 193";
if(/^(\S+) (\S+) (\S+) \[([^:]+):(\d+:\d+:\d+) ([^\]]+) "(\S+) (.*?)
Apache::ASP already has session URL rewriting
with SessionQueryParse
--Joshua
Denton River wrote:
That´s it from right now I am a embperler, or what
ever
you call your self´s.
I really think that the URL rewriting is the way to
go..
I think i start reading the docs right away.. ;^)
On Fri, 28 Jul 2000, Denton River wrote:
Its been a long time since i have done a jobb without using sessions. I would
really like to have this feature included in the kit im using and i think
alot of developers are with me on this one.
What I don't understand is *why*. Why can't
On Fri, 28 Jul 2000, Malcolm Beattie wrote:
Assuming the kernel only keeps track of the last fault position in the file,
it won't recognise that it's being read linearly (twice :-) and may well not
do the async read ahead and drop behind in page cache that it would do
otherwise. Once again,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Fri, 28 Jul 2000, Paul J. Lucas wrote:
Its been a long time since i have done a jobb without using sessions.
I would really like to have this feature included in the kit im using
and i think alot of developers are with me on this one.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
At 9:01 AM +0200 7/28/00, Gerald Richter wrote:
This behaviour was normal for all mod_perl versions before 1.22. Starting
with 1.22 it has gone away (at least for me and serveral other people I
know). If you still get it with mod_perl 1.24, that very
Sometimes loading dynamic libraries at startup in Apache crashes the
server with a segfault immediately after it loads the library
(according to an strace).
RedHat 6.1
apache_1.3.12 (and earlier)
mod_perl-1.24 (and earlier)
This behaviour was normal for all mod_perl versions before
87 matches
Mail list logo