• 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: So what is a good approach to learning WebObjects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: So what is a good approach to learning WebObjects?


  • Subject: Re: So what is a good approach to learning WebObjects?
  • From: Marek Wawrzyczny <email@hidden>
  • Date: Mon, 24 Nov 2003 10:00:54 +1100

On Monday, Nov 17, 2003, at 01:47 Australia/Sydney, Alice Oaks wrote:

On 11/16/03 12:34 AM, "Arturo Pirez" <email@hidden> wrote:

Here's a contrived example. I have a bunch of pets with associated
owners.
I create a popup list to display the pets' names. When a pet's name is
selected and
I hit submit I want to display the owner's address. How would you go
about
doing that?

Hmm... Well, the details would depend on whether I was getting the data from
the database, already had it in an array, etc. But I think the answer
you're looking for is that I would call a get method on an object that
contained the data, passing in the pet's name or the id associated with it
(depending on the data available), and assign the result to the value
variable of a display object.


Am I on the right track? :)

Not quite... You probably should go through one of the WebObjects tutorials (there should be a tutorial on an Authors database) to learn the fundamentals of the WebObjects way of data modeling, abstraction and handling. It will also teach you the basics of how to display data on the pages.


It will take you probably 1-2 days to go through it.


Marek Wawrzyczny

software engineer
-------------------------->
ish group pty ltd
7 Darghan St Glebe 2037 Australia
phone +61 2 9660 1400   fax +61 2 9660 7400
http www.ish.com.au | email email@hidden
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: So what is a good approach to learning WebObjects? (From: Alice Oaks <email@hidden>)

  • Prev by Date: Re: Session locks up and will not die - maybe a MySQL bug
  • Next by Date: ANN: GDL2 (EOF in Objective-C) and GNUstepBase as a Binary Installer for Mac OS X Panther
  • Previous by thread: Re: So what is a good approach to learning WebObjects?
  • Next by thread: Re: So what is a good approach to learning WebObjects?
  • Index(es):
    • Date
    • Thread