Re: [AOLSERVER] perl (nsperl? DBD::AOLserver? etc.)

2006-05-23 Thread Dossy Shiobara
On 2006.05.22, 'Jesus' Jeff Rogers [EMAIL PROTECTED] wrote:
 If there was a DBD interface to the Ns_Db functions that would make
 aolserver a *schweet* environment for perl apps since there is no
 database pooling on apache.

Oh, interesting.  This is definitely going on my TODO list --
DBD::AOLserver ... neat.  Of course, testing it will require having the
nsperl thing you've done to run Perl scripts inside the nsd.  Have you
made your stuff publically available somewhere?

-- Dossy

-- 
Dossy Shiobara  | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] perl (nsperl? DBD::AOLserver? etc.)

2006-05-23 Thread Jeff Hobbs
Dossy Shiobara wrote:
 On 2006.05.22, 'Jesus' Jeff Rogers [EMAIL PROTECTED] wrote:
  If there was a DBD interface to the Ns_Db functions that would make 
  aolserver a *schweet* environment for perl apps since there is no 
  database pooling on apache.
 
 Oh, interesting.  This is definitely going on my TODO list -- 
 DBD::AOLserver ... neat.  Of course, testing it will require 
 having the nsperl thing you've done to run Perl scripts 
 inside the nsd.  Have you made your stuff publically 
 available somewhere?

Anyone considering binding Tcl and Perl at the C level should look at the Tcl
module for Perl, latest version at:
http://search.cpan.org/~vkon/Tcl-0.89/Tcl.pm

This has the highest efficiency, correct binding of Perl SVs to Tcl Tcl_Objs,
because I wrote it.  ;)  While you likely want the reverse (like Fontaine's
tclperl extension), the C translation of SVs to Tcl_Objs should still apply.

Jeff


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] perl (nsperl? DBD::AOLserver? etc.)

2006-05-23 Thread Jeff Rogers

Dossy Shiobara wrote:

On 2006.05.22, 'Jesus' Jeff Rogers [EMAIL PROTECTED] wrote:


If there was a DBD interface to the Ns_Db functions that would make
aolserver a *schweet* environment for perl apps since there is no
database pooling on apache.



Oh, interesting.  This is definitely going on my TODO list --
DBD::AOLserver ... neat.  Of course, testing it will require having the
nsperl thing you've done to run Perl scripts inside the nsd.  Have you
made your stuff publically available somewhere?


I haven't previously, but I could.  It's not really in the nicest state 
however (not well documented, sloppy comments (where they exist), etc). 
 I pretty much started from Fontaine's tclperl (v2.3 I think) and added 
in thread-safety and better handling of SVs (I haven't compared to Jeff 
Hobbs's work on Tcl.pm) and wrote a little wrapper for use in aolserver.


I put it at
http://home.diphi.com/users/jeffr/nsperl/nsperl.tar.gz
for now, but a more permanent home would be better (once it's cleaned 
up, naturally).


-J


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.