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 August 9th, 2012, 03:35 PM
Registered User
 
Join Date: Aug 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Class DataBoundObject in Chapter 7

Hello,

chapter 7 of Professional PHP6 show a solution for link php Object and DB table, that is ORM ( Object Relation Mapping ).
THe implementation of thi pattern is DataBoundObject class, very cool solution.
How can I handle relation many to many with this object.
If I have a situation like this:

Table Student:
ID
Name
Table Course
ID
Name
Table Student_has_Course
student_id
course_id
data
vote
How can I handle ( CRUD ) the table Student_has_Course in right OOP?

Thanks a lot

Chameleon





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 17 error from class stevect BOOK: Beginning iOS 4 Application Development 1 August 4th, 2011 10:58 PM
How to instantiate dynamic class - Chapter 1 dlaub1 BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 1 February 2nd, 2011 07:06 PM
Chapter 3 Application Class zmanc BOOK: Professional Android 2 Application Development 0 December 14th, 2010 03:35 PM
Collection Class chapter 5 eggspencer BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 1 November 27th, 2006 04:46 PM





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