• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: offtopic: best way of plainng overall structure of programs/functions etc.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: offtopic: best way of plainng overall structure of programs/functions etc.


  • Subject: Re: offtopic: best way of plainng overall structure of programs/functions etc.
  • From: Dave Fernandes <email@hidden>
  • Date: Sun, 5 Aug 2007 21:46:46 -0400

There are several formal methodologies for developing software that come under the umbrella of the Unified Modeling Language (UML). There are many books on the subject. For a project based on Cocoa or any other framework, this may be overkill since the framework's designers have already made many of the design decisions for you. However, a good understanding of state diagrams can certainly help you avoid design bugs. I haven't found any Mac-based UML tool that I like, but there are some Java ones that look usable.

I would also highly recommend the book Design Patterns by Gamma, et al. It describes many patterns to make your code more reusable and maintainable. You should already be familiar with the model-view- controller (MVC) pattern if you have done anything at all in Cocoa.

If you find a good UML tool for the Mac, let me know! I've tried Poseidon SE, ObjectPlant, and Mac A & D, but I don't recommend any of them.

Dave Fernandes

On Aug 4, 2007, at 7:40 PM, Stephan Huebner wrote:

Hi all,

sorry, but this is not specifically about cocoa-programming, but I don't know where else I could ask. If anyone wants to answer, it might be better to send answers to me and not to the list.

Despite the fact that I've tried out several programming languages over the years I have never done really big projects and most of the time I used a mixture of trying out things in front of the computer and planing the more complicated funtions on a piece of paper. And most of the time it worked (to my own surprise :-). But not always.

So, the problem ist: I've never found the perfect (or at least elegant) way to lay out the structure of a program before sitting on the computer. So more than once I found that the solution I scribbled on a paper didn't work as I expected and then I sat there in front of the computer and began to hack around until the functions did what they should do.

The simple question is: How do the Experts do it? How do they plan an application? Are the apps to lay out an application or objects- structure of any use? I think there's one from the Omnigroup, but I think I've tried it out once but did not like it enough to use it. Or maybe I was just too impatient, who knows.

Would love to hear suggestions how to solve this problem and once again, sorry for the offtopic.

Greetings,

Stephan Huebner
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
40utoronto.ca


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: offtopic: best way of plainng overall structure of programs/functions etc.
      • From: Scott Ribe <email@hidden>
    • Re: offtopic: best way of plainng overall structure of programs/functions etc.
      • From: "ad veloper" <email@hidden>
References: 
 >offtopic: best way of plainng overall structure of programs/functions etc. (From: Stephan Huebner <email@hidden>)

  • Prev by Date: Re: Problem with bindings and Shared User Defaults
  • Next by Date: Re: GUI not responding possibly because of NSRunLoop, what can I do?
  • Previous by thread: Re: offtopic: best way of plainng overall structure of programs/functions etc.
  • Next by thread: Re: offtopic: best way of plainng overall structure of programs/functions etc.
  • Index(es):
    • Date
    • Thread