CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
Database newbee

 



yapp
User

Mar 6, 2002, 6:39 AM

Post #1 of 4 (2645 views)
Database newbee Can't Post

I'm thinking of getting rid of my flatfile database structure in my forum.

What should I use as database alternative?
- I should be able to transfer the datafiles to a different server
- I can't configure/install something at my remote webhost, so what's defaultly available in perl? (as of 5.004)

Yet Another Perl Programmer

_________________________________
~~> [url=http://www.codingdomain.com]www.codingdomain.com <~~
More then 3500 X-Forum [url=http://www.codingdomain.com/cgi-perl/downloads/x-forum]Downloads! Cool

(This post was edited by yapp on Mar 6, 2002, 6:39 AM)


Jasmine
Administrator / Moderator

Mar 6, 2002, 9:29 AM

Post #2 of 4 (2640 views)
Re: [yapp] Database newbee [In reply to] Can't Post

I'd recommend MySQL, but that really depends on what your host offers. You probably want to contact them to find out what's available on your server.

Perl 5.004... really?


yapp
User

Mar 6, 2002, 11:22 PM

Post #3 of 4 (2634 views)
Re: [Jasmine] Database newbee [In reply to] Can't Post


In Reply To
I'd recommend MySQL, but that really depends on what your host offers. You probably want to contact them to find out what's available on your server.


I don't have that ability. Also my scrips are in public domain. I don't expect anyone to have a MySQL account. Getting an cgi account is difficult enough already. (since f2s.com stopped too) However, the interface/datahandling/user-interface in my programs are clearly separated, so upgrading an entire script to MySQL shouldn't be so much work.

Does perl have any DBI module that can be used everywhere, or is a tied file (tie()) a solution for me?


In Reply To
Perl 5.004... really?

What's the problem with that?

Yet Another Perl Programmer

_________________________________
~~> [url=http://www.codingdomain.com]www.codingdomain.com <~~
More then 3500 X-Forum [url=http://www.codingdomain.com/cgi-perl/downloads/x-forum]Downloads! Cool


Jasmine
Administrator / Moderator

Mar 7, 2002, 12:37 AM

Post #4 of 4 (2633 views)
Re: [yapp] Database newbee [In reply to] Can't Post


In Reply To
Does perl have any DBI module that can be used everywhere, or is a tied file (tie()) a solution for me?

Perl has a horde of [url=http://search.cpan.org/search?mode=module&query=dbd]DBD modules, but they all rely on you having a defined data structure (eg CSV, SQL, LDAP, etc.)

DBM may serve as well, but its implementation varies... just make sure that the source and destination servers offer the same implemenation.



In Reply To

In Reply To
Perl 5.004... really?



In Reply To
What's the problem with that?

According to Tim Bunce (co-author of Programming the Perl DBI) "[url=http://archive.develooper.com/dbi-announce@perl.org/msg00065.html]Perl 5.004_04 is quite buggy relative to, say, 5.005_03 or later...The DBI officially doesn't support Perl 5.004 any more."

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives