LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-19-2004, 06:20 PM   #1
Chrax
Member
 
Registered: Apr 2004
Distribution: Dapper
Posts: 167

Rep: Reputation: 31
Database for a Wiki


I'm planning on writing a rather simple Wiki (actually, in its final implementation, it should be a base from which it would be trivial to create a wiki or a blog) in perl, but I don't much feel up to making my own database.

What I need is a very small, lightweight database, and I wondered what advice I could get.

Thanks.
 
Old 12-19-2004, 06:22 PM   #2
hypexr
Member
 
Registered: Oct 2003
Location: USA Fresno Callifornia
Distribution: Gentoo (workstation), ArchLinux (file/mail server), Freebsd (web server), Ubuntu (laptop)
Posts: 115

Rep: Reputation: 16
I would think that MySQL would be a perfect database to do this with.
 
Old 12-20-2004, 10:57 AM   #3
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
Software development these days is all about component reuse, unless you want to learn how to implement a database for practice or fun I suggest use MySQL or other free DBs.
Look for my website in my signature, it's a wiki I implemented with JSP/Servlet and MySQL. Have fun with your development :-)
 
Old 12-20-2004, 04:47 PM   #4
aluser
Member
 
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557

Rep: Reputation: 43
you might want to check on CPAN that you aren't duplicating somebody's work -- CGI::Kwiki sounds like what you are planning to build, and I think there are one or two others mentioned in the kwiki docs or web pages. If you still want to go ahead on your own, you should check out how they do things. There is usually some effort made to make the project not be specific to just one database through the use of "plugins."

DBI should make access to mysql, postgresql, and perhaps sqllite and some other sql databases roughly equivalent (at least for simple operations)
 
Old 12-20-2004, 04:49 PM   #5
aluser
Member
 
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557

Rep: Reputation: 43
oh yeah, for rolling your own database you might find that the filesystem works pretty well -- this is what kwiki does by default. You can perform "queries" with grep
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wiki: Show Printable Version / printer friendly version / wiki page setup Emmanuel_uk LQ Suggestions & Feedback 1 10-24-2005 08:09 AM
Wiki abhijeetudas Linux - Software 2 08-26-2005 12:46 AM
which wiki? stabu LQ Suggestions & Feedback 16 08-19-2005 03:05 PM
tutorial on wiki wiki web alix123 Programming 1 04-02-2005 02:08 PM
wiki: supposed to use the same wiki namespace? liquigel LQ Suggestions & Feedback 1 03-07-2004 10:11 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration