Saturday, 31 October 2015

Dev things I did today, Fri 30/10/15

experimented with grlDictionary, watching how the internal array of associations filled up, and automagically got bigger when full

added poolId and accessors to Bout

added roundId and accessors to Round and to Pool

Round now knows what Round it is.  Pool now knows what Round it belongs to.

So how to use the pools object in Round.  It should be a dictionary of Pool objects, keyed on poolId.


==========
What is the lowest level that is useful?

A list of fencer names.

Input a list of fencers names, and store them as fencers.

idea:
A shortcut for setting up single event competition, that automatically fills up the event data from the competition data entry

A pool.

A dictionary of bouts, each with a dictionary of boutScores

Something that will write the
pool html index file

And write the pool's Referee files

========

added competitionId and eventId to Round
added competitionId and events to Competition
added eventId and rounds to Event
added accessors for name startDate to Competition
amended  boutNumber to boutNum in BoutScores
added competitionId and eventId to Pool
added FencerRound class
added wins, draws, defeats, hitsScored, hitsReceived, indicators, rank, fencerId, roundId, poolId to FencerRound

Installed latest Seaside on Pharo 4.  Installed Gawain-Directoire on Seaside.  Installed

Set up my first component/webpage on Seaside.

Create a Root component from WAComponent.  Set (class attribute) canBeRoot to ^true
Created a renderContentOn: method that writes the HTML.













No comments:

Post a Comment