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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-26-2014, 12:25 PM
|
#1
|
Member
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
|
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?
|
|
|
05-26-2014, 12:29 PM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,324
|
Quote:
Originally Posted by coralfang
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?
|
|
|
05-27-2014, 07:14 AM
|
#3
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,393
|
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
|
|
|
05-28-2014, 05:32 PM
|
#4
|
Member
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Original Poster
|
Quote:
Originally Posted by dugan
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
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.
|
|
|
All times are GMT -5. The time now is 05:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|