ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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 :-)
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)
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.