benjaminholland / cst-338-project-1 Goto Github PK
View Code? Open in Web Editor NEWEducational Database System
Educational Database System
Queries on Database are inconsistent in their error handling behavior. Single result queries throw exceptions, while the multiple-result getTeachersByEmail returns a stream of 0 elements.
Either getTeachersByEmail should throw a EntityNotFoundException if the stream contains 0 elements, or the getById(Integer) methods should return an Optional<> or a null.
Each record in the linkStudentCourse table should have an associated Double field "Score" that keeps track of the students score in the class.
As per email.
select* does not conform to the CRUD mental model, nor does the way the enrollment score and course location updates are handled.
select* methods and related tests should be renamed to read*, and the following methods created and tested:
updateEnrollmentScore(Integer studentId,Integer courseId)
updateCourseLocation(Integer courseId,String newLocation)
DataFile should be able to read file contents without caching the entire data set.
Steps to implement:
The way the single teacher per class restriction is implemented does not conform to the rest of the database api. This situation should throw an exception that can be handled by the caller like all of the other linkage error states.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.