RE: [TFUI] Start simple
"Ryder, Phran (Manchester _SDC)" <[email protected]> Fri, 30 Dec 2005 15:37:42 -0000
| Newsgroups | gmane.comp.programming.test-first-user-interfaces |
|---|---|
| Message-ID | <C1E84CB2E873D61180130008C791F2940B6B3612@EXCRSLTSBNET007> |
Hi Tim, thanks for you response. I guess my problem is that I don't feel comfortable with MVP. I used Smalltalk for many years and am familiar with MVC. I have tried a few ways of splitting up UI applications in .net but none of them have felt quite right. Could I ask you to imagine that this was part of a more complicated application and suggest how you would split it up? Phran Ryder Manchester_sdc (Project Delivery) Network Phone: 617 5651 External Phone: 0161 932 5651 Address: Centron House Rowlandsway Wythenshawe Manchester M22 5SQ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Tim Haughton Sent: 29 December 2005 23:41 To: [email protected] Subject: Re: [TFUI] Start simple On 29/12/05, Ryder, Phran (Manchester _SDC) <[email protected]> wrote: > > Suppose I have a very simple form with a single button called start. After > clicking the button I want the button to be disabled. > > > > The test (Forgive me it is VB.net): > > > > [snipped ghastly VB] > > > At least that is the approach I have always taken. But if I want my Form > (or > dialog) to be humble the code disabling the button should be elsewhere - > or > so I have heard. > > So how would you do it? If that's all your form did, then there would be no need to go any further in respect to Humble Dlg/ MVP. The problem of these rather unrealistic examples is that they are....well....unrealistic. Most Forms that have any degree of complexity about them are better served by an MVP type architecture. Another point to consider is, how would you test your code from an acceptance tool like Fit? -- Regards, Tim Haughton http://agitek.co.uk <http://agitek.co.uk> http://blogitek.com/timhaughton <http://blogitek.com/timhaughton> [Non-text portions of this message have been removed] To unsubscribe, email: TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org _____ YAHOO! GROUPS LINKS * Visit your group "TestFirstUserInterfaces <http://groups.yahoo.com/group/TestFirstUserInterfaces> " on the web. * To unsubscribe from this group, send an email to: TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org <mailto:TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org?subject=Unsubscr ibe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of <http://docs.yahoo.com/info/terms/> Service. _____ --------------------------------------------------------------------------------------------------------------- This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the information in it. If you have received it in error please delete it and immediately notify the sender. evolvebank.com is a division of Lloyds TSB Bank plc. Lloyds TSB Bank plc, 25 Gresham Street, London, EC2V 7HN. Registered in England, number 2065. Telephone No: 020 7626 1500 Lloyds TSB Scotland plc, Henry Duncan House, 120 George Street, Edinburgh EH2 4LH. Registered in Scotland, number 95237. Telephone No: 0131 225 4555 Lloyds TSB Bank plc and Lloyds TSB Scotland plc are authorised and regulated by the Financial Services Authority and represent only the Scottish Widows and Lloyds TSB Marketing Group for life assurance, pensions and investment business. Signatories to the Banking Codes. --------------------------------------------------------------------------------------------------------------- [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> To unsubscribe, email: TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/TestFirstUserInterfaces/ <*> To unsubscribe from this group, send an email to: TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/