Back to list
Views:   0
Replies:  0
Archived
,
Thanks Greg - I didn't notice any notification of your reply - hence my long delay in response. It makes sense and having your confirmation makes me feel all the better about it! Thanks again!
May 12, 2011
Hi Andrew. In your recipe scenario, you should consider each RecipeIngredient i.e. a mapping between a recipe object and an ingredient object as a unit of work and persist / update / delete each recipeingredient in its own operation. Selecting the necessary ingredient persists the mapping (recipe > ingredient) and returns either the new list of ingredients, or a single ingredient which is then added to the DOM. From a usability point of view you could do this in an Ajax fashion so that a) the user experience is better b) you reduce the overhead in bringing other data / bindings on the page
Feb 09, 2011
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas