Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.
Foundation PHP 5 for Flash and over 300,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.
 
   
More Buying Choices
64 used & new from $2.54

Have one to sell? Sell yours here
 
   
Foundation PHP 5 for Flash
 
 
Start reading Foundation PHP 5 for Flash on your Kindle in under a minute.

Don’t have a Kindle? Get yours here.
 
  
4.4 out of 5 stars See all reviews (16 customer reviews)

List Price: $44.99
Price: $30.34 & this item ships for FREE with Super Saver Shipping. Details
You Save: $14.65 (33%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Friday, July 10? Choose One-Day Shipping at checkout. Details
35 new from $2.55 29 used from $2.54
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $27.31

Frequently Bought Together

Customers buy this book with Flash and PHP Bible by Matthew Keefe

Foundation PHP 5 for Flash + Flash and PHP Bible
Price For Both: $60.03

Customers Who Bought This Item Also Bought

Advanced PHP for Flash

Advanced PHP for Flash

by Steve Webster
Flash and PHP Bible

Flash and PHP Bible

by Matthew Keefe
2.7 out of 5 stars (9)  $29.69
Foundation XML for Flash

Foundation XML for Flash

by Sas Jacobs
3.5 out of 5 stars (12)  $26.39
Foundation ActionScript Animation: Making Things Move!

Foundation ActionScript Animation: Making Things Move!

by Keith Peters
4.7 out of 5 stars (35)  $26.39
Foundation ActionScript for Flash 8

Foundation ActionScript for Flash 8

by Sham Bhangal
4.5 out of 5 stars (8)  $16.19
Explore similar items

Editorial Reviews

Product Description
Our original Foundation PHP for Flash title was rightly regarded as a must-have title when it came to wanting to learn just how to make your Flash sites make use of backend technologies, that was published way back in the days of Flash 5 and PHP 4, and things move pretty fast in the world of web design! This latest, completely rewritten, edition again brings together three of the web's hottest technologies--Flash, the server-side language PHP, and the MySQL database system. We've brought things bang up to date, using ActionScript 2.0, PHP 5.0, and MySQL 4.1, the book has been designed to be version-neutral. In other words, you can be confident that you're working with the latest standards, but that your applications won't break if deployed on an older server. The book also provides a brief introduction to an alternative database system, SQLite, which is now automatically bundled with PHP 5 and requires no installation. At each stage of the book you'll be given an overview of a new area of PHP/MySQL, introducing you to the syntax while showing how it compares to ActionScript, and how it integrates with Flash to produce increasingly complicated applications. For example, earlier chapters cover things such as getting data from PHP to Flash and back again, variables, arrays, string manipulation, validating user input, and feedback forms. Later on, it moves on to more advanced subjects such as creating databases via the MySQL console and via phpMyAdmin, manipulating database data via a Flash interface, displaying data from an RSS feed in Flash, persisting data with sessions, and creating a full blown content management system. In addition, to get you up and running, the book features a detailed guide to setting up your environment - PHP, MySQL, and the Apache web server - along with extensive troubleshooting information. PHP is the language of choice on nearly 18 million domains, and MySQL has more than five million active users, including industry leaders like Google, the Associated Press, Sony, and NASA. They're open source and free; and with the help of this book, you'll see that they're easy and fun to learn.

From the Author
This book fills an important gap left by "Foundation PHP for Flash", now long out of print and very much out of date. By no stretch of the imagination, though, is it a rehash of the earlier book. It has been completely rewritten to bring it up to date with all the latest versions: PHP 5, MySQL 4.1, and ActionScript 2.0.

While writing the book, the typical reader I've had in mind is someone already comfortable in the Flash authoring environment, and probably with some experience of ActionScript, who wants to add the power of PHP and the MySQL database to Flash movies to create a richer, more interactive experience. Although the book is project-driven, I've deliberately designed each chapter so readers can come back later, find the information they need, and use it as a reference book. I've also incorporated a lot of troubleshooting advice, based not only on my own experience, but on feedback from users in online forums. Rather than just throwing huge chunks of code at you, I explain what the code does, and why I've chosen a particular technique. All the ActionScript is described, too, so the book should also appeal to PHP programmers wanting to improve their ActionScript skills.

I've been using PHP/MySQL for many years, and was delighted that Sham Bhangal agreed to act as my technical editor. Sham's an acknowledged expert on Flash and ActionScript (and the author of many best-selling books on the subject). Between us, I believe we've created a book that will not only take your skills to a higher level, but it's one you'll enjoy reading, too.

See all Editorial Reviews


Product Details

  • Paperback: 684 pages
  • Publisher: friends of ED; 1 edition (March 1, 2005)
  • Language: English
  • ISBN-10: 1590594665
  • ISBN-13: 978-1590594667
  • Product Dimensions: 8.9 x 7.5 x 1.5 inches
  • Shipping Weight: 2.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars See all reviews (16 customer reviews)
  • Amazon.com Sales Rank: #420,401 in Books (See Bestsellers in Books)

Inside This Book (learn more)

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.
(5)
(3)
(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

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

 
42 of 43 people found the following review helpful:
5.0 out of 5 stars Required reading., March 29, 2005
By M. Bhangal "S" (Somewhere in Northern England) - See all my reviews
(REAL NAME)   
The dot.com bubble is long gone from the general public's perception, but one thing is for certain - experienced Flash web designers are one of the most overworked set of people at the moment. Since the last two quarters of 2004, my Flash design consulting work has gone through the roof (and this all the more noticeable because 2003 was *very* quiet for Flash web design).
From talking to other web designers, it is apparent that their phones are also red hot at the moment (summer 2005).

There is a problem though. These new clients don't just want a clever user interface, or some multimedia content. They invariably want Flash to be the front end of a web application. In such projects, Flash is the cool and friendly front end of a server driven system rather than a standalone web interface

Theres a lot of demand out there for flash developers that know about XML, PHP and mySQL, because these are the three technologies most commonly used. Knowing these technologies *and* Flash is also a sure way to double your customer base (and usually also increase your hourly rate...).

The good news is that unlike all competing proprietary systems, XML, PHP and mySQL are all free. They are open source systems.
All you have to do is get them installed on your computer, set up a local and web host, and you have everything you need to start developing or learning.

Um... that's the first of three problems though...

PHP and mySQL are created for the open source community, and that means they don't come in a nice box with a hologram, read-me and an installer that only needs to know which directory you want to install to.

You also need something like Apache installed and running, and theres one or two other apps that make life easier (such as phpMyAdmin). Many designers have been put off by this... you need to install several pieces of software in exactly the right order, and all of them have to work *at the same time* for you to get anywhere.

The first problem solved by this book is that it assumes only knowledge of Flash and basic web design skills, so it leads you by the hand in getting a fully integrated dev system installed and running. I can't tell you how useful this is - open source software is free, but the downside is that it assumes that you know what you are doing!

The second problem is that there's just so much information to take in. Previously, I went out and got several books on PHP, SQL and Apache (plus a few other technologies that I later found were not even needed or were rarely used options), and just didn't know where to start on getting it all up and running with Flash. It took me a good few months to get anywhere. What was missing for me was a book that took Flash as the starting point rather than expect me to figure out where Flash fits in with all these confusing new technologies.

This book goes through the required technologies with a Flash-facing sensibility - `you know Flash already, so I'll start from there and introduce you slowly to the other stuff'. There's only one other book that tackles this route efficiently - and its (a) out of print and (b) sells for extortionate amounts in the second hand market - so foundation PHP5 for flash is currently your best bet in extending Flash skills to server applications.

Finally, there is the problem of knowing what the technology can and cannot do, and how it tends to be set up in practical terms. Even if you know about the link between Flash >> PHP >> back end database, its not clear how the common building blocks (communications, security, etc) are built.

What is really needed is a practical, example based set of tutorials that take you through common problems, rather than the exhaustive reference docs that open source tends to come with. If you look on the web today, theres lots of Flash tutorials on components and ActionScript, but nothing on the important subject of integrating Flash to back end technologies (or it there is, its pretty fragmented). This book is very long, and most of that length is taken up with examples, so it gives you just what you need - practical experience - and lots of it. Even better, the book also provides you with a common library of scripts that (amongst other things) iron out all the really big gotchas and version dependent problems, so you can just get on and design.

So, to conclude...

1. If you are a Flash designer, you need to know back end technologies because that is what the market is currently asking for. You need this book because its contents are fast becoming a necessary skill for the industry you are in.
2. Rather than a single technology, web applications rely on several technologies and applications. Simply getting a development system up and working before you can actually start learning is itself a daunting task. This book tells you exactly what you need and don't need. It is especially good because it concentrates only on the most commonly used (and therefore commercially important) technologies: Apache and PHP/SQL
3. For Flash developers wanting to get into web applications, there is the difficulty in finding *any* material that faces the issue from a Flash centric position that is suitable for designers as opposed to open source gurus. This book takes a Flash centric and totally practical route (as opposed to the more usual theory/reference route that many other books take - something that doesn't often work for designers).

Essential reading.

Disclaimer - I was reviewer on this book. However, it must be said that I *requested* to be reviewer on this book because I strongly believe that it is one of the most important new Flash books to come out in a long time.

Sham Bhangal

Comment Comment (1) | Permalink | Was this review helpful to you? Yes No (Report this)



 
10 of 10 people found the following review helpful:
5.0 out of 5 stars Great book for Flash and PHP/mySQL, May 23, 2005
By SLY (San Fran) - See all my reviews
Unlike many overpriced computer tutorial books, this book delivers on it's promises.

Yes this book shows you how to put your Flash front-end on a PHP/mySQL, database-driven backend in a simple and direct fashion, but more importantly it clarifies lots of the details that are left out in many online and book-based tutorials.

This book took me out of the hazy fog of uncertainty regarding the integration between Flash and PHP and right into the realm of coding my own PHP back-ends. Powers takes a unique and interesting approach by delineating the similarities between Flash's own scripting language, Actionscript, and PHP. PHP and Actionscript, it turns out, are very similar in syntax and have many common functions. This allows anyone with some knowledge of Actionscript to immediately get a grip on PHP.

MySQL is similarly illuminated in this book. Powers, in his section titled "The four essential SQL commands", does in four pages what other books take chapters to do: he outlines just the mySQL you need to get the job done in a direct and clear manner. This part of the book alone is worth the cost of the whole volume.

The tutorials and code samples in this book are all useful and, again unlike other computer code books, require no visits to an errata page to figure out how to make them work--they all work as shown. And don't be fooled by the title--this book works just fine for PHP 4, the predominant version deployed by web hosting companies today.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
8 of 8 people found the following review helpful:
5.0 out of 5 stars What a great book!, September 21, 2006
"Foundation PHP 5 for Flash" by David Powers is a great book, as I've come to expect from both David Powers and his publisher, Friends of ED.

The word "Foundation" in the title may lead you to think this is a beginner's book; it decidedly is not. As stated on the back cover, the book is aimed at the "reasonably experienced Flash user who has mastered the basics." I'd even say that it takes a mastery of more than just the basics to get the most out of this book. Without a very good knowledge of ActionScript, much of the material would be difficult to follow.

That being said, this book is not about ActionScript. It's not even really about Flash. It's a book about PHP -- and a very, very good book about PHP at that. It's also a book about MySQL. Prior to the most advanced chapters, the tie-in with Flash (and ActionScript) is said in one word: LoadVars. Once you get past that, you can pretty much forget about ActionScript for much of the book and focus on learning PHP and MySQL. Although the book does show by example how to get variables between your Flash user and LoadVars in ActionScript, you really do need to be comfortable with the ins and outs of Flash in general and ActionScript in particular in order to make full use of those examples, and this is not the book for learning that part of it. In the more advanced chapters, more ActionScript comes into play, and it can get confusing if you're not already comfortable with it. (I'd liken diving into this book without knowing ActionScript or PHP to learning to speak Spanish and Italian at the same time: at some point, you're going to say "dónde" when you mean to say "dove.")

What this book does cover extremely well is everything that happens on the back end, outside of Flash. The chapters that introduce PHP do much more than just introduce it: they are an excellent tutorial in the language that would even be a great resource for people who just want to learn PHP without having anything to do with Flash. Concepts are explained clearly and completely, and the examples are extremely useful and illustrative. The same can be said for the MySQL chapters: You really do learn MySQL, and not just by breezing through one or two superficial examples as in most PHP books.

The nuts-and-bolts chapters are particularly brilliant. David Powers's walk-throughs on installing Apache, PHP and MySQL are legendary. You simply couldn't ask for a better guide! The appendices -- including 20 whole pages on various things that might go wrong and what to do about it -- are indispensable.

My only criticism is of the often convoluted examples. The author's style is to build up the examples iteratively, retracing and revising the code, step by step, over many pages as you learn new techniques. He will often walk you through the "obvious-but-wrong" way of doing something, then make changes little by little, introducing new concepts along the way. While this is perhaps a good way of learning, it sometimes feels like you're reaching over your head with your right hand to scratch your left ear.

As usual, the Friends of ED name on the cover means you're buying quality. Everything from the paper to the layout to the typography is top-of-the-line. While black-and-white printing usually doesn't work well for Flash books, it's perfectly fine for this book (remember, I told you that this isn't really a book about Flash). The author is very active in the Friends of ED readers' forum, so you can be certain that any questions you have about the examples (or about pretty much anything else for that matter) will be answered by the author himself in great detail if you address them on the forum.

So if you know ActionScript and want to learn how to put a database behind it, or if you're a skilled PHP programmer looking for another way to apply your knowledge, or even if you have no real interest in Flash but want to gain a deep understanding of PHP/MySQL, this is a great book for you. Be prepared to spend lots of time with it -- it's nearly 700 pages and it has zero fluff -- but it is time very well spent indeed.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


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

5.0 out of 5 stars php et flash pour les deux
Vraiment bravo Mister David Powers. Vraiment puissant ce livre. Progressif mais précis, ce livre aborde intelligement la relation entre Flash et PHP pour réaliser des applications... Read more
Published 6 months ago by Vignaux

5.0 out of 5 stars An excellent book for flash and php developers
I have read and studied a lot of books on web development. So far this is the book where I found how the author explicitly and clearly explained every aspects of details. Read more
Published 13 months ago by Romeo G. Savellana

1.0 out of 5 stars JUST FOR PEOPLE WHO KNOWS PHP BUT NOT FLASH BEGUINERS***READ THIS BEFORE PURCHASING
THE BOOK IS EASY TO FOLLOW BUT THE FLASH DESIGNS HAVE TO BE DOWNLOADED SO COMMONSENCE IS IF YOU DOWNLOAD THE WHOLE THING AND THE BOOK DONT TEACH YOU TO DO IT YOURSELF THEN YOU... Read more
Published 18 months ago by Troy Phillips

5.0 out of 5 stars Great Overview of PHP and MySQL, with even some gotchas for your ActionScript
I came to this book with a basic knowledge of ASP and Microsoft SQL Server. Using back end technologies with Flash is quite a change from (X)HTML, and this book really helps you... Read more
Published on May 13, 2007 by D. Davidson

5.0 out of 5 stars Everything I was looking for
I'm a Flash developer transitioning into creating RICH applications and decided you use PHP for that technology. Read more
Published on April 6, 2007 by Michael C. Gilbert

2.0 out of 5 stars OVER RATED FOR NOVICES!
On the upside, the tutorials on installation are excellent. Apache, PHP 5 installation and if you get that far, the MySQL installation are all well described and carefully... Read more
Published on September 17, 2006 by R. Traweek

5.0 out of 5 stars Very good book on integrating php and mysql with Flash
I was very pleased with the book. I like the author's style, and I especially like how the projects are more than your typical "hello world" examples. Read more
Published on July 25, 2006 by J. Carlson

5.0 out of 5 stars Such a rare find, and great writing.
Bah! Who so ever has a bad review concerning this book are those who think that there's a magical, simple solution in making advanced web sites in Flash. Read more
Published on March 13, 2006 by John Nelson

3.0 out of 5 stars Examples are unwieldy.
I didn't care for this book. I was hoping it would go through the basics of sending information from Flash to MySQL via PHP, but it was a disappointment. Read more
Published on March 6, 2006 by Seattle Biker

4.0 out of 5 stars Not exactly what I expected to be
This book is a really good book to start learning PHP. I wished I had this book a couple of years earlier, it would've saved me a lot of time and money. Read more
Published on November 3, 2005 by W. Tang

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]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Great Deals on Magazines

Visit our huge selection of magazine subscriptions often to see the latest special offers and bonuses. Check out magazines like The New Yorker, Wired, and Vanity Fair.
 

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.
 

Don't Slip and Slide

Shop for De-Icing Products
Melt away snow and ice from your driveway this winter with de-icing products from the Home Improvement Store.

Shop all snow removal products

 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

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
Glenn Beck's Common Sense
Glenn Beck's Common Sense
Darkfever
Darkfever by Karen Marie Moning
The Lost Symbol
The Lost Symbol by Dan Brown
$16.17

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