Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
48 used & new from $10.94

Have one to sell? Sell yours here
 
   
Professional LAMP : Linux, Apache, MySQL and PHP Web Development
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Professional LAMP : Linux, Apache, MySQL and PHP Web Development (Paperback)

by Jason Gerner (Author), Morgan Owens (Author), Elizabeth Naramore (Author), Matt Warden (Author), Jeremy Stolz (Author)
3.3 out of 5 stars See all reviews (3 customer reviews)

List Price: $39.99
Price: $27.57 & this item ships for FREE with Super Saver Shipping. Details
You Save: $12.42 (31%)
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.

Want it delivered Monday, July 20? Choose One-Day Shipping at checkout. Details
30 new from $14.99 18 used from $10.94

Frequently Bought Together

Professional LAMP : Linux, Apache, MySQL and PHP Web Development + Setting Up LAMP: Getting Linux, Apache, MySQL, and PHP Working Together + Open Source Development with LAMP: Using Linux, Apache, MySQL, Perl, and PHP
Price For All Three: $85.65

Show availability and shipping details


Customers Who Bought This Item Also Bought

Open Source Development with LAMP: Using Linux, Apache, MySQL, Perl, and PHP

Open Source Development with LAMP: Using Linux, Apache, MySQL, Perl, and PHP

by James Lee
4.2 out of 5 stars (4)  $34.99
Beginning PHP5, Apache, and MySQL Web Development (Programmer to Programmer)

Beginning PHP5, Apache, and MySQL Web Development (Programmer to Programmer)

by Elizabeth Naramore
3.8 out of 5 stars (17)  $27.07
Professional PHP5 (Programmer to Programmer)

Professional PHP5 (Programmer to Programmer)

by Edward Lecky-Thompson
3.6 out of 5 stars (19)  $26.50
PHP and MySQL Web Development (4th Edition) (Developer's Library)

PHP and MySQL Web Development (4th Edition) (Developer's Library)

by Luke Welling
4.4 out of 5 stars (199)  $31.49
Apache: The Definitive Guide (3rd Edition)

Apache: The Definitive Guide (3rd Edition)

by Ben Laurie
2.5 out of 5 stars (13)  $26.37
Explore similar items

Editorial Reviews

Product Description
  • The combination of Linux, Apache, MySQL, and PHP is popular because of interaction, flexibility, customization, and-most importantly-the cost effectiveness of its components
  • Helps LAMP professionals take their skills to the next level with in-depth discussions of OOP; extensions of PHP such as PEAR, GD, XML, and CURL; improving site security; and advanced tools available to the coder
  • Those proficient in other languages such as Java, C++, Perl and ASP will find this guide invaluable when transitioning to the LAMP environment
  • The Web site includes sample scripts created in the course of each chapter, and several applications that can be modified and reused


From the Back Cover
The amazing combination of Linux, Apache, MySQL, and PHP (LAMP) enjoys increasing popularity because of the interaction, flexibility, customization, and cost effectiveness of its components. In turn, LAMP has proven to be one of the fastest-growing ways to develop enterprise-level web applications. As the first book to address the LAMP module in its entirety at the professional level, this resource will help you take your web sites to the next level.

The authors encourage you to think out of the box so you can discover great new ideas for future applications that you might wish to write, or revisit some of your old code with new efficiency and power. After reading this book, you will be able to conquer any LAMP obstacle with confidence.

What you will learn from this book

  • What's new in PHP 5.0
  • How to configure PHP for optimal performance
  • Different Apache tips and tricks
  • Ways to use AJAX and PHP
  • Various MySQL queries
  • How to transition from other programming languages
  • Tips for using PEAR, GD, XML, and CURL
  • Ways to improve site security

Who this book is for

This book is for intermediate to advanced LAMP professionals. Basic concepts regarding each of the four modules is assumed. Those proficient in other computer languages such as Java, C++, Perl, and ASP will find this guide invaluable when transitioning to the LAMP environment.

Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.

See all Editorial Reviews


Product Details

  • Paperback: 379 pages
  • Publisher: Wrox (December 5, 2005)
  • Language: English
  • ISBN-10: 076459723X
  • ISBN-13: 978-0764597237
  • Product Dimensions: 9.1 x 7.3 x 1.2 inches
  • Shipping Weight: 1.3 pounds (View shipping rates and policies)
  • Average Customer Review: 3.3 out of 5 stars See all reviews (3 customer reviews)
  • Amazon.com Sales Rank: #567,885 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #7 in  Books > Computers & Internet > Web Development > Programming > Linux Web

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(1)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

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

 
13 of 13 people found the following review helpful:
4.0 out of 5 stars Could be of interest to the right audience..., December 19, 2005
By Thomas Duff "Duffbert" (Portland, OR United States) - See all my reviews
(TOP 50 REVIEWER)    (REAL NAME)      
If you don't know (in which case you wouldn't be reading this in all likelihood), LAMP is an acronym for Linux, Apache, MySQL, and PHP5. It's the open source "software stack" used to do web development. If you have a basic grounding in all those software elements, you might be interested in the Wrox book Professional LAMP - Linux, Apache, MySQL, and PHP5 Web Development by Jason Gerner, Elizabeth Naramore, Morgan L. Owens, Matt Warden.

Contents: What's New in PHP5?; PHP5 OOP; More Obscure PHP; Advanced MySQL; PHP Configuration; Apache Tricks; Site Security; PEAR and PECL; Code Efficiency; PHP Extensions; AJAX; Caching Engines; Content Management Systems; Language Translation; Alternative Tools; Index

As you can see from the content listing, this is a bit of a grab-bag of topics that may or may not interest you. There does seem to be some contradictory information as to who the target audience might be. Looking at the back of the book, the book is described as being for "intermediate to advanced LAMP professionals". This is backed by their visual flowchart of titles, which shows this as a high-end book for those who already know what they're doing. But in the introduction, there is a description of the book as one "for web developers with some experience who want to take their websites to the next level." This is followed by a list of basic skills that they assume, none of which are the software elements that make up LAMP. While I consider myself the target of the second description, I can tell you that this isn't a book that I could use to learn and understand LAMP. You definitely need to have a firm grasp of PHP in order to gain value from this material, as they go into new and advanced features very quickly.

Having stated the caveats, I will say the book is laid out well and would be beneficial to the right audience. There is a lot of code to use and play with, and the information is well documented. The focus is on PHP5 material, so I think that you'd find the book most valuable if you were a PHP developer looking for tricks and tips using the latest version of the software. The Linux part of LAMP is not covered much at all. It's assumed that you're using Linux to run the "AMP" part of the stack, but that's about as far as it goes. If you're looking for Linux info, you won't get much out of this book.

Recommendation? If you're firmly grounded in LAMP and you're looking for information that goes beyond the basics, you might be interested. If you're just looking to get started, you'll want to look elsewhere...
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
14 of 17 people found the following review helpful:
5.0 out of 5 stars The Next Level, May 5, 2006
By Nathan Smith (SonSpring.com) - See all my reviews
(REAL NAME)   
I just finished reading Professional LAMP. These four components make for quite a powerful open source solution. It is being used at the enterprise level, with companies such as Yahoo and Google taking advantage of the flexibility if can offer. This book is ideal for anyone wanting to delve further into this development environment. As far as I know, it is the first book to cover LAMP at the professional level. The full listing of chapter topics covered are as follows:

1. What's New in PHP5
2. PHP5 Object Oriented Programming
3. More Obscure PHP
4. Advanced MySQL
5. PHP Configuration
6. Apache Tricks
7. Site Security
8. PEAR and PECL
9. Code Efficiency
10. PHP Extensions
11. AJAX
12. Caching Engines
13. Content Management Systems

As you can maybe tell, the above topics are a bit light on the "L" aspect of LAMP. Linux is covered briefly, addressed as the platform on which the AMP aspect runs. To be honest, I did not expect that this book would be a comprehensive look at Linux, because there is already a plethora of books out there. This book addresses in detail many aspects of Apache, MySQL and PHP.

- What's New in PHP5

This chapter covers the changes between PHP versions 4 and 5. This includes object-oriented programming, new functions, configuration changes, mysqli, XML support, Tidy library extension, and SQLite. Suffice it to say, there is quite a bit of information to absorb from this comprehensive first chapter.

- PHP5 OOP

This chapter opened with a good discussion on procedural versus object oriented programming. It then moved on to cover class definitions, methods and instances. One of the things I thought was cool is abstract, which allows you to create a class that can be extended by others. Using OOP methods also allows you to build an extensible API so that developers can create their own plugins. One such example would be peppers that people make for Mint.

- More Obscure PHP

This chapter was great, and helped to clear up some confusion for me. It covered some of the history behind Perl and C that led to PHP coming into its own. Like many languages, PHP has been around long enough that there is some "legacy" code still packaged in it. These relics remain only for backwards compatibility with older applications. Much like target="_blank" and iframe are deprecated as of XHTML 1.0 Strict, there are some things in PHP that are no longer supposed to be used, though they are still supported.

Anyway, the point is that PHP has breadth and depth that many programmers never even touch. They describe it like the English language, that though we understand quite a bit of terminology, most of us only use a small portion of it in our own daily vocabulary. Examples of things covered in this chapter are: callbacks, array_map(), array_walk(), array_filter(), preg_replace_callback(), call_user_func_array(), create_function(), glob() and creating streams.

They even discuss the code necessary to create an aerial orthophoto database query, such as would be seen in Google Maps' satellite view. They cover various compression methods for PNG files that make up the series of photos. I have to admit, it is pretty heady stuff, so you'll just have to check it out for yourself.

- Advanced MySQL

In this chapter, a simulated list of cars at an auto dealership is presented. They show you how to maintain data based on manufacturer, model, paint color, etc. There are many code examples for creating new entries, modifying existing data, and joining / merging tables. Also covered is how to use a MySQL database with the InnoDB storage engine, as opposed to the default MyISAM. Some of the benefits to this include transactions, row-level locking, and foreign key constraints. The one major drawback is lack of full-text searching. They also show you how to switch back and forth between MyISAM and InnoDB on the fly, should you ever need to use both in any particular situation.

In addition, the process of granting / revoking user priviledges is covered, which is a crucial aspect to understand if you want to have different tiers of access to different sections of your data. For instance, you might want the administrator to be able to affect everything, whereas your staff worker you would only want to be able to enter new entries into a product inventory.

- PHP Configuration

Next, they cover some of the basics of tweaking PHP for optimal performance. This all revolves around the php.ini file. They give several recommendations for settings to change, such as: register_globals = off, display_errors = off, log_errors = on, magic_quotes = off, asp_tags = off, and short_open_tag = off. They gave a compelling reason why to leave off short_open_tag, because instead being "< ?php", it is shortened to "< ?". This would cause a parsing error, because XML is written "< ?xml" but would be treated as PHP because it begins with "< ?" as well. If you plan on doing any AJAX, this would create major problems. Keen insights such as this are sprinkled throughout this chapter.

- Apache Tricks

This chapter offered a slew of helpful pointers on Apache Server, including sixteen pages on mod_rewrite alone, the Apache module that allows for more readable clean URL's, instead of messy addresses. Consider the following two examples, both of which lead to the same page (this very book review):

* godbit.com/article/professional-lamp-review
* godbit.com/index.php?id=110

As you can see, while the first might be a bit more lengthy, it contains more memorable information, such as the fact this is an article, and it is a book review of Professional LAMP. This goes a long way in making things more human friendly, and helps search engines index your site more accurately.

Another topic covered is that of mod_deflate, a compression method used in conserving bandwidth. This will cause Apache to send along text such as HTML and CSS with white-space and line-breaks compressed in gzip format, which most browsers are able to interpret and then convert back into a plain text, uncompressed equivalent. The book gives the example of sending a Zip file in an email, rather than several separate attachments. There are also security tips, such as authenticating MySQL users or using SSL when uploading files.

- Site Security

This leads me into the next chapter, which is all about security. Inevitably, with the ungoverned way the Internet operates, you will have malicious people trying to mess with your website. Basically, if you want something secure, don't hook it up to the `net. That being said, there are significant precautions you can take in order to minimize the likelihood that your site will be compromised either intentionally or accidentally.

They explain how to control authentication with both Apache and then adding another layer of PHP checks, such as form validation or register_globals protection. Plus, there is a section on protecting yourself from SQL injection attacks. This nastiness works by using an input, such as comment form or discussion forum, to do things like drop tables or granting user priviledges. Suffice it to say, that can cripple a database driven site, such as this one.

- PEAR and PECL

It has been said that good programmers borrow, but great programmers steal. While I do not advocate ripping people off, the premise of this quote is that if it's been done before, you'd be wasting your time to re-invent the wheel. PEAR - PHP Extension and Repository, and PECL - PHP Extension Community Library are two big components of what make PHP so great. You could think of it as standing on the shoulders of giants, continuing to build where they left off. Basically, each of these is a big pool of submitted extensions that improve PHP's functionality. You could think of it like installing a plugin for the language.

There are far too many extensions to do justice in this review, but one of the ones mentioned in the book was the Date class. With this package installed, you can reference and modify the date with methods like these: addSeconds, getDayName, getMonth, getNextDay, getQuarterOfYear, isLeapYear, etc. As you can tell, each of those is more human readable than: echo date("Y");.

- Code Efficiency

This was a great chapter on balancing code efficiency with real time efficiency. In other words, you don't want to kill yourself over a few milliseconds of loading time, if it is going to take several hours of real development work, especially if that time could be spent better elsewhere. They gave an example of a server computer running software slowly. The first reaction might be to buy new software, resulting in days of lost productivity due to necessary data backup, operating system and program upgrades. In their example though, all that was needed was more system RAM, requiring only a few minutes of down-time.

They take this same principle and apply it to coding methods, benchmarking a few ways of writing mathematical computations, namely a<<3 versus a*8 to multiply a variable integer by 8. If that looks like Greek to you, don't worry because it's explained in this chapter. Essentially, it's an argument of binary notation versus long-hand yet human readable code. They even go so far as to benchmark single quoted (') vs. double quoted (") strings. After an extensive series of tests, and rendering two very complex 3D graphs, it appears that single quoted is in fact faster, though many things can affect the outcome.

Aside from the theoretical arguments, they also help address various server configurations in order to find bottle-necks. An example of this would be too little RAM on your server, or too fast of a server in comparison with too slow of a connection. A good way to think of it is the adage "The box, or the band?" If it's the box, then you can make hardware tweaks, but if it's the bandwidth causing the problem, then you can either up that allotted amount, or tweak various compression schemes and server / client caching methods, to make things go faster. In addition, they of course show you how to write leaner, meaner PHP code, to save on both processor cycles and download time.

- PHP Extensions

This chapter touches on the many extensions that are available. Two of the ones I found to be interesting were PDFLib and GD Library. PDFLib does what the name implies, and creates PDF files on the fly via server-side methods, pulling info from a database. They give an example of how to create a r?sum? maker that outputs PDF versions for download. GD Library handles images on the server-side, allowing you to do things like rotate, resize, and even add watermark overlays or text descriptions with varying opacity directly into the image. This can be seen on sites like iStockPhoto, which have a branded stamp across preview images, encouraging you to buy the unaltered version.

- AJAX

Oh man, I am sick of talking about AJAX - Asynchronous JavaScript And XML. This book does a very good job of explaining the concepts behind it, but I feel like we hear about it so much nowadays that it is almost pointless to regurgitate it again. If you like, read the reviews I've done on books about AJAX here:

* http://godbit.com/article/ajax-and-php-review
* http://godbit.com/article/foundations-of-ajax-review
* http://godbit.com/article/professional-ajax-review

- Caching Engines

This is a good chapter for people who might be concerned about getting Slashdotted or being on the front page of Digg. Basically, it covers several methods of caching pages on a server, so that when a visitor comes, your MySQL database is not constantly being hit in order to serve up content that has not changed. This can be done in a variety of ways.

One such method involves using Alternative PHP Cache, which stores code from the PHP runtime engine in shared memory, so that it not recompiled each time unnecessarily. Other caching engines that function comparably are eAccelerator and the Zend Optimizer. They also cover JPCache, which is unique in that it does not require being installed as a DSO or built into PHP statically, because it runs off standard include and required statements. There is also one called memcache which requires its own daemon to be running on Linux, and caches database results in RAM to keep SQL from running, freeing up the hard drive. It should also be noted that according to this book, JPCache and memcache can "play well together" on the right server, further increasing response time.

Content Management

In this chapter, they cover installing and configuring a few different CMS's. Most of these I had not yet heard of, for example Exponent CMS. This is an enterprise level system, which I found is table-based and not very standards compliant. Therefore, I am not recommending it to anyone. Another CMS mentioned in this chapter is XOOPS, which suffers from the same sort of poor front-end markup. Basically, this chapter was about antiquated systems with bloated code. Also listed were Mambo and PHP-Nuke, both of which should be avoided. To their credit, the authors did cite Drupal and WordPress, which are more accessible and standards compliant than the aforementioned clunkers.

Summary

With the exception of the last chapter, I found that the whole of this book is one that I will refer back to often as I continue to grow in my usage of the LAMP development environment. I would highly recommend it to anyone who has dabbled in the Linux / Apache or PHP / MySQL combo, but really wants to gain a more complete understanding of how they interact. It will definitely help anyone who wants to write cleaner PHP or provide a more responsive hosting server.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
6 of 9 people found the following review helpful:
1.0 out of 5 stars Mostly covers PHP, August 28, 2006
This book only gives rudimentary coverage of MySQL or Apache.

Twenty one pages in the chapter for 'Advanced MySQL' -- really! 13 pages of this is a review of SQL, how to do queries, updates, deletes, etc.

Apache got 35 pages and was a little better. It did have info on rewriting URLs but a lot of time was spent on rewrite patterns and rules. Many of the other items and configuration settings could be gleamed from the Apache configuration file.

I really was disappointed as I expected more of a discussion of PHP in the context of MySQL and Apache. I wish the authors had spent as much time on the other subjects as they did on PHP.

Linux -- wasn't even in the table of contents or the index and I didn't see anything that was even close.

The discussion of PHP covered subjects like installing packages, code effeciency and PHP extensions and was adequate.

Maybe the book should be called "PHP Packages Available".
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
Ad
 
Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

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

   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Work and Roll with DEWALT

DEWALT Job Site Radio
While supplies last, enjoy special pricing on the DEWALT work site radio. Power it and you'll be rockin' and chargin' your way through a hard day of work.

Shop more chargers and radios

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 
Shop for Toilet Tattoos
Brighten Your Bathroom with Toilet TattoosSpruce up your toilet seat with removable, reusable, and hygienic seat covers from Toilet Tattoos.
 
Ad

 

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.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

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

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Glenn Beck's Common Sense

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates