Jump to content
Larry Ullman's Book Forums

Does The E-Book Have The Same Content Than The Book?


Recommended Posts

Sorry about the confusion. Apparently I'll need to update the table of contents somewhere! Could you let me know where you saw those chapters?

 

The Marketing and UX Touches material got pulled into other chapters and the OOP example chapter didn't get written due to time and page count restraints. So, short version: you're not missing anything. Sorry again for the confusion!

Link to post
Share on other sites

No, it's just that in the Programming chapter it's written "New in this edition of the book, however, is Chapter 16, “An OOP Example.” It demonstrates how key components of an e-commerce site would be programmed using OOP". And many sites which sell the book give in the Table of content:

Part 4: Extra Touches
Chapter 12: Marketing and UX Touches
Chapter 13: Adding JavaScript and Ajax
Chapter 14: Using Stripe Payments
Chapter 15: Extending the First Site
Chapter 16: Extending the Second Site
Chapter 17: An OOP Example

 

Anyway, i was very insterested about the key components which would be programmed using OOP. Could you tell me more about it?

 

Thanks in advance

Link to post
Share on other sites

Sorry about that. I'll work on getting the references fixed, to the best of my ability. 

 

As for doing an OOP example, I'd use the OOP interface for working with the database. Then I'd define classes for:

- Customers

- Products

- Orders

- Carts

 

The particulars, and whether the Products class would be multiple classes, would depend upon the specifics of the site. 

Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...