LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-26-2014, 12:25 PM   #1
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Database choices for PHP based software?


Hey all.
I have been playing around with nginx lately on my lan, attempting to dive into PHP development again.

When it comes to storing and accessing data, what options are available?

I have never really liked MySQL (or the SQL syntax in general), and i have had hours of headaches trying to write my own flat-file storage system.

I recently looked at SQLite which seems nearer to what i am looking for, although it feels just as awkward as any other SQL database management.

I'm looking for a lean database system (no cruft, no bloat) that can tie in with php/nginx easily. Anyone have ideas/experience with something entirely different to the SQL syntax?
 
Old 05-26-2014, 12:29 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,324

Rep: Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373
Quote:
Originally Posted by coralfang View Post
I have never really liked the SQL syntax in general

I'm looking for a lean database system (no cruft, no bloat)
I have no idea what you mean by "cruft" and "bloat", but how about MongoDB?
 
Old 05-27-2014, 07:14 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,393

Rep: Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774
There's (roughly) 3 ways of 'storing data' in a 'database' that are currently popular.

1. SQL: very handy if you need reliable txns https://en.wikipedia.org/wiki/ACID
2. so-called 'No-SQL' like mongodb - personally I find the syntax a bit fiddly but YMMV
3. flat file - write your own code.

At the end of the day, if its anything other than trivial store/lookup stuff, you're going to have to put some effort in.

I suggest you carry on with your research until you find a method that suits you.

HTH
 
Old 05-28-2014, 05:32 PM   #4
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836

Original Poster
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Quote:
Originally Posted by dugan View Post
I have no idea what you mean by "cruft" and "bloat", but how about MongoDB?
Maybe i worded that wrong
I was trying to say, something like a small library would be more preferable than running a server/daemon/client etc. As the reason why i try to like sqlite more than (for example) MySQL.


Quote:
Originally Posted by chrism01 View Post
There's (roughly) 3 ways of 'storing data' in a 'database' that are currently popular.

1. SQL: very handy if you need reliable txns https://en.wikipedia.org/wiki/ACID
2. so-called 'No-SQL' like mongodb - personally I find the syntax a bit fiddly but YMMV
3. flat file - write your own code.

At the end of the day, if its anything other than trivial store/lookup stuff, you're going to have to put some effort in.

I suggest you carry on with your research until you find a method that suits you.

HTH
Thanks! I will look into NoSQL, i've heard the term before but it wasn't coming up in searches. Cheers.
 
  


Reply

Tags
databases, nginx, php, sql


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Drupal or PHP won't connect to database after database is restarted Skaperen Linux - Software 2 09-23-2011 04:04 PM
Is php based software best for music download website? mixhypnatist Programming 4 09-29-2009 08:49 PM
Software choices oneandoneis2 LQ Suggestions & Feedback 6 08-03-2005 03:39 AM
Suggestions for PHP or cgi-based site stats software infidel Linux - Software 5 05-12-2005 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:51 AM.

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