Beginning PHP and PostgreSQL 8: From Novice to Professional and over 400,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
52 used & new from $4.41

Have one to sell? Sell yours here
 
   
Beginning PHP and PostgreSQL 8: From Novice to Professional (Beginning: From Novice to Professional)
 
 
Start reading Beginning PHP and PostgreSQL 8: From Novice to Professional on your Kindle in under a minute.

Don’t have a Kindle? Get your Kindle here.
 
  

Beginning PHP and PostgreSQL 8: From Novice to Professional (Beginning: From Novice to Professional) (Paperback)

~ W. Jason Gilmore (Author), Robert H. Treat (Author)
Key Phrases: enabling safe mode, resource conn, login pair, Jason Gilmore, View Detailed, New Jersey (more...)
4.1 out of 5 stars  See all reviews (7 customer reviews)

List Price: $49.99
Price: $31.49 & this item ships for FREE with Super Saver Shipping. Details
You Save: $18.50 (37%)
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.
Ships from and sold by Amazon.com. Gift-wrap available.

Only 1 left in stock--order soon (more on the way).

Want it delivered Wednesday, February 10? Choose One-Day Shipping at checkout. Details
36 new from $4.86 16 used from $4.41

Formats

Amazon Price New from Used from
Kindle Edition $28.34  
Paperback $31.49  

Frequently Bought Together

Beginning PHP and PostgreSQL 8: From Novice to Professional (Beginning: From Novice to Professional) + Beginning Databases with PostgreSQL: From Novice to Professional, Second Edition (Beginning from Novice to Professional) + PostgreSQL (2nd Edition)
Price For All Three: $98.29

Show availability and shipping details

  • This item: Beginning PHP and PostgreSQL 8: From Novice to Professional (Beginning: From Novice to Professional) by W. J. Gilmore

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Beginning Databases with PostgreSQL: From Novice to Professional, Second Edition (Beginning from Novice to Professional) by Neil Matthew

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • PostgreSQL (2nd Edition) by Korry Douglas

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Beginning Databases with PostgreSQL: From Novice to Professional, Second Edition (Beginning from Novice to Professional)

Beginning Databases with PostgreSQL: From Novice to Professional, Second Edition (Beginning from Novice to Professional)

by Neil Matthew
4.3 out of 5 stars (10)  $29.69
Beginning PHP and PostgreSQL E-Commerce: From Novice to Professional (Beginning, from Novice to Professional)

Beginning PHP and PostgreSQL E-Commerce: From Novice to Professional (Beginning, from Novice to Professional)

by Cristian Darie
$44.99
PHP and PostgreSQL Advanced Web Programming

PHP and PostgreSQL Advanced Web Programming

by Ewald Geschwinde
3.8 out of 5 stars (12)  $36.49
PostgreSQL (2nd Edition)

PostgreSQL (2nd Edition)

by Korry Douglas
4.0 out of 5 stars (20)  $37.11
PostgreSQL 8 for Windows (Database Professional's Library)

PostgreSQL 8 for Windows (Database Professional's Library)

by Richard Blum
4.0 out of 5 stars (1)  $32.99
Explore similar items

Editorial Reviews

Product Description

<p><i>Beginning PHP and PostgreSQL 8</i> delves into some of the most popular open source web development technologies, the PostgreSQL 8 database server and PHP 5 scripting language. You'll learn to reap the benefits of these core technologies by using them in unison to create dynamic, data-driven web applications. This is an ideal read if you are a web designer, programmer, hobbyist, or novice who wants to create applications with PHP 5 and PostgreSQL 8.</p>

About the Author

W. Jason Gilmore has been involved in PHP and MySQL Web application development for six years, and has developed hundreds of applications using the LAMP (Linux Apache MySQL PHP) platform. His writings on open source technologies have been featured within many of the computing industry’s leading publications, including Linux Magazine, O'Reillynet, Devshed, and Zend.com, and have been adapted for educational initiatives led by numerous organizations, including the Ford Foundation and the United Nations. Jason is Developer.com’s monthly PHP columnist, and a regular contributor to Linux Magazine. He spends his days (and many nights) running Apress' Open Source program, and loves every moment of it. Jason graduated from The Ohio State University in 2000 with a bachelor's degree in computer science.

Robert Treat is a longtime open source user, developer, and advocate. He is helping to maintain the postgresql.org websites, working on phpPgAdmin, and contributing to the PostgreSQL core. He has contributed several articles to the PostgreSQL "techdocs" site, was a two-time presenter at O'Reilly's Open Source Convention, worked as the PHP Foundry Admin on SourceForge.net, and has been recognized as a "Major Developer" for his work within the PostgreSQL community.


Product Details

  • Paperback: 896 pages
  • Publisher: Apress; 1 edition (February 27, 2006)
  • Language: English
  • ISBN-10: 1590595475
  • ISBN-13: 978-1590595473
  • Product Dimensions: 9.2 x 7 x 1.8 inches
  • Shipping Weight: 3 pounds (View shipping rates and policies)
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (7 customer reviews)
  • Amazon.com Sales Rank: #239,450 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #6 in  Books > Computers & Internet > Hardware > PC Buyers' Guides
    #38 in  Books > Computers & Internet > Databases > Beginning & Introductory
    #70 in  Books > Computers & Internet > Web Development > Programming > PHP

More About the Author

W. J. Gilmore
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's W. J. Gilmore Page

Inside This Book (learn more)



What Do Customers Ultimately Buy After Viewing This Item?

Beginning PHP and PostgreSQL 8: From Novice to Professional (Beginning: From Novice to Professional)
58% buy the item featured on this page:
Beginning PHP and PostgreSQL 8: From Novice to Professional (Beginning: From Novice to Professional) 4.1 out of 5 stars (7)
$31.49
Beginning Databases with PostgreSQL: From Novice to Professional, Second Edition (Beginning from Novice to Professional)
19% buy
Beginning Databases with PostgreSQL: From Novice to Professional, Second Edition (Beginning from Novice to Professional) 4.3 out of 5 stars (10)
$29.69
PostgreSQL (2nd Edition)
12% buy
PostgreSQL (2nd Edition) 4.0 out of 5 stars (20)
$37.11
PostgreSQL 8 for Windows (Database Professional's Library)
6% buy
PostgreSQL 8 for Windows (Database Professional's Library) 4.0 out of 5 stars (1)
$32.99

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(5)

Your tags: Add your first tag
 

 

Customer Reviews

7 Reviews
5 star:
 (4)
4 star:
 (1)
3 star:
 (1)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.1 out of 5 stars (7 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
10 of 10 people found the following review helpful:
5.0 out of 5 stars Definitive Reference, May 13, 2006
By Nathan Smith (SonSpring.com) - See all my reviews
(REAL NAME)   
If you are like me, you have probably dabbled in PHP and MySQL driven CMS solutions, simply because that combination is so prevalent. I consider myself to be primarily a front-end developer / graphic designer, and am not terribly interested in knowing every server-side language there is, so long as whatever I am using can get the job done. Suffice it to say that while I am eager to learn and expand my horizons, my exposure to more than LAMP has been limited.

So, when Jason Gilmore sent me a review copy of his latest book, that he co-authored with Robert Treat, I was glad to be learning about this powerful database. The title is Beginning PHP and PostgreSQL 8, and the structure of the text mirrors closely that of Jason's other best-selling book on PHP and MySQL 5, now in its second edition. To get a feel of the PHP aspect of both these books, read my other previous reviews on the First Edition and the Second Edition...
[...]

This saves me having to repeat myself, covering the PHP side of things as much. Suffice it to say that it is extensive and well worth reading. Now, allow me to focus on the second aspect of this book, PostgreSQL. While MySQL bosts being the world's most popular open source database, PostgreSQL has stake to the claim of being the world's most advanced open source database. Are these two in competition? Well, yes and no. I will expound further on that, but first a brief history lesson.

In 1986 at UC Berkeley, professor Michael Stonebreaker set out to build a better open source database than his previous project, called INGRES. Since the first project was a huge success, he decided to entitle the follow-up Post-GRES. So, while the first name was an acronym, Postgres is simply a derived nick-name that grew out of it. Postgres became so popular that providing tech support was becoming far too time consuming for Stonebreaker and his team. Eventually they ceased development to focus on teaching.

But, since it was released under the BSD license, development was picked up by Andrew Yu and Jolly Chen, who added in SQL functionality. Eventually this hybrid grew into the PostgreSQL database we know today. Their mantra has always been stability first, speed second. Whereas MySQL is built for responsiveness, PostgreSQL is designed to be rock-solid. This mentality is reflected in the choices of database mascots: a Dolphin vs. an Elephant.

You might have been hearing about PostgreSQL more lately because of the rising interest around the Django Project, which recommends PG as their database of choice. While it is of course driven by Python and not PHP, this further illustrates the scalable versatility of PostgreSQL. When reading this book, I was blown away by some of the server strain that PG can handle.

Consider these examples: Afilias Incorporated, the Internet registrar company responsible for managing the .info domain name extension, handles over 1000 database inserts per second! The NOAA weather service Weather.gov has scaled their operations across 150 PG servers. Whitepages.com runs PG databases exceeding 375 gigabytes with over 250 million rows. Big newspaper sites also run PG, such as Lawrence.com, KUSports.com and LJWorld.com.

Mega-churches such as FellowshipChurch.com also make use of PostgreSQL. When you have 20,000 people that go to your church, each one needing to check up on what's happening on a dynamically driven PHP website, that can be quite a server strain. To handle this, you either need an expensive proprietary platform, or a scalable open source solution. Fellowship opted to roll their own CMS and power it with PG.

Okay, so now you get the point that PostgreSQL is a force to be reckoned with. Allow me to touch briefly on the code aspects of what I thought was cool in this book. Robert has done a great job of flowing with Jason's proven writing-style. Many times, multi-author books differing topics can seem disjointed, but that is not the case here. He explains things very thoroughly without mincing words.

One of the cool features of PG is Multi Version Concurrency Control or MVCC for short. This allows "snapshots" of your database to be taken at set intervals, so that you can serve up cached data without repeatedly hitting the database, risking a hardware lock-up. This is commonly referred to as the "Digg Effect" or becoming a victim of being "Slashdotted," in which high-traffic websites send a flurry of incoming visitors to a lesser server which cannot handle the load.

PostgreSQL also supports MySQL style row-level locking, but the MVCC method is preferred because of its stability. Another nice feature is the ability to store commonly used queries, and even create abbreviations for frequently called procedures. You could think of it like referring to a best friend by a nick-name. This set of features has been native to PG for some time now, and is something that MySQL has recently implemented as of version 5.

The way I think of the differences between MySQL and PostgreSQL is that PG is a more transactional database. Meaning, if you want large enterprise level sites that handle many insertions and modifications throughout any given day, PostgreSQL is probably the way to go. MySQL can do this with with the InnoDB table type, but PG has better native support for it. PG also sports Foreign key support, Views, Stored procedures, Triggers, Unions and Full joins.

On the flip-side of that coin is that MySQL is typically a bit faster, has a more simplified database layout, and does not require vacuuming. Vacuum is a command that must be run from time to time, and typically is set as an automated process. One of the ways PG maintains consistent stability is through the previously mentioned MVCC method, which disperses duplicate data in order to avoid hitting one particular location repeatedly. Periodically, these duplicates need to be reigned in or vacuumed, to clean up disk space.

In comparing PostgreSQL with MySQL side by side, there is not a clear-cut winner, because it is a bit like comparing apples and oranges. If you want a fast and responsive site, MySQL is probably the way to go. If you are managing one that has a high amount of traffic and needs to handle enterprise level or "mission critical" data, PostgreSQL should be one of the solutions you consider. I think of it this way: MySQL is a ninja, PostgreSQL is a samurai. One is quick and nimble, the other more heavily armored. If you want to learn more about the latter, then this is the book for you; Also available as an eBook, PDF file from the Apress website...

[...]
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
8 of 8 people found the following review helpful:
5.0 out of 5 stars Beginning PHP Not Beginning Programming, June 17, 2006
By David Stapleton (California) - See all my reviews
(REAL NAME)      
I read this edition after Gilmore's earlier book on PHP and MySQL, so let me quote the pertinent parts of that review and augment with appropriate comments:

A beginning PHP book, not a beginning programming book. The subtitle, 'From Novice to Professional', can be a tad misleading for the novice coder. A beginning programming book covers a lot of material that this book assumes the reader already understands. Many software books include a 'Who Is This Book For' section that offers some guidance on the suitable reader knowledge level, not this one.

That said, I found this book to be very helpful. The sections on installing and configuring Apache, PHP and PostgreSQL certainly saved me many hours of reading the online documentation and tweaking of settings while setting up my local test bed. That, in itself, made me a very happy camper. The author goes on to cover the various aspects from the basics of the PHP language and class libraries to topics like Authentication, Security, Session Handlers and eMail functionality that help anyone new to PHP setup some fairly sophisticated site capabilities.

Gilmore has included a section on PEAR (PHP Extension and Application Repository). This is a wealth of prewritten classes and packages that can be used to add even more sophisticated functionality to the novice's web development toolbox. The author demonstrates several of the more prominent packages.

New for this edition, Robert Treat has contributed coverage of PostgreSQL, including chapters on tables and data types, views, functions, indexes and triggers. There is also coverage of the more pertinent PHP functionality to access PostgreSQL. Most of the examples offered are clean and general enough to be useful templates for the reader's tailoring.

My suggestion for novices to PHP is read through chapter 9, then skip to the various sections that solve specific problems being faced or are of particular interest, including installing and configuring your local test bed.

Bottom line, this edition was a good book for intermediate to veteran programmers looking for a quick tutorial on PHP (circa version 5.1) and specifics for the PostgreSQL community. Novice programmers should ensure that they have a full understanding of the basics of programming (and OOP) before attempting it.
P-)
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
12 of 14 people found the following review helpful:
2.0 out of 5 stars Supposed to be a PHP-PostgreSql not Smarty-Pear, July 20, 2007
By D. Trent (Virginia) - See all my reviews
What's annoying about this book is that I bought it to learn more about PHP and PostgreSQL but the authors decide to use Smarty and PearDB throughout instead. If I wanted to learn those two I would have bought books about them. Smarty and PearDB is used in every single piece of code they do which is extremely annoying. I don't want to learn Smarty or PearDB. If you're trying to learn PHP and PostgreSQL don't buy this book. If you want to learn Smarty and PearDB this book might be for you.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Excellent coverage of the basics
This book has outstanding coverage of the basics of PHP and Postgres 8 administration and usage. It is intelligently written and talks about the things you'll actually need to... Read more
Published 6 months ago by Ryan Kulla

5.0 out of 5 stars VERY VERY HIGHLY RECOMMENDED!!!
Are you a professional or novice to PHP and PostgreSQL 8? If you are, then this book is definitely for you. Authors W. Jason Gilmore and Robert H. Read more
Published 23 months ago by John R. Vacca

3.0 out of 5 stars Old Hat
To me, this book was a disappointment. I had expected much more in the way of integration between PostgreSQL and PHP. Read more
Published on July 25, 2006 by Leif B. Kristensen

4.0 out of 5 stars Packed with Information
Divided into two parts, Beginning PHP and PostgreSQL 8 teaches all the fundamentals of these two technologies from the ground up. Read more
Published on April 24, 2006 by Joseph Topjian

Only search this product's reviews



Customer Discussions

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

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


Active discussions in related forums
Discussion Replies Latest Post
Anime Studio 6 Debut 2 7 days ago
Search Customer Discussions
Search all Amazon discussions
   


Listmania!


So You'd Like to...


Create a guide

Product Information from the Amapedia Community

Beta (What's this?)

Beginning PHP and PostgreSQL 8: From Novice to Professional

PHP PostgreSQL

(Report this)
Created on May 10, 2006, last edited on May 10, 2006.

 Explore and Edit at Amapedia.com opens new browser window



Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.