Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DBM Vs Text database.

Status
Not open for further replies.

perlone

Programmer
Joined
May 20, 2001
Messages
438
Location
US
Which is more secure? My site is gonna have atleast 100,000 users so which will be more faster? Also when you use this mode,

dmopen(%hash, "filename", 0644);
$hash{test} = "Test";
dbmclose(%hash);

When you run it on a server, does the database "filename" will be created on the server or the hard disk?
 
I would not suggest using DBM or text files.

I would suggest that you use the Perl DBI. The Perl DBI is a database independant module that allows you to connect to just about any type of database, Oracle, mSQL, Access, mySQL. You name it, it can connect.

Therefore, I highly suggest that you go purchase the book Programming the Perl DBI by O'Reilly. It covers EVERYTHING about database programming with Perl.

One of the most popular databases is mySQL. Most everyone in the PHP world uses it and a lot of people in the Perl world are discovering its speed and power. I highly suggest that you utilize mySQL as the relational database for your site.

Hope this helps,

-Vic vic cherubini
vikter@epicsoftware.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
====
 
I would second that! I use MySQL on several sites I've developed (using the perl DBI interface) and it's fast and easy! The hardest part is learning the SQL syntax, but the MySQL site ( has a very nice reference. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top