Japan Interface - Computer bookshelf

84 items found in all categories.
Displaying page 1 out of 14.

Foundation PHP 5 for Flash

David Powers

friends of ED, 2005

book coverThis is a book I wrote myself, so the review is by no means impartial. I think it's the best thing since sliced bread. I hope you do, too.

Are you a reasonably experienced Flash user who has certain mastered the basics, but wished you could take your SWFs further into the realm of dynamic data rich applications? Well, look no further.

Foundation PHP 5 for Flash brings together three of the web's hottest technologies - Flash, the server-side language PHP, and the MySQL database system. It's bang up to date, using ActionScript 2.0, PHP 5.0, and MySQL 4.1, but 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 in the learning you are 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 complex 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, you move on to more advanced subjects such as creating databases with MySQL Monitor and phpMyAdmin, manipulating database data through 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.

Web Designer's Reference

Craig Grannell

Friends of ED, 2004

book coverThis is my second collaboration with Craig Grannell, this time as technical editor (previously we were co-authors of Foundation Dreamweaver MX 2004). Craig is a talented web designer, who is passionate about web standards, and in my opinion, he's put together a very practical and readable guide. As the book's subtitle says, it's "an integrated approach to web design with XHTML and CSS".

Although the title makes it sound dry and academic, nothing could be further from the truth. It's a practical, hands-on book about building stylish web pages with CSS. There are chapters devoted to text, navigation, tables, and the CSS box model. But it's not just about CSS. Craig covers all the essentials for working with web pages. He hates frames, but acknowledges that they can be useful in the right context, and devotes a chapter to highlighting the pitfalls and how to avoid them. There are also chapters on choosing the best HTML and image editors, and a brief chapter on multimedia.

As technical editor, it was my job to test all the code to make sure that it worked. It does. What I liked particularly about Craig's approach is that he doesn't simply give you the CSS style rules for a drop cap and leave it at that; he shows you step-by-step what each rule is doing. Consequently, you end up not only knowing how to create a nice text effect, but also understand how the rules interact with each other. He takes the same approach with pull quotes, navigation, and restyling the same content in different ways.

My other role as technical editor was to make sure that Craig had got his facts right, and that everything was up to date with the latest versions of the W3C standards. Where there was any doubt, we pored over the specifications (not the most user-friendly of documents) until we were satisfied. The result is an accurate and user-friendly guide to all aspects of web page design that should appeal to beginner and expert alike.

Beginning PHP 5 and MySQL: From Novice to Professional

Jason Gilmore

Apress, 2004

book coverIf I have a complaint about this book, it's the title. It gives the impression that a beginner might be able to use it to learn PHP and MySQL from scratch. Not really. It's much more of a reference book that will be of value to anyone from novice to professional. It covers just about every aspect of PHP 5 - from basics, such as datatypes and variables, to advanced subjects like the new object-oriented syntax.

The book is laid out in much the same way as a grammar book, with a chapter on funtions, another on arrays, two on OOP. There's also coverage of file handling, strings and regular expressions, as well as the new error and exception handling features of PHP 5, using try, throw and catch. All the main functions are laid out under separate headings, usually with one of two useful examples of how they work.

A nice touch is that Jason Gilmore doesn't restrict himself to core PHP. He also introduces some PHP add-ons, like templating with Smarty, and the very useful RSS feed parser, MagpieRSS. Before moving on to MySQL, there's also a chapter on SQLite, the lightweight, but very powerful relational database system that's now an integral part of PHP.

The MySQL section of the book is much shorter, but it covers all the essential ingredients for getting a MySQL database working with PHP. The book was written before MySQL 4.1 was generally available, so there's no coverage of mysqli, the Improved MySQL extension that's new to PHP 5.

If you're looking for a good reference book for PHP 5, this is the best one I've found so far. If you're a beginner who wants to learn PHP from scratch, I would recommend "PHP and MySQL Web Development" by Welling and Thomson. Or if you want to learn PHP in a Dreamweaver context, either of the books I have co-authored, "Foundation Dreamweaver MX 2004" and "PHP Web Development with Dreamweaver MX 2004".

Adobe Photoshop CS: Classroom in a Book

Adobe Systems

Adobe Press, 2004

book coverNormally I'm wary of instruction books that carry an "official" title from the producer of software, but several Photoshop users strongly recommended this book to me - and they were right. It's superb. I have used Macromedia's Fireworks for many years, and was completely at a loss trying to find my way around Photoshop. Everything looks so familiar, but often works in a completely different way. This book had me doing things with ease in no time at all, and made me realize why Photoshop has such a loyal following. Many of Photoshop's features make Fireworks pale by comparison.

What's pleasing about this book is that, although it's very friendly towards complete newcomers to Photoshop like myself, it doesn't waste any time before getting into sophisticated techniques. Consequently, it's likely to be of just as much value to advanced users wanting to get to know the new features of Photoshop CS. The book comes with a CD-ROM containing all the images for the exercises, and most of them are stunning.

Because Photoshop's core user base originated with print designers, a couple of chapters focus on issues that will be of less interest to web designers, such as working with CYMK separation. Several chapters, though, are devoted to creating images specially for the web in both Photoshop and Image Ready, which comes bundled with it. There's also a chapter on colour adjustment for monitors running on the Windows and Mac platforms.

The problem with Photoshop is that it's such a massive program, with so many features, I found I was beginning to forget things the deeper I moved into the book. I'm going to have to come back to it again and again until I learn to stand more on my own feet with Photoshop. The combination of the clear writing and beautiful images will make that a pleasure, not a chore.

Web Standards Solutions

Dan Cederholm

friends of ED, 2004

book coverDan Cederholm's personal website and company are called SimpleBits, a name that could equally apply to this nifty, little book. For anyone already deep into CSS, this book is probably a bit too simple, but for anyone still yet to be convinced of the value of embracing web standards, this is likely to be an ideal introduction. It's also perfect for designers who've decided to take the pluge, but still can't get their head around CSS. Although Dan's approach to design is "keep it simple", that doesn't mean boring or plain. What he demonstrates in chapter after chapter is that you don't need complex markup to achieve elegance. By keeping things simple, the accessibility of a site is also greatly enhanced.

One of the first things you notice on opening the book is that the Foreword is written by none other than Jeffrey Zeldman, the great-granddaddy of web standards advocates. As he puts it, Dan Cederholm offers "clear examples and no wasted words" of how to design clean, lightweight web pages. Whereas Zeldman's own book, Designing with Web Standards (also reviewed on this site), is more of a treatise on why such standards are so important, this is a practical guide to their implementation. It covers navigation menus, styling lists, hyperlinks, text, background images, etc, etc. Usually each example requires only a few lines of CSS, and in line with his principle of keeping things simple, Dan Cederholm shows you how to avoid becoming "class happy". If you don't know what that means, then perhaps you should just drop everything now, and order this book immediately. Being class happy is a stage that just about everyone new to CSS goes through (I know, I've done it myself), applying classes to just about everything in sight, ending up with markup that's almost as complex as the font tag soup it's intended to replace.

Even though I've been working with CSS for several years now, I still found quite a few fresh ideas in this book, particularly on the use of less frequently explored tags, such as cite and q. I also found a lot of honesty. I was particulary wary when I approached one of the final chapters - on the controversial subject of image replacement. Dan Cederholm demonstrates three of the main ways of using background images to replace text, and highlights both their advantages and drawbacks, before going on to demonstrate how they can be used effectively in a way that doesn't damage a site's accessibility. The final chapter also shows how a site can be composed of both two-column and three-column pages with just a simple change of class.

All very simple - deceptively so.

Flash MX 2004 ActionScript: Training from the Source

Derek Franklin & Jobe Makar

Macromedia Press, 2004

book coverAs someone already familiar with ActionScript 1, I've used this book to dip into, rather than follow the 20 lessons in strict sequence. I hadn't used Flash for a while, and wanted to get up to speed quickly with ActionScript 2.0 and things like version 2 components and the Shared Object. Although each lesson is meant to take one and a half to two hours, most of them are split into discrete sections that can be completed on their own; and the accompanying CD-ROM contains .fla files for each stage, so it's easy to pick up and leave at any point.

The book follows strict ActionScript 2.0 data-typing, but the instructions are easy to follow, and accompanied by succinct explanations of the underlying theory and language structure. The logical layout means I often turn to this book as a reference, but I expect I'll no longer do that when something more substantial comes out, such as Colin Moock's "Essential ActionScript 2.0" or Sham Bhanghal's "Designer's ActionScript Reference".

The book is targetted primarily at people with little or no experience of ActionScript, and it should certainly give them a strong foundation in all basic aspects of scripting for Flash. What it lacks in comparison with Sham Bhangal's "Foundation ActionScript for Flash MX 2004" is the sense of fun or the feeling that you're building something that eventually ties all together. Because each lesson involves one or more standalone projects, no clues are given as to how different elements might be made to interact in a complete application. Another disappointment was that the LoadVars and XML lessons work only with ASP. Nevertheless, it's a good, solid book that will appeal to many.

© 2002-5, Japan Interface. All rights reserved.