Skip to content

Commit

Permalink
writing todo
Browse files Browse the repository at this point in the history
  • Loading branch information
dsikkema committed Feb 13, 2017
0 parents commit c6a0214
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders

# Eclipse Core
.project

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# PyDev specific (Python IDE for Eclipse)
*.pydevproject

# CDT-specific (C/C++ Development Tooling)
.cproject

# JDT-specific (Eclipse Java Development Tools)
.classpath

# Java annotation processor (APT)
.factorypath

# PDT-specific (PHP Development Tools)
.buildpath



# sbteclipse plugin
.target

# Tern plugin
.tern-project

# TeXlipse plugin
.texlipse

# STS (Spring Tool Suite)
.springBeans

# Code Recommenders
.recommenders/

build
9 changes: 9 additions & 0 deletions src/Run.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

public class Run {

public static void main(String[] args) {
// TODO Auto-generated method stub

}

}
Empty file added src/commands.json
Empty file.
30 changes: 30 additions & 0 deletions todo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Features
# commands to CRUD library books
# command: get books by author

Framework and tech debt
# build extensible CLI framework

commands.json maps command names to command class names. Command classes must
implement command interface and provide execute method, which CLI framework calls.

Each command calls to service layer, and service layer interacts with the ORM.
# Collections do filtered queries:
given attribute, comparison type (less than, equal to, and greater than), and comparisonValue

(also possible with activeRecord model, coupled to DB, if expose setId publicly or
as package private).

# Use builders, repositories, and collections?

Client only uses repository, collection. Client cannot change entity ID.

ID is set in constructor only: if you provide ID in constructor, you must also
provide every other value so that object is immediately saveable. Constructor only
called by builder, builder only called by repository and collection.

Entity has two constructors: empty and with all attributes included.

# everything tested


0 comments on commit c6a0214

Please sign in to comment.