A rudimentary Activity Planning example with MVC
with and without DCI


This example is a very rudimentary activity planning application that demonstrates the use of MVC and DCI in combination. There is no user data input; the example network is hard coded.

Two versions of this application will be discussed here. The versions are opened in Squeak from the World Menu>open>BB4xPlan, where x is a or b.

Both versions are identical from the user’s point of view. Both open a window with two Views as shown in the figure below. The top view is a dependency graph that shows the activities with their technological dependencies. The duration of each activity is given in parenthesis after the activity name. The bottom view shows a Gantt diagram with the frontloaded activities laid out along the time axis.

Picture of user interface

Three operations are realized as menu operations:

The code can be studied in situ in Squeak/DCI (BabyIDE.ZIP) or in the HTML-files

BB4aPlan listing.
BB4bPlan listing.