You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-dev@perl.apache.org by Per Einar Ellefsen <pe...@skynet.be> on 2002/06/09 16:16:17 UTC
"What is mod_perl" additions
Hi,
I just wanted us to have a complete set of examples for the "What is
mod_perl" section, so I have written up some quick pages for the remaining
items.
Prewview at http://users.skynet.be/pereinar/mod-perl/start/ . Tell me what
you think before I commit.
By the way: src/start/tips/logging.pod isn't used. Should we maybe delete it?
--
Per Einar Ellefsen
per.einar@skynet.be
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Per Einar Ellefsen <pe...@skynet.be>.
At 18:19 10.06.2002, Bill Moseley wrote:
>At 12:09 PM 06/10/02 -0400, Drew Taylor wrote:
> >If I may chirp in here, at the link below the text for Apache::Registry
>reads:
> >
> >"The standard Apache::Registry module can provide 100x speedups for your
> >existing CGI scripts and reduce the load on your server at the same time. A
> >few changes to the web server's config is all that is required to run your
> >existing CGI scripts at lightning speed."
> >
> >Wouldn't it be better to say "up to 100x speedups"? That way when someone
> >converts and doesn't get the huge speedup promised they aren't upset.
>
>I agree. That "100x" kind of bugged me since it's so dependent on other
>things. People often run more complicated applications than "Hello World!"
I'll change it while doing the other changes.
>BTW - Per, great job on the extra examples!
Thanks :)
--
Per Einar Ellefsen
per.einar@skynet.be
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Stas Bekman <st...@stason.org>.
Bill Moseley wrote:
> At 12:09 PM 06/10/02 -0400, Drew Taylor wrote:
>
>>If I may chirp in here, at the link below the text for Apache::Registry
>
> reads:
>
>>"The standard Apache::Registry module can provide 100x speedups for your
>>existing CGI scripts and reduce the load on your server at the same time. A
>>few changes to the web server's config is all that is required to run your
>>existing CGI scripts at lightning speed."
>>
>>Wouldn't it be better to say "up to 100x speedups"? That way when someone
>>converts and doesn't get the huge speedup promised they aren't upset.
+1
> I agree. That "100x" kind of bugged me since it's so dependent on other
> things. People often run more complicated applications than "Hello World!"
>
> That's also why I added that little benchmark of:
>
> "So how much faster do scripts run under Apache::Registry? Obviously, it
> depends on the script, but the hello.cgi script above ran at 7.3 requests
> per second as a CGI script and 243.0 requests per second with
> Apache::Registry."
I suggest that we don't use absolute numbers without explaining what are
they and how they should be used. If you can change it improved by 30
times on my machine, that would be better. Why? Because I'm sure I can
get 600rps on my machine for the same script, so numbers are misleading.
> That even that little script was not 100x. Be nice to impress how much
> faster things can run over CGI without using specific numbers.
>
> Stas, did you have an example of 100x speedups?
Easily, e.g. this heavy script:
file:readdir.pl
---------------
use strict;
use CGI ();
use IO::Dir ();
my $q = CGI->new;
print $q->header("text/plain");
my $dir = IO::Dir->new(".");
print join "\n", $dir->read;
does:
Mode Requests/sec
-------------------------------
Apache::Registry 473
Apache::PerlRun 289
mod_cgi 10
That's 50 times! On a stronger machine with a code that benefits
mod_perl (e.g. requiring lots of modules), you can reach 100 times
without any problem.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Bill Moseley <mo...@hank.org>.
At 12:09 PM 06/10/02 -0400, Drew Taylor wrote:
>If I may chirp in here, at the link below the text for Apache::Registry
reads:
>
>"The standard Apache::Registry module can provide 100x speedups for your
>existing CGI scripts and reduce the load on your server at the same time. A
>few changes to the web server's config is all that is required to run your
>existing CGI scripts at lightning speed."
>
>Wouldn't it be better to say "up to 100x speedups"? That way when someone
>converts and doesn't get the huge speedup promised they aren't upset.
I agree. That "100x" kind of bugged me since it's so dependent on other
things. People often run more complicated applications than "Hello World!"
That's also why I added that little benchmark of:
"So how much faster do scripts run under Apache::Registry? Obviously, it
depends on the script, but the hello.cgi script above ran at 7.3 requests
per second as a CGI script and 243.0 requests per second with
Apache::Registry."
That even that little script was not 100x. Be nice to impress how much
faster things can run over CGI without using specific numbers.
Stas, did you have an example of 100x speedups?
BTW - Per, great job on the extra examples!
--
Bill Moseley
mailto:moseley@hank.org
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Drew Taylor <dr...@drewtaylor.com>.
If I may chirp in here, at the link below the text for Apache::Registry reads:
"The standard Apache::Registry module can provide 100x speedups for your
existing CGI scripts and reduce the load on your server at the same time. A
few changes to the web server's config is all that is required to run your
existing CGI scripts at lightning speed."
Wouldn't it be better to say "up to 100x speedups"? That way when someone
converts and doesn't get the huge speedup promised they aren't upset. BTW,
I'm VERY impressed with all the work everyone has done. It's very cool.
Drew
>Per Einar Ellefsen wrote:
>>Prewview at http://users.skynet.be/pereinar/mod-perl/start/ . Tell me
>>what you think before I commit.
======================================================================
Drew Taylor | Freelance web development using
http://www.drewtaylor.com/ | perl/mod_perl/MySQL/postgresql/DBI
mailto:drew@drewtaylor.com | Email jobs at drewtaylor.com
----------------------------------------------------------------------
Speakeasy.net: A DSL provider with a clue. Sign up today.
http://www.speakeasy.net/refer/29655
======================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Drew Taylor <dr...@drewtaylor.com>.
At 11:32 AM 6/10/02 -0700, Bill Moseley wrote:
> >>> * Another issue is that while many people come to mod_perl via the
> >>> registry family, this is not the feature that should come up first,
> >>>
> >>> "Easily create custom modules that become part of Apache"
> >>> "Gain access to all request stages"
> >>>
> >>> should probably come before registry.
>
>I'd side with Per on this, Stas. I think it's good to show a simple CGI
>script converted to Apache::Registry first.
+1. Nothing fancy, just a solid example. Something more than a hello world,
but not too complicated.
>(BTW -- it was Apache::Registry that allowed me to demo an existing CGI
>application which was then approved to move to mod_perl.)
IMHO, Registry is the killer app for mod_perl. You get a huge speedup from
the caching and you can still control Apache's inner workings via my $r =
Apache->request. Most people have a huge number of existing scripts that
can benefit from registry, usually with (somewhat) minor modifications. I
know that is certainly the case here at my work.
Of course, PerlRun is nice too because we haven't had the time to clean up
everything, and might never do so. :-)
Drew
======================================================================
Drew Taylor | Freelance web development using
http://www.drewtaylor.com/ | perl/mod_perl/MySQL/postgresql/DBI
mailto:drew@drewtaylor.com | Email jobs at drewtaylor.com
----------------------------------------------------------------------
Speakeasy.net: A DSL provider with a clue. Sign up today.
http://www.speakeasy.net/refer/29655
======================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Stas Bekman <st...@stason.org>.
Bill Moseley wrote:
> At 01:01 AM 06/11/02 +0200, Per Einar Ellefsen wrote:
>
>>Here's my stab for tonight: http://users.skynet.be/pereinar/mod-perl/start/
>>I added some more explanation, and shortened down some examples, but don't
>>want to add more than what is strictly necessary. Mostly marketing really.
>
>
> I hope to review a bit more later, but I have a quick question. Is it
> possible to turn off the table of contents for some of those? Seems odd to
> have a table of contents for just one item.
I've tried to have that. But then I've realized that it won't work,
because it's possible that there is only one head1, but many head2's I
guess we could descend and test for this. But may be for the consistency
it's just better to have TOC everywhere.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Bill Moseley <mo...@hank.org>.
At 01:01 AM 06/11/02 +0200, Per Einar Ellefsen wrote:
>Here's my stab for tonight: http://users.skynet.be/pereinar/mod-perl/start/
>I added some more explanation, and shortened down some examples, but don't
>want to add more than what is strictly necessary. Mostly marketing really.
I hope to review a bit more later, but I have a quick question. Is it
possible to turn off the table of contents for some of those? Seems odd to
have a table of contents for just one item.
--
Bill Moseley
mailto:moseley@hank.org
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Per Einar Ellefsen <pe...@skynet.be>.
Here's my stab for tonight: http://users.skynet.be/pereinar/mod-perl/start/
I added some more explanation, and shortened down some examples, but don't
want to add more than what is strictly necessary. Mostly marketing really.
For the comments, it would be nice to have some concrete examples of what
you mean...
At 21:51 10.06.2002, Per Einar Ellefsen wrote:
>At 20:10 10.06.2002, Stas Bekman wrote:
>>Per Einar Ellefsen wrote:
>>>At 19:38 10.06.2002, Stas Bekman wrote:
>>>
>>>>Per Einar Ellefsen wrote:
>>>>
>>>>>I have added sections below "Configure Apache with Perl" (the more >>
>>>>>documents).
>>>>
>>>>
>>>>got it:
>>>>
>>>>* The first example is the code but no config. Are those examples
>>>>intented to be just a teaser or fully functional? If the latter we need
>>>>to add a sample config section.
>>>
>>>Well, I was only intending it as a teaser, because I don't want to go
>>>creating a complete application using sessions. That handler doesn't do
>>>anything, it just shows how easy it is to get session info and use it.
>>
>>easy to whom? One must wear a newbie hat (perhaps a hat of someone who
>>doesn't know perl very well) when designing such a doc.
>>
>>On the opposite it's very easy to turn the new person away, if things
>>seem to complicated (to him!).
>>
>>Therefore it's probably to present just a little, along the lines that
>>Bill has done and explain things.
>>
>>Please be careful not to overdo here, the size does matter, the other way
>>around.
>
>I'll try and do my best, and take another stab at this. I don't however
>want to make things overly simplified: some things should be ok for
>newbies, but some other things are more oriented towards the experienced
>web programmer. For example, to understand "Sessions" you have to have
>some experience: my example was more directed to Java/PHP programmers
>having used sessions before, and might be amazed about how easy it is with
>mod_perl.
>
>>>>* The same here:
>>>>start/tips/app-servers.html
>>>>it's good for slides, but not enough padding for a document. The start
>>>>is great, but I believe huge snippets of code without explanation are
>>>>bad, unless you use it as a teaser and look-n-feel demo.
>>>
>>>Once again, I don't want to being explanation. The point is just to show
>>>example syntax, which some PHP/ASP/anything-junkies might love.
>>>Explanation is good for docs, this is mostly to attract people. Of
>>>course I could add a sentence or 2, but I don't want more than that.
>>
>>what good is example if I don't understand it and the language it's
>>written in? talking about ASP, AxKit and other examples.
>
>Well, they'll have to learn Perl anyway. The ASP example wasn't
>complicated at all, anyone with 2 minutes programmng experience would
>understand it. I'll extend more on comments as I said above though. For
>the Embperl one, I'll make it easier, removing the DB stuff (the table
>things is most interesting). As for AxKit, there wasn't even any Perl in
>it! XML is the hit of the year, so let's try and drag people into it!
>
>>I think it's better to just say that the feature is available with a link
>>to a proper doc, rather just making the person go confused.
>>
>>>>* Apache 2.0 support
>>>>
>>>>I doubt this is a good title. Of course we support Apache 2.0. This is
>>>>not a feature, this is *the* thing. Remember that after awhile 2.0 will
>>>>be *the* version, so it'd be silly to advertise it as a feature.
>>>>moreover currently 2.0 support is alpha-beta yet.
>>>>
>>>>i suggest to rename it. "Apache 2.0's new features support"
>>>
>>>Ok. But anyway, once mod_perl 2.0 comes into General Availability (or
>>>whatever we call it), this doc will have to be changed. For now,
>>>mod_perl 1.0 is the king, and mod_perl 2.0 is something people might
>>>want to have fun with.
>>
>>Fun? You are mistaken again. This section is for *newbies* not for those
>>who use mod_perl for years and looking for that kind of fun.
>>
>>Imagine a new person coming to us and we give him this fun. I doubt this
>>person will stay with us. If you want to give fun, give them something
>>that works and something that they will have very little frustration with.
>
>This doc isn't a "working examples" page. It's supposed to show basic
>syntax and how *easy* things are. Writing a protocol server with mod_perl
>looks *easy* with Apache::Echo. Do you have any other ideas for the Apache
>2.0 page?
>
>>> "Easily create custom modules that become part of Apache"
>>>> "Gain access to all request stages"
>>>>
>>>>should probably come before registry.
>>>
>>>True, but as an eye-catcher, the first point would be "Faster CGI" as
>>>something people unfamiliar with these whole handler-thingies would tick
>>>on. For me, this page isn't anything else than advertising: we're trying
>>>to catch programmers and managers alike, and it's most likely they are
>>>already running CGI which they want a replacement for.
>>
>>There are many other competing products that speedup CGIs. The strenth of
>>mod_perl is in Apache API not in Registry, even though many people do use
>>registry.
>
>As Bill said and Drew said, Apache::Registry seems important to me. You
>point at newbies, but newbies are more inclined to know about CGI than
>anything related to handlers. They'll learn that along the way.
>
>>>>>>>By the way: src/start/tips/logging.pod isn't used. Should we maybe
>>>>>>>delete it?
>>>Ok, we drop it then...?
>>
>>you mean logging? ok, unless someone comes up with a simple easily
>>understandable example .
>
>+1.
>
>
>--
>Per Einar Ellefsen
>per.einar@skynet.be
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
>For additional commands, e-mail: docs-dev-help@perl.apache.org
>
--
Per Einar Ellefsen
per.einar@skynet.be
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Bill Moseley <mo...@hank.org>.
At 02:10 AM 06/11/02 +0800, Stas Bekman wrote:
>> Well, I was only intending it as a teaser, because I don't want to go
>> creating a complete application using sessions. That handler doesn't do
>> anything, it just shows how easy it is to get session info and use it.
>
>easy to whom? One must wear a newbie hat (perhaps a hat of someone who
>doesn't know perl very well) when designing such a doc.
>
>On the opposite it's very easy to turn the new person away, if things
>seem to complicated (to him!).
>
>Therefore it's probably to present just a little, along the lines that
>Bill has done and explain things.
Now you know why I left those last few sections blank. ;) I feared that
they would end up being so complicated that we should just point to the
real docs.
But they are also far enough down that list that maybe a little more
complicated example would be fine. I would like to see complete working
examples, though. Would a good example be to grab a session using
Apache::Cookie and Apache::DBI and set pnotes with the session? And create
a new empty session if one doesn't exist with one of the unique ID
generator modules? The trick is getting it down to a very few lines of code.
>>> * Another issue is that while many people come to mod_perl via the
>>> registry family, this is not the feature that should come up first,
>>>
>>> "Easily create custom modules that become part of Apache"
>>> "Gain access to all request stages"
>>>
>>> should probably come before registry.
I'd side with Per on this, Stas. I think it's good to show a simple CGI
script converted to Apache::Registry first. It's the kind of thing that
shows people that mod_perl can work for them right away, and they can
easily understand the example. And good for admin types that need to see a
quick payoff. It's just a foot-in-the-door type of teaser.
Hopefully, the "real" docs will make it clear that Apache::Registry is not
all of mod_perl.
(BTW -- it was Apache::Registry that allowed me to demo an existing CGI
application which was then approved to move to mod_perl.)
--
Bill Moseley
mailto:moseley@hank.org
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Stas Bekman <st...@stason.org>.
Per Einar Ellefsen wrote:
> At 08:55 11.06.2002, Stas Bekman wrote:
>
>> Per Einar Ellefsen wrote:
>>
>>> At 05:59 11.06.2002, Stas Bekman wrote:
>>>
>>>> Per Einar Ellefsen wrote:
>>>>
>>>>>> Please be careful not to overdo here, the size does matter, the
>>>>>> other way around.
>>>>>
>>>>>
>>>>>
>>>>> I'll try and do my best, and take another stab at this. I don't
>>>>> however want to make things overly simplified: some things should
>>>>> be ok for newbies, but some other things are more oriented towards
>>>>> the experienced web programmer. For example, to understand
>>>>> "Sessions" you have to have some experience: my example was more
>>>>> directed to Java/PHP programmers having used sessions before, and
>>>>> might be amazed about how easy it is with mod_perl.
>>>>
>>>>
>>>>
>>>> I disagree with you, we will end up creating another set of docs. Be
>>>> prepared to answer numerous questions regarding this section. I
>>>> don't think that was the idea. This is "What's mod_perl", a teaser.
>>>> For complete docs we have docs.
>>>
>>>
>>> That's what I was trying to say all along. You're the one who said
>>> you wanted more description etc etc.
>>
>>
>> No, I said the descriptions are due where the code is unclear. And if
>> you take the newbie, it's most likely everywhere. Which leads to a
>> huge amount of docs.
>>
>> My suggestion was to mention features with links to the documents
>> exploring these in depth.
>
>
> But then you don't get much of a feel of how mod_perl things look like,
> do you?
That's what you think because you know all this stuff. For newcomers the
amount of information is overwhelming so it's not easy to get the right
ballance with what to show and what not.
I suggest the following approach. For each category of features show
*one* code sample which is very clear and shows how easy mod_perl is.
The rest of the features in the same category are only to be listed with
links where to read more. I believe this approach accomplishes the
mentioned vision:
* it provides sampling, so you get to feel what it is like coding in
mod_perl (easy, concise, fast, ...)
* it lists a bunch of the other areas which the newcomer may want to
explore but doesn't provide the details inlined, instead linking to them.
>>>> mod_perl is not:
>>>> * Application Frameworks (Axkit, ASP, ...)
>>>
>>>
>>> Well, I'd say it *is*. TIMTOWTDI. People might come to mod_perl from
>>> different sides. If you think about mod_perl as a backend, people
>>> will come to mod_perl because some of their applications require it
>>> (Slash for instance).
>>
>>
>> That's right. But then those users who find those framework arrive to
>> discover what's mod_perl, not the other way around. I doubt very much
>> that people come to check out on mod_perl in search for application
>> frameworks. I'm talking about those who don't know what mod_perl is.
>
>
> Ok, I'll drop that.
see above, if we can rework it that way if you like what I've suggested.
So pick some realy short and sweet piece of code that demonstrates the
power and mention a few other 3rd party modules which are really useful
and sought after.
>> My suggestion is not to drop what you've done but temporary hide those
>> things. Keep them committed but don't link to them. Once 2.0 is
>> released and these features can be used without problems, then they
>> will be a great boon for the "What's mod_perl" section. All in its time.
>
>
> Well, nothing's commited yet. But I was asking in a more general sense:
> after what you've said, I understand that the only one you would like to
> keep (maybe) is the 3rd party modules one. Am I right?
whichever way you prefer. Either keep them on your machine till the time
comes, post them to the list as a patch, so we can retrieve it later
from the archive, or both.
Also remember that once 2.0 is released and proved stable all the docs
will be switching to 2.0 as the main mod_perl, so if we say mod_perl
without the version we mean 2.0. of course it'll take a while, but
that's the idea. When this happens all the Apache 2.0 support will
become irrelevant and those new features will be just core features
listed along with all other features existing since 1.0.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Per Einar Ellefsen <pe...@skynet.be>.
At 08:55 11.06.2002, Stas Bekman wrote:
>Per Einar Ellefsen wrote:
>>At 05:59 11.06.2002, Stas Bekman wrote:
>>
>>>Per Einar Ellefsen wrote:
>>>
>>>>>Please be careful not to overdo here, the size does matter, the other
>>>>>way around.
>>>>
>>>>
>>>>I'll try and do my best, and take another stab at this. I don't however
>>>>want to make things overly simplified: some things should be ok for
>>>>newbies, but some other things are more oriented towards the
>>>>experienced web programmer. For example, to understand "Sessions" you
>>>>have to have some experience: my example was more directed to Java/PHP
>>>>programmers having used sessions before, and might be amazed about how
>>>>easy it is with mod_perl.
>>>
>>>
>>>I disagree with you, we will end up creating another set of docs. Be
>>>prepared to answer numerous questions regarding this section. I don't
>>>think that was the idea. This is "What's mod_perl", a teaser. For
>>>complete docs we have docs.
>>
>>That's what I was trying to say all along. You're the one who said you
>>wanted more description etc etc.
>
>No, I said the descriptions are due where the code is unclear. And if you
>take the newbie, it's most likely everywhere. Which leads to a huge amount
>of docs.
>
>My suggestion was to mention features with links to the documents
>exploring these in depth.
But then you don't get much of a feel of how mod_perl things look like, do you?
>>>mod_perl is not:
>>>* Application Frameworks (Axkit, ASP, ...)
>>
>>Well, I'd say it *is*. TIMTOWTDI. People might come to mod_perl from
>>different sides. If you think about mod_perl as a backend, people will
>>come to mod_perl because some of their applications require it (Slash for
>>instance).
>
>That's right. But then those users who find those framework arrive to
>discover what's mod_perl, not the other way around. I doubt very much that
>people come to check out on mod_perl in search for application frameworks.
>I'm talking about those who don't know what mod_perl is.
Ok, I'll drop that.
>>Well, if there's such a strong feeling about what I've done, I'll just
>>drop it. I just spent my time from mifnight to 1 in the morning trying to
>>make it something, but it's not worth it. Tell me what you *think* is
>>good enough, and I'll drop the rest.
>
>Well, Per Einar, there are two ways to accomplish things:
>
>1) suggest and hopefully get the expected feedback
>2) do what you think is right and hopefully it'll be accepted by the others
>
>untill recently with docs the 2# was the only way to go, no hopefully
>things getting better and more people are willing to give a thought to
>proposal.
no problem :)
>My suggestion is not to drop what you've done but temporary hide those
>things. Keep them committed but don't link to them. Once 2.0 is released
>and these features can be used without problems, then they will be a great
>boon for the "What's mod_perl" section. All in its time.
Well, nothing's commited yet. But I was asking in a more general sense:
after what you've said, I understand that the only one you would like to
keep (maybe) is the 3rd party modules one. Am I right?
>We still try to keep a low profile regarding mod_perl 2.0, since too many
>things aren't completed yet. We do want early adopters, but those who know
>what they are doing find their way to mod_perl 2.0 by themselves. We don't
>want those that don't know what they are doing to try mod_perl 2.0,
>because we expect help from those testers (building debug Perl, mod_perl,
>supplying core traces, etc...) That's why these features aren't ripe as
>"What's mod_perl".
I understand.
--
Per Einar Ellefsen
per.einar@skynet.be
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Stas Bekman <st...@stason.org>.
Per Einar Ellefsen wrote:
> At 05:59 11.06.2002, Stas Bekman wrote:
>
>> Per Einar Ellefsen wrote:
>>
>>>> Please be careful not to overdo here, the size does matter, the
>>>> other way around.
>>>
>>>
>>> I'll try and do my best, and take another stab at this. I don't
>>> however want to make things overly simplified: some things should be
>>> ok for newbies, but some other things are more oriented towards the
>>> experienced web programmer. For example, to understand "Sessions" you
>>> have to have some experience: my example was more directed to
>>> Java/PHP programmers having used sessions before, and might be amazed
>>> about how easy it is with mod_perl.
>>
>>
>> I disagree with you, we will end up creating another set of docs. Be
>> prepared to answer numerous questions regarding this section. I don't
>> think that was the idea. This is "What's mod_perl", a teaser. For
>> complete docs we have docs.
>
>
> That's what I was trying to say all along. You're the one who said you
> wanted more description etc etc.
No, I said the descriptions are due where the code is unclear. And if
you take the newbie, it's most likely everywhere. Which leads to a huge
amount of docs.
My suggestion was to mention features with links to the documents
exploring these in depth.
>> Stop for a moment throwing everything in one pile. Ask yourself "What
>> is mod_perl?", asnwer it and you will see that many of the things
>> you've added are *not* mod_perl. They are things running on top of
>> mod_perl.
>>
>> mod_perl is:
>>
>> * Apache API
>> * Registry
>> * <Perl> sections
>> * Persistent database
>
>
> Persistent database doesn't make a very good example... It's just a
> single PerlModule call :) But on the other hand that may be good.
>
>> * Shared memory
>> * threads (2.0)
>>
>> mod_perl is not:
>> * Application Frameworks (Axkit, ASP, ...)
>
>
> Well, I'd say it *is*. TIMTOWTDI. People might come to mod_perl from
> different sides. If you think about mod_perl as a backend, people will
> come to mod_perl because some of their applications require it (Slash
> for instance).
That's right. But then those users who find those framework arrive to
discover what's mod_perl, not the other way around. I doubt very much
that people come to check out on mod_perl in search for application
frameworks. I'm talking about those who don't know what mod_perl is.
>>> Do you have any other ideas for the Apache 2.0 page?
>>
>>
>> there shouldn't be 2.0 page. 2.0 is not out yet. Let's not following
>> marketing strategies on this one. Once it's out and there are solid
>> docs for it a teaser with a link to those docs is perfect.
>>
>> BTW, I think once 2.0 is out the features should be added on their
>> own. Once you said 'mod_perl is Apache API' you said it all.
>
>
> Well, if there's such a strong feeling about what I've done, I'll just
> drop it. I just spent my time from mifnight to 1 in the morning trying
> to make it something, but it's not worth it. Tell me what you *think* is
> good enough, and I'll drop the rest.
Well, Per Einar, there are two ways to accomplish things:
1) suggest and hopefully get the expected feedback
2) do what you think is right and hopefully it'll be accepted by the others
untill recently with docs the 2# was the only way to go, no hopefully
things getting better and more people are willing to give a thought to
proposal.
My suggestion is not to drop what you've done but temporary hide those
things. Keep them committed but don't link to them. Once 2.0 is released
and these features can be used without problems, then they will be a
great boon for the "What's mod_perl" section. All in its time.
We still try to keep a low profile regarding mod_perl 2.0, since too
many things aren't completed yet. We do want early adopters, but those
who know what they are doing find their way to mod_perl 2.0 by
themselves. We don't want those that don't know what they are doing to
try mod_perl 2.0, because we expect help from those testers (building
debug Perl, mod_perl, supplying core traces, etc...) That's why these
features aren't ripe as "What's mod_perl".
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Per Einar Ellefsen <pe...@skynet.be>.
At 05:59 11.06.2002, Stas Bekman wrote:
>Per Einar Ellefsen wrote:
>
>>>Please be careful not to overdo here, the size does matter, the other
>>>way around.
>>
>>I'll try and do my best, and take another stab at this. I don't however
>>want to make things overly simplified: some things should be ok for
>>newbies, but some other things are more oriented towards the experienced
>>web programmer. For example, to understand "Sessions" you have to have
>>some experience: my example was more directed to Java/PHP programmers
>>having used sessions before, and might be amazed about how easy it is
>>with mod_perl.
>
>I disagree with you, we will end up creating another set of docs. Be
>prepared to answer numerous questions regarding this section. I don't
>think that was the idea. This is "What's mod_perl", a teaser. For complete
>docs we have docs.
That's what I was trying to say all along. You're the one who said you
wanted more description etc etc.
>>Well, they'll have to learn Perl anyway. The ASP example wasn't
>>complicated at all, anyone with 2 minutes programmng experience would
>>understand it. I'll extend more on comments as I said above though. For
>>the Embperl one, I'll make it easier, removing the DB stuff (the table
>>things is most interesting). As for AxKit, there wasn't even any Perl in
>>it! XML is the hit of the year, so let's try and drag people into it!
>
>I beg your pardon, let's *not* try and drag people into hyped things. It's
>a known thing that I have a very ill attitude towards xml, but my point
>is: if there was no perl in in what is it doing in the section called
>"What is mod_perl?"
Yeah, I was thinking about dropping that anyway.
>Stop for a moment throwing everything in one pile. Ask yourself "What is
>mod_perl?", asnwer it and you will see that many of the things you've
>added are *not* mod_perl. They are things running on top of mod_perl.
>
>mod_perl is:
>
>* Apache API
>* Registry
>* <Perl> sections
>* Persistent database
Persistent database doesn't make a very good example... It's just a single
PerlModule call :) But on the other hand that may be good.
>* Shared memory
>* threads (2.0)
>
>mod_perl is not:
>* Application Frameworks (Axkit, ASP, ...)
Well, I'd say it *is*. TIMTOWTDI. People might come to mod_perl from
different sides. If you think about mod_perl as a backend, people will come
to mod_perl because some of their applications require it (Slash for instance).
>>>I think it's better to just say that the feature is available with a
>>>link to a proper doc, rather just making the person go confused.
>>>
>>>>>* Apache 2.0 support
>>>>>
>>>>>I doubt this is a good title. Of course we support Apache 2.0. This is
>>>>>not a feature, this is *the* thing. Remember that after awhile 2.0
>>>>>will be *the* version, so it'd be silly to advertise it as a feature.
>>>>>moreover currently 2.0 support is alpha-beta yet.
>>>>>
>>>>>i suggest to rename it. "Apache 2.0's new features support"
>>>>
>>>>
>>>>Ok. But anyway, once mod_perl 2.0 comes into General Availability (or
>>>>whatever we call it), this doc will have to be changed. For now,
>>>>mod_perl 1.0 is the king, and mod_perl 2.0 is something people might
>>>>want to have fun with.
>>>
>>>
>>>Fun? You are mistaken again. This section is for *newbies* not for those
>>>who use mod_perl for years and looking for that kind of fun.
>>>
>>>Imagine a new person coming to us and we give him this fun. I doubt this
>>>person will stay with us. If you want to give fun, give them something
>>>that works and something that they will have very little frustration with.
>>
>>This doc isn't a "working examples" page. It's supposed to show basic
>>syntax and how *easy* things are. Writing a protocol server with mod_perl
>>looks *easy* with Apache::Echo.
>
>Sure, wait till 2.0 is released and then have a section on protocols and
>filters.
ok.
>>Do you have any other ideas for the Apache 2.0 page?
>
>there shouldn't be 2.0 page. 2.0 is not out yet. Let's not following
>marketing strategies on this one. Once it's out and there are solid docs
>for it a teaser with a link to those docs is perfect.
>
>BTW, I think once 2.0 is out the features should be added on their own.
>Once you said 'mod_perl is Apache API' you said it all.
Well, if there's such a strong feeling about what I've done, I'll just drop
it. I just spent my time from mifnight to 1 in the morning trying to make
it something, but it's not worth it. Tell me what you *think* is good
enough, and I'll drop the rest.
--
Per Einar Ellefsen
per.einar@skynet.be
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Drew Taylor <dr...@drewtaylor.com>.
At 11:59 AM 6/11/2002 +0800, Stas Bekman wrote:
>Stop for a moment throwing everything in one pile. Ask yourself "What is
>mod_perl?", asnwer it and you will see that many of the things you've
>added are *not* mod_perl. They are things running on top of mod_perl.
>
>mod_perl is:
>
>* Apache API
>* Registry
>* <Perl> sections
>* Persistent database
>* Shared memory
>* threads (2.0)
+1. Agreed. Most people I've told about mod_perl haven't the faintest idea
what it is, so a simple explanation is a better explanation at first. Give
'em the 50k foot|meter view, and then links to the 1k foot|meter view.
Drew
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Stas Bekman <st...@stason.org>.
Per Einar Ellefsen wrote:
>> Please be careful not to overdo here, the size does matter, the other
>> way around.
>
>
> I'll try and do my best, and take another stab at this. I don't however
> want to make things overly simplified: some things should be ok for
> newbies, but some other things are more oriented towards the experienced
> web programmer. For example, to understand "Sessions" you have to have
> some experience: my example was more directed to Java/PHP programmers
> having used sessions before, and might be amazed about how easy it is
> with mod_perl.
I disagree with you, we will end up creating another set of docs. Be
prepared to answer numerous questions regarding this section. I don't
think that was the idea. This is "What's mod_perl", a teaser. For
complete docs we have docs.
> Well, they'll have to learn Perl anyway. The ASP example wasn't
> complicated at all, anyone with 2 minutes programmng experience would
> understand it. I'll extend more on comments as I said above though. For
> the Embperl one, I'll make it easier, removing the DB stuff (the table
> things is most interesting). As for AxKit, there wasn't even any Perl in
> it! XML is the hit of the year, so let's try and drag people into it!
I beg your pardon, let's *not* try and drag people into hyped things.
It's a known thing that I have a very ill attitude towards xml, but my
point is: if there was no perl in in what is it doing in the section
called "What is mod_perl?"
Stop for a moment throwing everything in one pile. Ask yourself "What is
mod_perl?", asnwer it and you will see that many of the things you've
added are *not* mod_perl. They are things running on top of mod_perl.
mod_perl is:
* Apache API
* Registry
* <Perl> sections
* Persistent database
* Shared memory
* threads (2.0)
mod_perl is not:
* Application Frameworks (Axkit, ASP, ...)
>> I think it's better to just say that the feature is available with a
>> link to a proper doc, rather just making the person go confused.
>>
>>>> * Apache 2.0 support
>>>>
>>>> I doubt this is a good title. Of course we support Apache 2.0. This
>>>> is not a feature, this is *the* thing. Remember that after awhile
>>>> 2.0 will be *the* version, so it'd be silly to advertise it as a
>>>> feature. moreover currently 2.0 support is alpha-beta yet.
>>>>
>>>> i suggest to rename it. "Apache 2.0's new features support"
>>>
>>>
>>> Ok. But anyway, once mod_perl 2.0 comes into General Availability (or
>>> whatever we call it), this doc will have to be changed. For now,
>>> mod_perl 1.0 is the king, and mod_perl 2.0 is something people might
>>> want to have fun with.
>>
>>
>> Fun? You are mistaken again. This section is for *newbies* not for
>> those who use mod_perl for years and looking for that kind of fun.
>>
>> Imagine a new person coming to us and we give him this fun. I doubt
>> this person will stay with us. If you want to give fun, give them
>> something that works and something that they will have very little
>> frustration with.
>
>
> This doc isn't a "working examples" page. It's supposed to show basic
> syntax and how *easy* things are. Writing a protocol server with
> mod_perl looks *easy* with Apache::Echo.
Sure, wait till 2.0 is released and then have a section on protocols and
filters.
> Do you have any other ideas for
> the Apache 2.0 page?
there shouldn't be 2.0 page. 2.0 is not out yet. Let's not following
marketing strategies on this one. Once it's out and there are solid docs
for it a teaser with a link to those docs is perfect.
BTW, I think once 2.0 is out the features should be added on their own.
Once you said 'mod_perl is Apache API' you said it all.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Per Einar Ellefsen <pe...@skynet.be>.
At 20:10 10.06.2002, Stas Bekman wrote:
>Per Einar Ellefsen wrote:
>>At 19:38 10.06.2002, Stas Bekman wrote:
>>
>>>Per Einar Ellefsen wrote:
>>>
>>>>I have added sections below "Configure Apache with Perl" (the more >>
>>>>documents).
>>>
>>>
>>>got it:
>>>
>>>* The first example is the code but no config. Are those examples
>>>intented to be just a teaser or fully functional? If the latter we need
>>>to add a sample config section.
>>
>>Well, I was only intending it as a teaser, because I don't want to go
>>creating a complete application using sessions. That handler doesn't do
>>anything, it just shows how easy it is to get session info and use it.
>
>easy to whom? One must wear a newbie hat (perhaps a hat of someone who
>doesn't know perl very well) when designing such a doc.
>
>On the opposite it's very easy to turn the new person away, if things seem
>to complicated (to him!).
>
>Therefore it's probably to present just a little, along the lines that
>Bill has done and explain things.
>
>Please be careful not to overdo here, the size does matter, the other way
>around.
I'll try and do my best, and take another stab at this. I don't however
want to make things overly simplified: some things should be ok for
newbies, but some other things are more oriented towards the experienced
web programmer. For example, to understand "Sessions" you have to have some
experience: my example was more directed to Java/PHP programmers having
used sessions before, and might be amazed about how easy it is with mod_perl.
>>>* The same here:
>>>start/tips/app-servers.html
>>>it's good for slides, but not enough padding for a document. The start
>>>is great, but I believe huge snippets of code without explanation are
>>>bad, unless you use it as a teaser and look-n-feel demo.
>>
>>Once again, I don't want to being explanation. The point is just to show
>>example syntax, which some PHP/ASP/anything-junkies might love.
>>Explanation is good for docs, this is mostly to attract people. Of course
>>I could add a sentence or 2, but I don't want more than that.
>
>what good is example if I don't understand it and the language it's
>written in? talking about ASP, AxKit and other examples.
Well, they'll have to learn Perl anyway. The ASP example wasn't complicated
at all, anyone with 2 minutes programmng experience would understand it.
I'll extend more on comments as I said above though. For the Embperl one,
I'll make it easier, removing the DB stuff (the table things is most
interesting). As for AxKit, there wasn't even any Perl in it! XML is the
hit of the year, so let's try and drag people into it!
>I think it's better to just say that the feature is available with a link
>to a proper doc, rather just making the person go confused.
>
>>>* Apache 2.0 support
>>>
>>>I doubt this is a good title. Of course we support Apache 2.0. This is
>>>not a feature, this is *the* thing. Remember that after awhile 2.0 will
>>>be *the* version, so it'd be silly to advertise it as a feature.
>>>moreover currently 2.0 support is alpha-beta yet.
>>>
>>>i suggest to rename it. "Apache 2.0's new features support"
>>
>>Ok. But anyway, once mod_perl 2.0 comes into General Availability (or
>>whatever we call it), this doc will have to be changed. For now, mod_perl
>>1.0 is the king, and mod_perl 2.0 is something people might want to have
>>fun with.
>
>Fun? You are mistaken again. This section is for *newbies* not for those
>who use mod_perl for years and looking for that kind of fun.
>
>Imagine a new person coming to us and we give him this fun. I doubt this
>person will stay with us. If you want to give fun, give them something
>that works and something that they will have very little frustration with.
This doc isn't a "working examples" page. It's supposed to show basic
syntax and how *easy* things are. Writing a protocol server with mod_perl
looks *easy* with Apache::Echo. Do you have any other ideas for the Apache
2.0 page?
>> "Easily create custom modules that become part of Apache"
>>> "Gain access to all request stages"
>>>
>>>should probably come before registry.
>>
>>True, but as an eye-catcher, the first point would be "Faster CGI" as
>>something people unfamiliar with these whole handler-thingies would tick
>>on. For me, this page isn't anything else than advertising: we're trying
>>to catch programmers and managers alike, and it's most likely they are
>>already running CGI which they want a replacement for.
>
>There are many other competing products that speedup CGIs. The strenth of
>mod_perl is in Apache API not in Registry, even though many people do use
>registry.
As Bill said and Drew said, Apache::Registry seems important to me. You
point at newbies, but newbies are more inclined to know about CGI than
anything related to handlers. They'll learn that along the way.
>>>>>>By the way: src/start/tips/logging.pod isn't used. Should we maybe
>>>>>>delete it?
>>Ok, we drop it then...?
>
>you mean logging? ok, unless someone comes up with a simple easily
>understandable example .
+1.
--
Per Einar Ellefsen
per.einar@skynet.be
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Stas Bekman <st...@stason.org>.
Per Einar Ellefsen wrote:
> At 19:38 10.06.2002, Stas Bekman wrote:
>
>> Per Einar Ellefsen wrote:
>>
>>> I have added sections below "Configure Apache with Perl" (the more >>
>>> documents).
>>
>>
>> got it:
>>
>> * The first example is the code but no config. Are those examples
>> intented to be just a teaser or fully functional? If the latter we
>> need to add a sample config section.
>
>
> Well, I was only intending it as a teaser, because I don't want to go
> creating a complete application using sessions. That handler doesn't do
> anything, it just shows how easy it is to get session info and use it.
easy to whom? One must wear a newbie hat (perhaps a hat of someone who
doesn't know perl very well) when designing such a doc.
On the opposite it's very easy to turn the new person away, if things
seem to complicated (to him!).
Therefore it's probably to present just a little, along the lines that
Bill has done and explain things.
Please be careful not to overdo here, the size does matter, the other
way around.
>> * The same here:
>> start/tips/app-servers.html
>> it's good for slides, but not enough padding for a document. The start
>> is great, but I believe huge snippets of code without explanation are
>> bad, unless you use it as a teaser and look-n-feel demo.
>
>
> Once again, I don't want to being explanation. The point is just to show
> example syntax, which some PHP/ASP/anything-junkies might love.
> Explanation is good for docs, this is mostly to attract people. Of
> course I could add a sentence or 2, but I don't want more than that.
what good is example if I don't understand it and the language it's
written in? talking about ASP, AxKit and other examples.
I think it's better to just say that the feature is available with a
link to a proper doc, rather just making the person go confused.
>> * Apache 2.0 support
>>
>> I doubt this is a good title. Of course we support Apache 2.0. This is
>> not a feature, this is *the* thing. Remember that after awhile 2.0
>> will be *the* version, so it'd be silly to advertise it as a feature.
>> moreover currently 2.0 support is alpha-beta yet.
>>
>> i suggest to rename it. "Apache 2.0's new features support"
>
>
> Ok. But anyway, once mod_perl 2.0 comes into General Availability (or
> whatever we call it), this doc will have to be changed. For now,
> mod_perl 1.0 is the king, and mod_perl 2.0 is something people might
> want to have fun with.
Fun? You are mistaken again. This section is for *newbies* not for those
who use mod_perl for years and looking for that kind of fun.
Imagine a new person coming to us and we give him this fun. I doubt this
person will stay with us. If you want to give fun, give them something
that works and something that they will have very little frustration with.
>> as for the "more", there are *many* new features. i'm working on this
>> doc, hopefully will release it soon, so I'm not sure whether using
>> something that's far from incomplete is good.
>
>
> Again, major changes will come with mod_perl 2.0 stable releases.
>
>> * Also probably a good idea to add "World Wide acceptance" or
>> something like that with links to /outstanding
>
>
> Good idea.
>
>> * Another issue is that while many people come to mod_perl via the
>> registry family, this is not the feature that should come up first,
>>
>> "Easily create custom modules that become part of Apache"
>> "Gain access to all request stages"
>>
>> should probably come before registry.
>
>
> True, but as an eye-catcher, the first point would be "Faster CGI" as
> something people unfamiliar with these whole handler-thingies would tick
> on. For me, this page isn't anything else than advertising: we're trying
> to catch programmers and managers alike, and it's most likely they are
> already running CGI which they want a replacement for.
There are many other competing products that speedup CGIs. The strenth
of mod_perl is in Apache API not in Registry, even though many people do
use registry.
>>>>> By the way: src/start/tips/logging.pod isn't used. Should we maybe
>>>>> delete it?
>>>>
>>>>
>>>>
>>>> May be we can use it, e.g. using Apache::STRLog or what was the name
>>>> of this module people are always looking for? I think it was in the
>>>> eagle book or something like that.
>>>
>>>
>>> ? We could add it to the favicon example.
>>
>>
>> probably not a good idea to make things look more complicated,
>> remember this is for first time users.
>
>
> Ok, we drop it then...?
you mean logging? ok, unless someone comes up with a simple easily
understandable example .
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Per Einar Ellefsen <pe...@skynet.be>.
At 19:38 10.06.2002, Stas Bekman wrote:
>Per Einar Ellefsen wrote:
>>I have added sections below "Configure Apache with Perl" (the more >>
>>documents).
>
>got it:
>
>* The first example is the code but no config. Are those examples intented
>to be just a teaser or fully functional? If the latter we need to add a
>sample config section.
Well, I was only intending it as a teaser, because I don't want to go
creating a complete application using sessions. That handler doesn't do
anything, it just shows how easy it is to get session info and use it.
>* The same here:
>start/tips/app-servers.html
>it's good for slides, but not enough padding for a document. The start is
>great, but I believe huge snippets of code without explanation are bad,
>unless you use it as a teaser and look-n-feel demo.
Once again, I don't want to being explanation. The point is just to show
example syntax, which some PHP/ASP/anything-junkies might love. Explanation
is good for docs, this is mostly to attract people. Of course I could add a
sentence or 2, but I don't want more than that.
>* Apache 2.0 support
>
>I doubt this is a good title. Of course we support Apache 2.0. This is not
>a feature, this is *the* thing. Remember that after awhile 2.0 will be
>*the* version, so it'd be silly to advertise it as a feature. moreover
>currently 2.0 support is alpha-beta yet.
>
>i suggest to rename it. "Apache 2.0's new features support"
Ok. But anyway, once mod_perl 2.0 comes into General Availability (or
whatever we call it), this doc will have to be changed. For now, mod_perl
1.0 is the king, and mod_perl 2.0 is something people might want to have
fun with.
>as for the "more", there are *many* new features. i'm working on this doc,
>hopefully will release it soon, so I'm not sure whether using something
>that's far from incomplete is good.
Again, major changes will come with mod_perl 2.0 stable releases.
>* Also probably a good idea to add "World Wide acceptance" or something
>like that with links to /outstanding
Good idea.
>* Another issue is that while many people come to mod_perl via the
>registry family, this is not the feature that should come up first,
>
> "Easily create custom modules that become part of Apache"
> "Gain access to all request stages"
>
>should probably come before registry.
True, but as an eye-catcher, the first point would be "Faster CGI" as
something people unfamiliar with these whole handler-thingies would tick
on. For me, this page isn't anything else than advertising: we're trying to
catch programmers and managers alike, and it's most likely they are already
running CGI which they want a replacement for.
>>>>By the way: src/start/tips/logging.pod isn't used. Should we maybe
>>>>delete it?
>>>
>>>
>>>May be we can use it, e.g. using Apache::STRLog or what was the name of
>>>this module people are always looking for? I think it was in the eagle
>>>book or something like that.
>>
>>? We could add it to the favicon example.
>
>probably not a good idea to make things look more complicated, remember
>this is for first time users.
Ok, we drop it then...?
--
Per Einar Ellefsen
per.einar@skynet.be
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Stas Bekman <st...@stason.org>.
Per Einar Ellefsen wrote:
> At 17:49 10.06.2002, Stas Bekman wrote:
>
>> Per Einar Ellefsen wrote:
>>
>>> Hi,
>>> I just wanted us to have a complete set of examples for the "What is
>>> mod_perl" section, so I have written up some quick pages for the
>>> remaining items.
>>
>>
>> Great!
>>
>>> Prewview at http://users.skynet.be/pereinar/mod-perl/start/ . Tell me
>>> what you think before I commit.
>>
>>
>> Can you please post a diff? it's hard to see what has changed.
>
>
> I have added sections below "Configure Apache with Perl" (the more >>
> documents).
got it:
* The first example is the code but no config. Are those examples
intented to be just a teaser or fully functional? If the latter we need
to add a sample config section.
* The same here:
start/tips/app-servers.html
it's good for slides, but not enough padding for a document. The start
is great, but I believe huge snippets of code without explanation are
bad, unless you use it as a teaser and look-n-feel demo.
* Apache 2.0 support
I doubt this is a good title. Of course we support Apache 2.0. This is
not a feature, this is *the* thing. Remember that after awhile 2.0 will
be *the* version, so it'd be silly to advertise it as a feature.
moreover currently 2.0 support is alpha-beta yet.
i suggest to rename it. "Apache 2.0's new features support"
as for the "more", there are *many* new features. i'm working on this
doc, hopefully will release it soon, so I'm not sure whether using
something that's far from incomplete is good.
* Also probably a good idea to add "World Wide acceptance" or something
like that with links to /outstanding
* Another issue is that while many people come to mod_perl via the
registry family, this is not the feature that should come up first,
"Easily create custom modules that become part of Apache"
"Gain access to all request stages"
should probably come before registry.
>>> By the way: src/start/tips/logging.pod isn't used. Should we maybe
>>> delete it?
>>
>>
>> May be we can use it, e.g. using Apache::STRLog or what was the name
>> of this module people are always looking for? I think it was in the
>> eagle book or something like that.
>
>
> ? We could add it to the favicon example.
probably not a good idea to make things look more complicated, remember
this is for first time users.
>> As I have suggested before I think we can easily re-use example from
>> the two books and reference to the place they were taken from. Why
>> reinventing the wheel.
>
>
> I mainly re-used the examples from the docs of the modules I used there...
that's cool too.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Per Einar Ellefsen <pe...@skynet.be>.
At 17:49 10.06.2002, Stas Bekman wrote:
>Per Einar Ellefsen wrote:
>>Hi,
>>I just wanted us to have a complete set of examples for the "What is
>>mod_perl" section, so I have written up some quick pages for the
>>remaining items.
>
>Great!
>
>>Prewview at http://users.skynet.be/pereinar/mod-perl/start/ . Tell me
>>what you think before I commit.
>
>Can you please post a diff? it's hard to see what has changed.
I have added sections below "Configure Apache with Perl" (the more >>
documents).
>>By the way: src/start/tips/logging.pod isn't used. Should we maybe delete it?
>
>May be we can use it, e.g. using Apache::STRLog or what was the name of
>this module people are always looking for? I think it was in the eagle
>book or something like that.
? We could add it to the favicon example.
>As I have suggested before I think we can easily re-use example from the
>two books and reference to the place they were taken from. Why reinventing
>the wheel.
I mainly re-used the examples from the docs of the modules I used there...
--
Per Einar Ellefsen
per.einar@skynet.be
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: "What is mod_perl" additions
Posted by Stas Bekman <st...@stason.org>.
Per Einar Ellefsen wrote:
> Hi,
>
> I just wanted us to have a complete set of examples for the "What is
> mod_perl" section, so I have written up some quick pages for the
> remaining items.
Great!
> Prewview at http://users.skynet.be/pereinar/mod-perl/start/ . Tell me
> what you think before I commit.
Can you please post a diff? it's hard to see what has changed.
> By the way: src/start/tips/logging.pod isn't used. Should we maybe
> delete it?
May be we can use it, e.g. using Apache::STRLog or what was the name of
this module people are always looking for? I think it was in the eagle
book or something like that.
As I have suggested before I think we can easily re-use example from the
two books and reference to the place they were taken from. Why
reinventing the wheel.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org