Giter Club home page Giter Club logo

ccmfinalproject's Introduction

CCMFinalProject

A final project for my CCM class CMP233- Data Structures

The goal of this program is to allow a user to create/read/update a private calendar with a list of events. These events have certain priority levels and due dates which can be used to sort the list events. Since this is a web application, there is no main class. The classes are created/instantiated based on their scope. The first class that will be access by the user is the LoginController. This class’ responsibility is to create users and to track the current user. Its boolean, isLoggedIn, is user to render certain page aspects. The next two classes which will be created are the Login and Registration validators. These RequestScoped classes intercept the the call to the login controller’s methods in order to first verify that the user has enter the proper values. The login controller checks to see if a user exists in the database while the registration controller makes sure the account isn’t already taken. The next two classes, ListController and CalendarController, control the data (retrieving, updating, sorting) that is backing the two page UIComponets: the datatable and the calendar. Finally, the User and Event classes are used to store user and event data in a datebase. A user object contains a List of all the Event objects that belong to them. All of the classes so far have utilized the DatabaseService. They obtain an instance through class dependency injection. The DatabaseService interacts with the database through the Java Persistence Architecture. It uses pre-created parameterized queries to retrieve data from tables and map them to java entity classes.

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.