Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Older | Newer

PostgreSQL

Hi There,

I love Mint and have been using it on my personal blog with great results. Unfortunately, with a server move I’m no longer using MySQL as other projects have demanded a move to PostgreSQL.

Are there any plans to port Mint to an abstracted database layer to provide access to non-MySQL databases?

Would you be interested in receiving assistance with such a port? I know Mint isn’t open source, but the source code is available to people using it (such is the nature of the beast, I guess) - would patches against this source be accepted?

Cheers and great work!

Ross

Shaun Inman
Mint/Pepper Developer
Posted on Oct 16, '07 at 01:41 pm

There are no plans to port Mint to any other programming or database languages. Patches would be useless as every individual Pepper would need to patched. You are free to patch your own copy for your own use (but no support can be given for a modified Mint).

jjmaestro
Mint-less
Posted on Jan 12, '08 at 07:19 pm

I don’t get this.

How can it be that every Pepper wiould have to be upgraded if someone patches the core to use a different database (or decides to do some database abstractin layer, which would be good anyways)??

I have not purchased Mint (I was actually thinking of it but only if PostgreSQL support was done or was going to be done), but I certainly was expecting a better designed architecture.

If the plugins are directly dependent on the database used… it really seems that the whole thing was badly conceived. I certainly cannot think why the plugins are so much database dependent. If the API was done properly, the calls would be done to some “db_insert” or whatever function, completely database independent…

I surely am sad, because I have never seen such a wonderful program, both feature and look-wise, but it certainly sucks big time if no-one can easily patch the core and be assured that all the plugins will still work ok.

Please tell me I am wrong and that if I purchase Mint I can hack it a little bit and use it with the most powerful DB available…

Till
Pepper Developer
Posted on Jan 14, '08 at 06:02 am

If MySQL and SQLite/PostgreSQL don’t share their syntax every pepper would need an update.

You can patch Mint by yourself, but the support of another database than MySQL wasn’t planned from the beginning.

If you really need this SQLite/PostgreSQL crap, the easiest way would be a script which rewrites defined script parts after every pepper/mint update. Not that hard.

jjmaestro
Mint-less
Posted on Jan 27, '08 at 08:10 pm

Till,

Did you really have to use the word “crap” in your reply? You should seriously reconsider your use of the English language, especially when using such an adjective to color your impression of a request or idea expressed by a few wanna-be users of Mint.

Now, I know I can patch the source code myself, but I was wondering how could Mint not use a DB-independent approach: even if you only support one database, it doesn’t necessarily mean that you don’t code in a way that allows people to easily adapt your product to other databases.

Even more so when MySQL is known in the DB world for its sad poor record feature-wise… even now with their 5.X releases, just starting to support some real DB features such as transactions, views, etc.

Oh, and by the way, PostgreSQL is actually much more SQL standard with respect to its syntax, so actually supporting MySQL syntax is sure more non-standard in the DB world, but hey, I guess you know better…

Anyways, I will see what I will do… hopefully in the near future Mint will have a light-weight DB abstraction layer… it is not that difficult to code!

Cheers,

Eh. I don’t expect it to happen, Shaun doesn’t do the whole “I’m coding for my users” thing. I just install mysql for mint, it’s not that hard and doesn’t take all that many resources. It’s sad that something as good of an ideas mint was written with such horrible tools as mysql and PHP, but what can ya say, eh? It’s up to the dev, not the users.

Older | Newer

You must be logged in to reply. Login above or create an account