Php 5 Social Networking

Php 5 Social Networking

4.0 1
by Michael Peacock

View All Available Formats & Editions

Product Details

Packt Publishing
Publication date:
Product dimensions:
7.50(w) x 9.25(h) x 0.92(d)

Customer Reviews

Average Review:

Write a Review

and post it to your social network


Most Helpful Customer Reviews

See all customer reviews >

Php 5 Social Networking 4 out of 5 based on 0 ratings. 1 reviews.
Boudville More than 1 year ago
Perhaps the book's main value is the depth of detail it provides in showing how to use PHP to implement a social networking website. The Model-View-Controller pattern is used, which should be no surprise to many readers who have prior experience in website coding. The book takes you through the development of an example website, stuffed full of numerous code snippets in PHP. The driving motivation is used in a top-down manner. Typically, a chapter might talk about a desirable feature that you would want in your website. Like letting a user have different types of relationships with other users. Or, in related ways, letting a user accept or decline a relationship request from another user. Proceeding from this, the narrative flows into a discussion of what this means at the database level. Here's where you need a background in relational databases. Both the general theory of table design, and intertable relations, and also hopefully some knowledge of MySql. The SQL code snippets can be quite intricate. A reflection of the underlying reality of dealing with a non-trivial database application. It is unclear how much effort you might necessarily want to invest in deciphering and checking the logic of each SQL snippet. These are tied closely to the example case, of course. Given that your website is unlikely to use the same tables, then simply as a pragmatic way of getting through the text, you can elide past doing such lowest level code analysis. Another and closely related way of using this book is to look for only those features that you also want in your website. Then scrutinise the relevant sections of the text to see how easy it would be to modify the code. If you scan the introductory remarks in each chapter, you can quickly see what features are described. For those of you without the time to read cover to cover. The attraction is that if you can just find a few desirable examples, studying the code snippets could save considerable time, compared to you coding from scratch. Easily justifies the cost of the book.