Coder Social home page Coder Social logo

openpds's People

Contributors

0xdevalias avatar brian717 avatar fumingshih avatar iluminite avatar jbsmith avatar jdschmitz avatar jdschmitzmedia avatar pdeegan avatar sharonmp avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

digideskio

openpds's Issues

remove MongoDB

It's not that we don't love Mongo, but that it's adding too much complexity to the code. Please checkout a new branch and get this running with just sqlite and postgres.

integration test connector data insertion

Decide on an testing framework and start testing data insertion. Since this is going directly into the DB (and not using ORM), you'll need to write some SQL script to remove the data after it's been inserted.

Create orthogonal database connections

SQLite, Mongo, and Postgres are all tightly connected in a big oms_pds/pds/internal.py file right now. This "SQLiteInternalDataStore", "PostgresInternalDataStore", "InternalDataStore", "DualInternalDataStore" stuff is maddening.

Please make separate files for each type of DB, import it into internal.py, and let a single "InternalDataStore" class use those methods.

refactor oms_pds/pds/internal.py

This is a mess. We should just cut out support for Mongo at this point, and focus on the postgres db, since this is what datahub will be using.

sqlite should stay (for the time being), just for testing purposes, but there's no need to do any significant work here.

Refactoring of Labs

This is a placeholder, so that you know that I know that the labs' code is incredibly disorganized right now. In an ideal world, each labs' code would be orthogonal, and there would be a few lab helper classes that they could call. (Location helpers, for instance.)

For now, we're putting off these improvements. Once openPDS is tightly connected with DataHub, many of the group queries will be run on the database, and much of the lab code won't be useful anymore. Then, we'll refactor.

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.