Giter VIP home page Giter VIP logo

kga-database's Introduction

kga-database

Create and Test Database

Instructions to create and test the database are located in kga-database/scripts/README.md.

Relational Notation

Symptom(symptom_id, name, description)

Remedy(remedy_id, name, description)

Ailment(ailment_id, name, remedy_id, symptom_id)

Material(material_id, name, description)

PlantType(type_id, name, description, ailment_id, material_id)

Project(project_id, name, description)

LifeCycle(state_id, name, description)

Plant(plant_id, planted_date, project_id, type_id, state_id)

Functional Dependencies

{ plant_id } -> { planted_date, project_id, type_id, state_id }

{ project_id } -> { project_name, project_description }

{ type_id } -> { type_name, type_description, ailment_id, material_id }

{ ailment_id } -> { ailment_name, symptom_id, remedy_id }

{ symptom_id } -> { symptom_name, symptom_description }

{ remedy_id } -> { remedy_name, remedy_description }

{ material_id } -> { material_name, material_description }

{ state_id } -> { state_name, state_description }

Entity Relationship Diagram

image

Narrative

The original designs given to us by the entrepreneur do not fit very well for a database in a mobile app. These designs show multiple databases separated into different topics and chapters, much like a book. This book layout would not be useful for an app because it restricts the information too much. Users like to navigate to whatever information they currently need, not read everything in order like chapters in a book.

Instead, the new design that we are proposing is for one database that is separated into several tables, like a Plants table, an ailments table, and a materials table. These tables would be connected together, allowing users to search for the specific information that they want. For example, if a user wanted to just look at ailments for a specific plant like a rose, they could search for rose ailments without having to look through materials. This allows each individual user to use the app how they want, searching for what they need at that moment.

We feel that our proposed solution would work better than the initial designs because it is a more appropriate structure for a mobile app. This would be more along the lines of what users would be used to from other apps instead of the book format that was proposed. The tables design would be better because there is not much point in implementing a database for an app if it will just be structured like a book. The entrepreneur should consider making the app with our plans for the database instead, as it fits the strengths of a database.

kga-database's People

Contributors

ag4790 avatar dmb4086 avatar ethanrusz avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ethanrusz

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.