Re: [RFC] mod_perl Digest path...

2001-01-30 Thread John BEPPU

[  date  ] 2001/01/30 | Tuesday | 01:50 PM
[ author ] G.W. Haywood [EMAIL PROTECTED] 

  unfortunately, there is no easy way to derive a decent plain text
  version from an XML base...
 
 !!!???  That's just plain ridiculous.

I agree.  If there's going to be an HTML version of it somewhere
along the line, couldn't a plain text version be done by doing
something like:

w3m -dump -T text/html  whatever.html  plaintext

XML - X?HTML - plaintext

right?  Am I missing something?



Re: Advice needed. (web app. performance)

2001-01-29 Thread John BEPPU

[  date  ] 2001/01/29 | Monday | 05:52 PM
[ author ] Vladislav Safronov [EMAIL PROTECTED] 

 Where can I find sample code (skeleton code) for such server?
 Would you recommend any other method?

I wrote a little server that wraps around mpg123.  Maybe
the structure of this module will help you out.

http://opensource.lineo.com/cgi-bin/cvsweb/pm/MP3/Daemon/

Check out Daemon.pm and bin/mp3 .
 
 Thanx,
 \Vlad.



Re: Prepare all your statements

2000-06-22 Thread John BEPPU

[  date  ] 2000/06/22 | Thursday | 06:08 AM
[ author ] Rudy [EMAIL PROTECTED] 

 prepare all your database handles only once!  
 read:  perldoc DBI
 vassst improvements will be noticed.  Even if you 
 don't use Perl, the theory is the same.
 
You might want to look into the prepare_cached() method in DBI.





Re: High-volume mod_perl based ecommerce sites?

2000-05-25 Thread John BEPPU

[  date  ] 2000/05/25 | Thursday | 10:28 PM
[ author ] Jason Bodnar [EMAIL PROTECTED] 

 Probably the best way to learn good OO Perl is to learn Java or C++. As
 Gunther said, other languages are much more strict so they force you to
 write good OO stuff. 

I'd hesitate to push C++ on a beginner, but I'm a little
biased.  For an introductory text on what OO is all about,
I would suggest you go to:

http://www.gnustep.org/resources/documentation.html

and get the ObjectiveCBook.pdf.  I'm not asking you to
learn Objective-C, but I think it would be really helpful
if you just read the first chapter of this book which has
one of the best introductions to OO I've ever read.  This
chapter is what really made the idea of OO click for me.
Maybe it will help you understand, as well.

 Definitely read the perltoot (Tom's OO Tutorial). I've heard alot of good
 things about Damian Conway's OO Perl book but I haven't read it myself. The
 advanced perl programming book has a nice section on OO. But, learning OO
 in a Java or C++ context would probably be the best way to start.

I just got Damian Conway's book yesterday, and I think
it would be a good book to have.  I thought I had a good
handle on Perl's capabilities, but this guy really knows 
his Perl like no other.  A lot of it may be too advanced,
but the beginning parts are geared towards newcomers to
OO, so this book will last you a long time.

As for the other suggestions...
I agree with you on perltoot -- I learned a lot from that.
Again, I hesitate to suggest C++.

-- 
my 2 yen