🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes
Article #369

Re: sqlite, huh ?

#369
From: Retro Guy
Date: Thu, 17 Dec 2020 05:27
21 lines
1623 bytes
On Wed, 16 Dec 2020 15:46:58 -0800
Anonymous <poster@anon.com> wrote:

> So if the code is very similar between rslight and vichan, maybe this
> could be interesting to look at (I mean, maybe I can switch vichan to
> sqlite, using parts of your code. Maybe later...).

PDO may make this easier as that's the point of it:

"provides a data-access abstraction layer for working with databases in
PHP. It defines consistent API for working with various database
systems."

The idea is that the requests are the same, independent of what database
you are using.

I chose sqlite so that the process of needing to install mysql, create
users, create databases (in mysql), set permissions etc. is not
necessary at all.

Retro Guy
Technical Details
Message-ID: <20201216222706.5d13e4af@desktop14.dt>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!rocksolid2!.POSTED.localhost!not-for-mail
References: <20201211185438.0facd5ad@desktop14.dt> <n.1272.3j5yok@anon.com>

Show Full Headers
Complete Article Headers
Message-ID: <20201216222706.5d13e4af@desktop14.dt>
Subject: Re: sqlite, huh ?
Date: Wed, 16 Dec 2020 22:27:06 -0700
From: Retro Guy <retro_guy@retrobbs.rocksolidbbs.com>
References: <20201211185438.0facd5ad@desktop14.dt> <n.1272.3j5yok@anon.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!rocksolid2!.POSTED.localhost!not-for-mail
Newsgroups: rocksolid.nodes
Organization: RetroBBS
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: novabbs.org; posting-account="retrobbs1"; posting-host="localhost:127.0.0.1";
 logging-data="1654"; mail-complaints-to="usenet@novabbs.org"
X-Newsreader: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)