Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!usenet.ukfsn.org!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: Best Way to Pass Info Between Objects? Date: Tue, 10 Jan 2012 02:24:46 +0000 (UTC) Organization: UK Free Software Network Lines: 42 Message-ID: References: <4dWdnRF6pOQcUJTSnZ2dnUVZ_vidnZ2d@earthlink.com> NNTP-Posting-Host: 84.45.235.129 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: localhost.localdomain 1326162286 13886 84.45.235.129 (10 Jan 2012 02:24:46 GMT) X-Complaints-To: usenet@localhost.localdomain NNTP-Posting-Date: Tue, 10 Jan 2012 02:24:46 +0000 (UTC) User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11154 On Mon, 09 Jan 2012 17:28:38 -0500, Jeff Higgins wrote: > On 01/09/2012 02:30 PM, Jeff Higgins wrote: >> On 01/08/2012 01:22 PM, Novice wrote: >>> Patricia Shanahan wrote in >>> news:4dWdnRF6pOQcUJTSnZ2dnUVZ_vidnZ2d@earthlink.com: >>> >>>> On 1/8/2012 8:41 AM, Novice wrote: >>> >>> Thanks everyone for the suggestions. Obviously, I'm going to need to >>> increase the size of my Java library and allocate some time for >>> reading all all of these things.... >>> >>> But in the meantime, are there any general rules I can use to make >>> these decisions for code I am developing now? Or do I really need to >>> master several books first? >>> >> Now that you are sufficiently interested in data modelling and software >> design methodologies: here is a good, fast, cheap jumping in point. >> >> It will even do Swing databinding with some extra work (I gather). >> > Someone may want to start with designing the UI and then add the data > model. > If the data model hasn't been specified that's often the best way to go about it. Its like the way we used to design tape based systems before those new-fangled design methodologies appeared: Start by designing the output (typically printed reports) and then work back to design the master file(s), adding keys etc as needed to get the file ordering right. Following that, you could say what the inputs needed to be knowing that you hadn't left any data items out or included any that weren't needed. I find the same approach works equally well for interactive systems. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |