Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 08:50:45 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155441 Posts in 21702 Topics by 7732 Members
Latest Member: Smacki
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Possible to install WebsiteBaker with text database instead of mysql?  (Read 439 times)
electric

Offline Offline

Posts: 3


« on: September 22, 2008, 03:22:14 PM »

Hello,

I would like to use WebsiteBaker on a few hosting accounts that do not have MySql.  Is it possible to use a flat-file database instead?

ie: SQLite

I have not looked into the code, but I don't know if perhaps the database functions are abstracted so that we can use any other database?

If not, would it be very difficult to do this?

Thanks!
Logged
vyni

Offline Offline

Posts: 566


« Reply #1 on: September 24, 2008, 05:34:46 PM »

Hi electric,

I don´t know for sure, but I´m afraid it´s impossible to use WB without MySql. But if You plan to run it on a few accounts without MySql - what about Sql-Server sharing? -  You propably have somewhere a "full-account" otherwise You wouldn´t use it at all. You could share the SQL-server from this account ?

Or look out for a free-hoster, feed a "dummy-page" and use this SQL-Server.

regards from Himberg, nearby Vienna
Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
electric

Offline Offline

Posts: 3


« Reply #2 on: September 24, 2008, 06:10:00 PM »

Actually, the reason I am asking is because I'd like to "wrap" my application ( a gallery script) around websitebaker.

Many of my clients do not have a hosting account that includes MySQL, so I need some kind of cms that can use only text files.

PHP 5 has sqlite built-in that can do this, and there are a few "text database" classes for older versions of PHP.

All of them can take standard SQL and use normal text files as the database...  the "trick" is that the script/application must be abstracted from the database calls, so that the alternative "db" can be used.

I hope that makes sense.  Basically, instead of hardcoding mysql PHP functions into websitebaker, what is needed is to use generic "query" and "update" functions, which then call the specific function for whatever database type is being used... whether it's mysql, oracle, mssql, or sqlite or any other SQL standards-compliant architecture.

But I guess this is not possible with websitebaker.  Smiley

Thanks!
Logged
albatros

Offline Offline

Posts: 674


WWW
« Reply #3 on: September 24, 2008, 06:35:28 PM »

Is it possible to use a flat-file database instead?

Hi,

this would be a very nice feature!

Maybe this is somthing, you could use instead: http://www.cmsimple.com/.

hth

albatros
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!