PHP 5 Social Networking (Community Experience Distilled) and over 2 million other books are available for Amazon Kindle . Learn more

Sign in to turn on 1-Click ordering.
Trade in Yours
For a 7.01 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Start reading PHP 5 Social Networking (Community Experience Distilled) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

PHP 5 Social Networking (Community Experience Distilled) [Paperback]

Michael Peacock
4.1 out of 5 stars  See all reviews (7 customer reviews)
Price: 27.99 & FREE Delivery in the UK. Details
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Want it tomorrow, 31 July? Choose Express delivery at checkout. Details


Amazon Price New from Used from
Kindle Edition 12.95  
Paperback 27.99  
Trade In this Item for up to 7.01
Trade in PHP 5 Social Networking (Community Experience Distilled) for an Amazon Gift Card of up to 7.01, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

25 Oct 2010 1849512388 978-1849512381
This book is a fast-paced tutorial focusing on creating a Social Networking framework through an ongoing case study. It presents a lot of real-world code, with comprehensive explanation and discussion. With each chapter, the Social Networking framework is extended, with more functionality being added as we progress through the book. This book is primarily aimed at PHP developers, but is suitable for any web developers looking to expand their knowledge and understanding of Social Networking concepts. Intermediate knowledge of PHP and object-oriented programming is assumed, along with a basic knowledge of MySQL.

Product details

  • Paperback: 456 pages
  • Publisher: Packt Publishing (25 Oct 2010)
  • Language: English
  • ISBN-10: 1849512388
  • ISBN-13: 978-1849512381
  • Product Dimensions: 23.5 x 19 x 2.3 cm
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (7 customer reviews)
  • Amazon Bestsellers Rank: 85,734 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, and more.

Product Description

About the Author

Michael Peacock

Michael Peacock is a web developer from Newcastle, UK and has a degree in Software Engineering from the University of Durham. After meeting his business partner at Durham, he co-founded Peacock Carter, a Newcastle based creative consultancy specializing in web design, web development and corporate identity.

Michael loves working on web related projects. When he is not working on client projects, he is often tinkering with a web app of his own.

He has been involved with a number of books, having written two books himself (and working on his third): Selling online with Drupal e-Commerce Packt, and Building websites with TYPO3 Packt. He has also done technical reviews of two other books: Mobile Web Development Packt, and Drupal Education & E-Learning Packt.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Back Cover
Search inside this book:

Customer Reviews

4.1 out of 5 stars
4.1 out of 5 stars
Most Helpful Customer Reviews
3 of 3 people found the following review helpful
3.0 out of 5 stars Good for begginers, lacking advanced techniques 20 Mar 2011
This book walks chapter by chapter about the process of building a social network, with a structure and features mostly grabbed from Facebook ones (friends, statuses, profiles, events and groups).

It is done from scratch using PHP5 & MySQL, with a custom built lightweight REST-like MVC and a basic templating system (looks like grabbed from PHPBB forums).

The author does a nice selection of design patterns to apply to the architecture, with clear and concise definitions of them, but then the code... starts to get messy.

- There is almost no OO (sometimes looks as Composition, but in general just looks as non-refactored code). Structuring the code to use a /lib/ folder (ok for - helpers) to place Model related code there (and sometimes even with presentation logic) is neither clean nor good.
- Uses PHP tricks (like func_get_args() ) instead of well defined parameters, how builds the views and templates is not the most flexible way (but at least is clean).
- Does some ugly but typical PHP developer things, like using 0 instead of NULL/FALSE, modifying function parameters to store temporal data... I disagree with such unproper practices.
- Classes dont respect much the layers. The controllers have a mess of Model access and DB queries, the authentication component sets template errors (html format included!) and reads POST params...
- Variable names are sometimes terrible: $pp, $u, $ike... Also there is almost no use of PHP switch statements (why?).
- DB Queries are unoptimal, apart from doing really expensive paging calculations. Using strings to store DB dates is really ugly, and forces to use LIKE statements which are costly in processing time.
Read more ›
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
By Hansen
PHP 5 Social Networking is simply a must buy for anyone interested in the intricacies of developing their own social networking website. You'll be grounded in developing your own simple yet effective framework,(yes you could plum for an off the shelf product, but building your own will make you into a real expert). This is a book you will have to come back to time and again, as there are gold nuggets which you will want to implement in your own work - I'm thinking about status streams - chapter 7.
Now all that is needed is the Social Networking Development for the mobile platform - and you'll have the perfect set.
Comment | 
Was this review helpful to you?
4.0 out of 5 stars Great buy! 17 May 2014
By Raj
Format:Paperback|Verified Purchase
I purchased this book for my final year project and university when I became interested in coding. The book is well explained and provides step by step instructions to getting the framework up and running. Online documentation and code is provided.
Comment | 
Was this review helpful to you?
The tag line of the book "Create a powerful and dynamic social networking website in PHP by building a flexible framework" sums up pretty well the main aims of the book. It starts off by giving an introduction to social networks: the definitions, existing services and software-solutions as well as why and when you might want to develop your own (Chapter 1).

Assuming you need your own solution it then goes on with planning and designing the framework which will serve as the platform for the further development of your social network site (Chapter 2). The next chapters (Chapter 3 through 10) goes systematically through how to implement features such as registration, relationships, status stream, events, groups, API etc.

It then finishes off with discussions around deployment, security and maintenance (Chapter 12), marketing and monetizing (Chapter 13) and finally a chapter about performance - Chapter 14: Planning for growth.

My thoughts

The short version: I like the book. It's a recommended read for people wanting to learn more about extensible application frameworks suited for the web as well as examples of developing and implementing social features.

The slightly longer version: I like the fact that Michael (Peacock, I do not speak about my self in third person... usually) follows a systematic approach the whole way through and focuses on well known best practices. These includes data sanitation, MVC, design patterns and encourages the reader to just use the exapmles as inspiration and a starting point.
Read more ›
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category