RE: :) What you can't do in java you can do in perl

  • From: "Orr, Steve" <sorr@xxxxxxxxxxxx>
  • To: <jreyes@xxxxxxxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 29 Sep 2004 15:47:23 -0600

I've used the cx_Oracle module to connect Python to O10g no problem.

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Juan Carlos Reyes
Pacheco
Sent: Wednesday, September 29, 2004 3:45 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: RE: :) What you can't do in java you can do in perl


Thanks to every one

Why there aren't driver to connect to phyton to 10g, I think there
should be

I search in google phyton "oracle 10g" and I can't find.
or phyton has another way to connect ???? how please??
=20
=20
Juan Carlos Reyes Pacheco
OCP
-------Original Message-------
=20
From: amolinaro@xxxxxxxx
Date: 09/29/04 17:34:09
To: sorr@xxxxxxxxxxxx; jkstill@xxxxxxxxx
Cc: oracle-l@xxxxxxxxxxxxx
Subject: RE: :) What you can't do in java you can do in perl
=20
Steve,
I'm with you (thought I'd jump on your side before the perl sheep all
gang up on ya). Now, if you're a dba, which I'm sure most of the listers
are (I pity you), then by all means, use perl (have fun). But, for us
developers, well, python is just... Better. Period. You can really do
some nice things like OO programing ,functional programming, pass
functions as parameters to other functions, etc... Cool stuff.=3D20
=20
For a developer, if you needed scripting done, shell+sed+awk was great.
C is beautiful for systems programming. Java is cool for web apps.
Python for everything else (and for taking over your old shell/sed/awk
stuff). Perl, has it's place in DBA land and should stay there.
=20
That's not to say Perl isn't a great tool, it is, but, we have your toys
and you have yours.
=20
Anthony Molinaro
DB developer, OCP 8,8i,9i (so I can argue with dba's),
python-protagonist, hater of the NATURAL JOIN syntax=3D20
=20
-----Original Message-----
From: Orr, Steve [mailto:sorr@xxxxxxxxxxxx]=3D20
Sent: Wednesday, September 29, 2004 5:07 PM
To: jkstill@xxxxxxxxx
Cc: oracle-l@xxxxxxxxxxxxx
Subject: RE: :) What you can't do in java you can do in perl
=20
=20
> DBI is the best open source database interface available.
Having done both Perl and Python I'll concede that DBI DBD::Oracle is
superior. But the Python equivalent has been good enough for my
purposes. Attesting to Python's glue-between-systems-and-software
capabilities (like Perl), someone has developed a Python interface to
DBI. It doesn't seem to be used much in the Python community and it
seemed too weird so I never looked into it.=3D3D20
=20
Steve Orr
Certifiable, former Perl dude, burgeoning Pythonista, Perlmonger
executioner :-)
=20
=20
Btw, I've used and even developed my own HTTP web servers in Python. (I
demo'd it in my IOUG presentation.) Where can I find such a thing in
Perl?
=20
=20
=20
=20
-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Jared Still
Sent: Wednesday, September 29, 2004 1:17 PM
To: Orr, Steve
Cc: ryan_gaffuri@xxxxxxxxxxx; breitliw@xxxxxxxxxxxxx;
oracle-l@xxxxxxxxxxxxx
Subject: Re: :) What you can't do in java you can do in perl
=20
=20
On Wed, 29 Sep 2004 12:53:50 -0600, Orr, Steve <sorr@xxxxxxxxxxxx>
wrote:
> Avoid CGI if performance is an issue. You can get some really =3D
good=3D3D20=3D20
> performance with mod_python (or mod_perl). I did a benchmark test with
=20
> mod_python with connection pooling where I could re-use parsed =3D
SQL=3D3D20
=20
>with bind variables and I got an orders of magnitude boost in=3D3D20 =
=3D20=20
>performance. =3D3D20
=20
I've been tempted to try Python, but have had no compelling reason.
=20
If there was anything to compete with Tim Bunce's DBI and DBD::Oracle
modules, I would give it a try. But there isn't. DBI is the best open
source database interface available.
=20
--=3D3D20
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
--
//www.freelists.org/webpage/oracle-l
=20
--
//www.freelists.org/webpage/oracle-l
--
//www.freelists.org/webpage/oracle-l
--
//www.freelists.org/webpage/oracle-l

--
//www.freelists.org/webpage/oracle-l

Other related posts: