Variables Understanding Variables Data Types Summary Lesson 3... Functions Using Functions Arguments and Return Values Using Library Files Summary Lesson 5.. Working with Number
Trang 1A.3 Aperture
If you own a very fast (think dual-core, and more is more) Mac with (at least) a gig
or (better) two of RAM (think 4 MB) and you're thinking of investing $500 in Capture One, fuggedaboudit Apple's new production processing and workflow software does more and does it at blazing speed It is designed from the ground-up
to perform all the workflow stages you need to perform for either instant high-volume (think news and magazine) or fast turnaround (think ad and publicity
agencies) pros Aperture also does everything Bridge does, as well as having the most essential functionality of Photoshop itself Since it can be made to plug-in to Photoshop, you can still use all the esoteric Photoshop features as well
Trang 2A.4 Adobe Lightroom
On the other hand, if you're a Mac user, before you decide on Aperture, download and test Adobe's Lightroom Beta If you go to
http://digitalmedia.oreilly.com/lightroom, you'll find a whole new "Overview" chapter on the Beta 3 version of Lightroom and exactly what it can do In fact, you'll find a whole web site dedicated to this new product that will keep you up-to-date with what is surely a future workflow linchpin It isn't as pretty to look at as Aperture (although it is quite lovely all the same), or as feature rich
(yet Lightroom is far from finished) On the other hand, Aperture costs more and takes significantly more computer overhead All I'm doing here is telling you what's really worth your consideration The thing about workflow products is that the complexity of workflow takes time and energy to set up and organize So whatever you settle on is going to be very hard to let go of
NOTE
If you're a Windows user (and now the majority of Photoshop users are), Aperture isn't a choice, but Lightroom is now available in a rough beta
The thing that really makes choosing Lightroom a no-brainer is that the routines for adjusting the image include everything we are already familiar with in Camera Raw So there's very little to have to re-learn and a whole lot to gain in terms of speed and efficiency
Trang 3A.5 iView Media Pro
If you're a Windows user and can't wait for Lightroom because you have to speed
up your ranking, winnowing, and filenaming, you can download iView Media Pro's 30-day trial version I've been using it since I started looking into Lightroom and realized what a bottleneck accurate winnowing could be in the process of establishing an efficient workflow A friend at a local ASMP meeting showed me this program after I described Lightroom I immediately downloaded the trial copy, dumped a whole card full of RAW images into its open window and was amazed
to see all the thumbnails appear almost instantaneously You can quickly trash the obvious duds (such as the infamous picture of your feet) To eliminate those
images in which the timing or composition is off, you can instantly click a tab to
go to a full-screen, full-frame view and see them all by pushing the Page Down key, and press a key combo to trash any near misses To get rid of any slightly unsharp photos in a series, double-click the first thumb in that series to see it at 100 percent and page up and down through the series, deleting any image that isn't as sharp as its predecessor There's also a very nice Batch Rename command that works several times faster than doing the same thing in Camera Raw iView will
do much more, but I usually switch over to Camera Raw at that point just because I feel more secure in that environment and because I know I'll be moving on to Lightroom when the time comes
• Table of
Contents
• Index
SAMS Teach Yourself PHP in 10 Minutes
By Chris Newman
Publisher: Sams Publishing Pub Date: March 29, 2005 ISBN: 0-672-32762-7 Pages: 264
Are you one of those people who think there isn't anything
Trang 4substantial that you can do in only 10 minutes? Think again Sams Teach Yourself PHP in 10 Minutes is a no-fluff, just-the-answers guide to building dynamic websites using PHP Broken into 10 minute lessons, you will gain a rapid working knowledge
of PHP 5 and be able to immediately put that knowledge to use
in practical applications Who ever would have thought there was so much you could do in just 10 minutes!
• Table of
Contents
• Index
SAMS Teach Yourself PHP in 10 Minutes
By Chris Newman
Publisher: Sams Publishing Pub Date: March 29, 2005 ISBN: 0-672-32762-7 Pages: 264
Copyright
About the Author
We Want to Hear from You!
Reader Services
Introduction: Welcome to PHP
Who This Book Is For
How This Book Is Organized
Versions of Software Covered
Conventions Used in This Book
Lesson 1 Getting to Know PHP
PHP Basics
Your First Script
Summary
Lesson 2 Variables
Understanding Variables
Data Types
Summary
Lesson 3 Flow Control
Trang 5Conditional Statements
Loops
Summary
Lesson 4 Functions
Using Functions
Arguments and Return Values
Using Library Files
Summary
Lesson 5 Working with Numbers
Arithmetic
Numeric Data Types
Numeric Functions
Summary
Lesson 6 Working with Strings
Anatomy of a String
Formatting Strings
String Functions
Summary
Lesson 7 Working with Arrays
What Is an Array?
Array Functions
Multidimensional Arrays
Summary
Lesson 8 Regular Expressions
Introducing Regular Expressions
Using ereg
Summary
Lesson 9 Working with Dates and Times Date Formats
Working with Timestamps
Summary
Lesson 10 Using Classes
Object-Oriented PHP
What Is a Class?
Creating and Using Objects
Summary
Lesson 11 Processing HTML Forms Submitting a Form to PHP
Processing a Form with PHP
Creating a Form Mail Script
Trang 6Summary
Lesson 12 Generating Dynamic HTML
Setting Default Values
Creating Form Elements
Summary
Lesson 13 Form Validation
Enforcing Required Fields
Displaying Validation Warnings
Enforcing Data Rules
Highlighting Fields That Require Attention
Summary
Lesson 14 Cookies and Sessions
Cookies
Sessions
Summary
Lesson 15 User Authentication
Types of Authentication
Building an Authentication System
Summary
Lesson 16 Communicating with the Web Server HTTP Headers
Server Environment Variables
Summary
Lesson 17 Filesystem Access
Managing Files
Reading and Writing Files
Summary
Lesson 18 Host Program Execution
Executing Host Programs
The Host Environment
Security Considerations
Summary
Lesson 19 Using a MySQL Database
Using MySQL
Executing SQL Statements
Debugging SQL
Summary
Lesson 20 Database Abstraction
The PEAR DB Class
Database Portability Issues
Trang 7Summary
Lesson 21 Running PHP on the Command Line
The Command-Line Environment
Writing Scripts for the Command Line
Summary
Lesson 22 Error Handling
Error Reporting
Summary
Lesson 23 PHP Configuration
Configuration Settings
Configuration Directives
Loadable Modules
Summary
Lesson 24 PHP Security
Safe Mode
Other Security Features
Summary
Lesson 25 Using PEAR
Introducing PEAR
Using PEAR
Summary
Appendix A Installing PHP
Linux/Unix Installation
Windows Installation
Troubleshooting
Index
Copyright
Copyright © 2005 by Sams Publishing
All rights reserved No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher No patent liability is assumed with respect to the use of the information contained herein Although every precaution has been taken in the preparation of this book, the
Trang 8publisher and author assume no responsibility for errors or omissions Nor is any liability assumed for damages resulting from the use of the information contained herein
Library of Congress Catalog Card Number: 2004098028
Printed in the United States of America
First Printing: April 2005
08 07 06 05 4 3 2 1
Trademarks
All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized Sams Publishing cannot attest to the accuracy
of this information Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark
Warning and Disclaimer
Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied The information provided is on an
"as is" basis The author and the publisher shall have neither liability nor
responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book
Bulk Sales
Sams Publishing offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales For more information, please contact
U.S Corporate and Government Sales
1-800-382-3419
corpsales@pearsontechgroup.com
For sales outside of the U.S., please contact
International Sales
international@pearsoned.com
Trang 9Credits
Acquisitions Editor Shelley Johnston
Development Editor Damon Jordan
Managing Editor
Charlotte Clapp
Senior Project Editor Matthew Purcell
Copy Editor
Kitty Jarrett
Indexer
Chris Barrick
Proofreader
Paula Lowell
Technical Editor
Sara Goleman
Publishing Coordinator Vanessa Evans
Interior Designer
Gary Adair
Trang 10Cover Designer Aren Howell Page Layout Susan Geiselman