Git Product home page Git Product logo

crudlets's Introduction

crudlets's People

Contributors

tareqk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

crudlets's Issues

Look into implementing group ownership of objects

Description of Issue

The security model is lacking, there are no user groups or group ownership, just levels.

Related Research(if it exists)

The security model is lacking, sharing is impossible.

Proposed Solution(if it exists)

Implement group ownership/access to objects, for read and list operations, and preserve write operations for the owner and admin.

Create a Thread Pool and Delegate Checking In Connections to the Pool to it

Description of Issue

Checking in connections is causing a time delay because we need to check its validity

Related Research(if it exists)

Testing response time with check in validity checks on database threads shows a huge (50ms at least ) increase in response time

Proposed Solution(if it exists)

implement a thread pool and functions to clean up and release resources without blocking execution.

Error 400 on authorised post

Description of Issue

Posting to the test implementation with authorisation results in an error 400 regardless of the data

Implement a Connections Pool

The current method of connecting to the database(using a singleton class and 1 single thread that dies after a while) is not good enough, nor performing well, and is causing the service to seem down when in fact its just that the thread has not been created yet.

A solution to this would be to implement a database connection pool, which either creates or reuses connections on demand.

The way tokens work is stupid

Description of Issue

Tokens are passed with the JSON data. This is a ridiculous way to work.

Proposed Solution(if it exists)

Separate them.

Deleting returns unexpected results

Description of Issue

Deleting a non-existent entity returns a success message

Proposed Solution(if it exists)

use executeUpdate() instead of execute()

The way errors are handeled is not robust enough

Description of Issue

There is no way to differentiate between a user not being authorised and an object not being found in the database for update and read operations. This is not a good way to go forward

Proposed Solution(if it exists)

We have success responses, failure responses, and null responses. I think i should use them more. For example, a null response for a put operation means the user is not authorized, a fail response means that the object was not found. For reading/listing, null should mean that the object was not found and failure means that the user is not authorized.

Mavenisation

Description of Issue

Building and creating projects based on this framework has gotten cumbersome

Related Research(if it exists)

Maven solves dependency fetching

Proposed Solution(if it exists)

Mavenise this project

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.