Showing posts with label programming environment. Show all posts
Showing posts with label programming environment. Show all posts

Thursday, June 9, 2011

Squeak MVC

At squeak.org the blurb for 4.2 says
  and legacy MVC support
but the first test that I make gives a ScheduledControllers that is nil.
Both BitEditor and FormEditor appear unusable.
I looked in Monticello and the Universe browser but I see no relevant package to retrieve.
The package ToolBuilder-MVC retains this gem:
isActiveBuilder
"Answer whether I am the currently active builder"
"This is really a way of answering whether 'Smalltalk isMVC'"
ScheduledControllers ifNil:[^false].
So something is amiss.  I am looking for a dependency framework - events, or Announcements or whatever in this image.

In Kernel-Objects package the Object class has a class variable DependentsFields.

In Kernel-Model package Model has an instance var named dependents.

But I see no tests for MVC.

There had been a Tweak package and a code.google.com project to revive MVC in Squeak.  Perhaps more interesting is Announcements in Pharo and the coming changes to Model-View-Presenter in Dolphin Smalltalk.

Abstractions are needed.  MVC could be complex and Morphic seems best for direct manipulation rather than for traditional GUI applications.  I like the admissions made at Dolphin for their candor - and I like working in Dolphin when all that I need is a Windows app or tool over at http://apps.logiquewerks.com/ST

note:  the method >>isMVC  is not available.

BUT.  There is an answer.  You need to start a new project which is an MVC project.

And now you are in as old a Smalltalk as you can imagine: an ST-80.  Oh vey.  This is not offering an MVC option.  This is a collapsible Model-A in the cargo space of your auto-plane.

This is not Smalltalk the programming environment, but Smalltalk the split-environment for a house divided among partisans, some laboring under a tax of 90%, some under a flat-10%.