Giter Club home page Giter Club logo

Comments (5)

jansmolders86 avatar jansmolders86 commented on May 28, 2024

Sounds like a great improvement and I've put it on my todo list. If you are willing I would really appreciate your support/involvement

from mediacenterjs.

jansmolders86 avatar jansmolders86 commented on May 28, 2024

I've chosen SQLite as the database and the next big update will feature a complete overhaul with complete database support.

from mediacenterjs.

jupe avatar jupe commented on May 28, 2024

Could you create separate "layer" between application and sqlite library to
make it easy to change database (e.g. mongoose).. I've created dedicated
branch already for mongodb, so it could be starting point (
https://github.com/jupe/mediacenterjs/tree/music-with-mongodb ) .
Anyway, I would choose the type of database NoSQL for this purpose..
However, if you select noSQL database, I would recommend
mongoosehttp://mongoosejs.com and
tingodb https://github.com/sergeyksv/tingodb . Both uses exactly same api
so users can decide which one to use... and because mongoDB stores
JSONhttp://en.wikipedia.org/wiki/JSON-like
documents with dynamic schemas it is much easier to further develop
mediacenterjs as well...

2013/7/25 jansmolders86 [email protected]

I've chosen SQLite as the database and I the next big update will feature
a complete overhaul with complete database support.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-21556348
.

from mediacenterjs.

jansmolders86 avatar jansmolders86 commented on May 28, 2024

Currently I rebuild the music and movie app with a sqlite database attached.
Please check if this is somewhat to your liking.

I used the dblite module (https://github.com/WebReflection/dblite) because it works tremendously with the raspberry pi and other ARM systems and there is also no need to use nde-gyp to install it. I also what to keep the the install procedure relatively easy for people new to nodejs.

from mediacenterjs.

jackinloadup avatar jackinloadup commented on May 28, 2024

If possible it would be nice to allow the database to be interchangeable within reason. It's nice to allow new people to test out the software with sqlite and implement a more robust database when desiring more performance. just my thoughts thought.

@jansmolders86 are you currently running this on a raspberry pi? Could you detail your setup? I'm curious.

from mediacenterjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.