Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Jim Janney Newsgroups: comp.lang.java.programmer Subject: Re: How is this "pattern" called? Date: Fri, 18 May 2012 10:03:04 -0600 Organization: he sent them word I had not gone Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: mx04.eternal-september.org; posting-host="PnllQd880uOddfy6hsxHuQ"; logging-data="1301"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Uuz2mfrOgeVIFvFgY0dqe" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:zSD0YF/CxRgtKcAu1z+oK+SlwWU= sha1:cb9BDtuy9zGISXx2XOSR5WJ2JdU= Xref: csiph.com comp.lang.java.programmer:14622 ram@zedat.fu-berlin.de (Stefan Ram) writes: > In the MVC pattern, I think, M, V, and C should be at least > one non-innner class each? > > I often have seen (possibly, especially in beginner code) a > coding pattern, where there is only one single non-inner class: > the model. > > The listeners and the view then are embedded into this > model, possibly, as inner classes. It's not really MVC > as the observer pattern is not used for decoupling. > > So, to code a simple Java-GUI application, one just writes > a single class with the model and the controllers as inner > classes and no observer pattern for model-view decoupling. > Is there a name for this simple design? > > What about »the bulk-class pattern«? Or »the naive GUI pattern«? Big Ball of Mud seems to fit: http://laputan.org/mud/ -- Jim Janney