Code Monkey home page Code Monkey logo

Comments (1)

answerquest avatar answerquest commented on June 13, 2024

Hi @dancesWithCycles , this program is developed with python3.
package.json is commonly seen in nodejs applications, not here.

Further details:

  • There is a restful backend api using tornado lib in python
  • For frontend, it's basic HTML / client-side Javascript pages.
  • For populating the content, I did not implement any templating etc - it's only through api calls to the backend.
  • For the "database", it's .h5 files (lookup HDF5 : https://www.geeksforgeeks.org/hdf5-files-in-python/ ), one for each of stops.txt, routes.txt etc. If you start the application without any imported data to begin with, then as you go creating new data, a corresponding .h5 file is created by the backend.
  • Why not a real database : the project's initial requirements/scope included portability - the whole code was desired to be operable off a USB stick without a setup process, hence it wasn't possible to setup and tie the code to a DB server. I did check out SQLite, but came across HDF5 as a faster / more efficient way of storing larger amounts of data. Did a basic benchmarking exercise and found it to be faster, so went with it.

from static-gtfs-manager.

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.