Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Professional PHP6
|
BOOK: Professional PHP6
This is the forum to discuss the Wrox book Professional PHP6 by Edward Lecky-Thompson, Steven Nowicki; ISBN: 9780470395097
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional PHP6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 19th, 2013, 12:05 PM
Registered User
 
Join Date: Aug 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Collection describe in chapter 5

Hi,

in chapter 5 this book describe a collection class, it's clear the read data method that use a callback function ( method of StudentFactory ) but is't clear how I can save collection change.
The collection method ( add, remove ) alter the object status but they didn't do anything in DB.
Question is:
In OOP structure where I can put this code?
If I must insert or delete record from the n:m table link couse and student Object what is the best way to do thi actions?

Thanks a lot

Chameleon





Similar Threads
Thread Thread Starter Forum Replies Last Post
Describe function this&that Visual Studio 2005 4 January 21st, 2009 08:43 PM
Collection Class chapter 5 eggspencer BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 1 November 27th, 2006 04:46 PM
describe SQL Server 8 column collation bobcorrick SQL Server 2000 2 November 8th, 2004 06:56 AM
beanutils.describe throwing InvocationTargetExcept a007spy J2EE 0 September 22nd, 2004 04:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.