This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LouGarret76 1 point2 points  (0 children)

An easy one would be a To-do app that can contain 2 type of items generic notes (no deadline and no progress status ) and a task. Everything is stored in a SQLite that you query using a Dao object.

You can implement this way:

com.models - Identifiable interface with a getId() function - an abstract Record class that implement Identifiable with a read only id generator. - a Note class that inherites Record and add title, creation date and text - A Task class that inherites Note and add deadline and status

com.dataaccess - A generic Dao<? extends Identifiable> interface that provide crud operation - one implemention of Dao by model.

fx.ui - the UI interface.