• 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
Simple Web forms to create an EO object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simple Web forms to create an EO object


  • Subject: Simple Web forms to create an EO object
  • From: Amorya North <email@hidden>
  • Date: Wed, 4 Aug 2004 15:43:10 +0100

OK, multiple choice. Which is best for a simple form (eg a user registration form) where one EO object needs to be created.

1. Create and insert the EOObject when the page is loaded. The form is bound directly to this new EO object. Submit button just saves changes.

2. Page is bound to lots of temporary variables. Submit button creates EOObject, populates it, and saves changes.

3. Other.


I'm currently trying to do method 1, since it avoids a zillion temporary variables... but I'm unsure whether it might be less secure and more likely to end up with a blank record inserted or whatever. My PHP roots would suggest method 2, as that's _all_ you can do in PHP, but it strikes me that WO might have a better way.


Amorya
_______________________________________________
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.


  • Prev by Date: Re: Updating / Replacing Parent Objects
  • Next by Date: RE: Simple Web forms to create an EO object
  • Previous by thread: Re: IBM does it... why not Apple?
  • Next by thread: Re: Simple Web forms to create an EO object
  • Index(es):
    • Date
    • Thread