🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.st80
Article #252

simple MVC example

#252
From: Mike Caplinger
Date: Sat, 12 Apr 1986 02:56
14 lines
993 bytes
Does somebody have a simple example of an MVC?  I'd like something that
actually waits for sensor events -- say, an editor for a collection of lines,
where the user would click two endpoints to add a line to the model.

I think I've got the View and the model down, but I'm a bit confused about
what the Controller would look like.

I sure wish the PARC guys would write the fourth book!

	thanks,

	Mike Caplinger
	mike@bellcore.arpa
	ihnp4!bambi!mike
Technical Details
Message-ID: <408@bambi.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!harvard!talcott!panda!genrad!decvax!bellcore!petrus!magic!science!bambi!mike

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!harvard!talcott!panda!genrad!decvax!bellcore!petrus!magic!science!bambi!mike
From: mike@bambi.UUCP (Mike Caplinger)
Newsgroups: net.lang.st80
Subject: simple MVC example
Message-ID: <408@bambi.UUCP>
Date: Fri, 11-Apr-86 21:56:11 EST
Article-I.D.: bambi.408
Posted: Fri Apr 11 21:56:11 1986
Date-Received: Mon, 14-Apr-86 02:33:41 EST
Distribution: net
Organization: Bell Communications Research Inc., Morristown, NJ
Lines: 14