cjeffers / stealthmode

Quiz website for CS 108 final project
0 stars 0 forks source link

Implement AbstractModel API #17

Open cjeffers opened 10 years ago

cjeffers commented 10 years ago

Read the relevant wiki sections.

Go ahead and implement as many of the functions as you can, make sure to document the hell outta them. Also rank them, so I know what order to write tests.

Add any thoughts you have to this thread.

@jrvangogh

jrvangogh commented 10 years ago

Getting to work on this now. Starting with getWhere and then doing the getBy___ methods.

jrvangogh commented 10 years ago

Actually, I guess first I need to implement the instance variables for AbstractModel, like the Hash map and what not. So I guess I'll start with the instance methods, like getValue.

jrvangogh commented 10 years ago

Constructors, getter, and setter implemented. Moving onto static querying methods before save/delete

cjeffers commented 10 years ago

I uploaded some stuff, you might wanna merge in master to your branch before doing too much more. Basically I took the table and column names out of the prepared statement line. The way to get that stuff is as follows (from your computer): git checkout master git pull git checkout juicy/abstract_model git merge origin/master

cjeffers commented 10 years ago

Could you also do the getAll() method? That'll come in handy for Ben

jrvangogh commented 10 years ago

I wasn't really able to get any work in yesterday. I guess I didn't really understand what you said as much as I thought I did. Deleting .project/.classpath prevents easily importing stealthmode. What's the best way to add it to Eclipse?

On Wednesday, March 5, 2014, cjeffers notifications@github.com wrote:

Could you also do the getAll() method? That'll come in handy for Ben

Reply to this email directly or view it on GitHubhttps://github.com/cjeffers/stealthmode/issues/17#issuecomment-36722246 .

cjeffers commented 10 years ago

Yeah it's causing me nightmares too. I dunno. One thing you can do is checkout an older branch that has them, then copy them into a different folder, then checkout the branch your working on and copy them back. It's a bandaid fix, but I think that's what we'll have to do until all the branches have them gitignored.

On Wed, Mar 5, 2014 at 11:39 AM, jrvangogh notifications@github.com wrote:

I wasn't really able to get any work in yesterday. I guess I didn't really understand what you said as much as I thought I did. Deleting .project/.classpath prevents easily importing stealthmode. What's the best way to add it to Eclipse?

On Wednesday, March 5, 2014, cjeffers notifications@github.com wrote:

Could you also do the getAll() method? That'll come in handy for Ben

Reply to this email directly or view it on GitHub< https://github.com/cjeffers/stealthmode/issues/17#issuecomment-36722246>

.

Reply to this email directly or view it on GitHubhttps://github.com/cjeffers/stealthmode/issues/17#issuecomment-36784069 .

Cameron Jeffers B.A. Candidate | Linguistics Stanford University | Class of 2014