Book Excerpt:  CSS Cookbook
613008
Using a sample design, a web page is transformed from a browser-friendly page to a browser and a printer-friendly page through CSS coding.
451308
Over on the Zend Developer Zone today, Akash Mehta has written up  a review of a book from Packt Publishing, "PHP Web 2.0 Mashups" (by Shu-Wai Chow):    As it's title suggests, PHP Web 2.0 Mashup Projects is a demonstration of the various techniques available for developing mashups in PHP. Through a highly practical format, Shu-Wai takes the reader through a series of projects utilising different web services and APIs, while carefully exposing the reader to a wide variety of technologies and data formats.   With careful selection and shaping of language, the book is an extremely effective introduction to the world of mashup development with PHP.    Akash talks about the contents of the book (the different projects it covers) and how the book provides a version useful resource to those just getting into the mashup world - a reference guide to some of the popular data transfer methods/formats out there.
146149
An introduction to using refactoring, unit testing and ZenTest on existing code.
468934
In the third edition of their book Build your own Database Driven Website using PHP and MySQL", the author briefly covers some of the points made in the book, including chapter names:  Installation Getting Started with MySQL Getting Started with PHP Publishing MySQL Data on Web
177344
P&aacute;draic Brady is back today with the latest installment (part 5!) of his look at complex views in the Zend Framework. This time, her focuses on something called the Two-Step Pattern - a pattern similar to the Layouts pattern.   Part 5 of our series takes a small time-out from approaching a Composite View solution to reusable Views to take a peek at a simpler approach useful for simpler types of web applications. As we've discussed previously Composite Views allow the nesting of reusable View elements, effectively building a View based on a hierarchy of Views. But often there are simpler solutions to simpler problems. One such solution is the Two-Step View pattern, sometimes called Layouts if implemented in a specific way (as we do below!).   He gives the example of a simple website that needs a header and footer on every page. Rather than having to duplicate the header/footer calls across all of the pages, the Layout (Step-Two) pattern defines a single template that contains the header and footer but also uses a "main" area where the content is dynamically inserted.   He includes a full code example to help illustrate the point - a class, Zps_View, that is fed the path to the layouts and the layout files to use before rendering.
153228
What's new in search? Found in the forums: Content on an E-commerce Site; Implications of CSS Layouts on SEO; First Year at SES NY; and more.
749334
This article is from a new book published by No Starch Press: Ubuntu Linux for Non-Geeks: A Pain-Free, Project-Based, Get-Things-Done Guidebook by Rickford Grant. &nbsp;This excerpt covers using your iPod with Ubuntu and it is full of tips, tricks, and helpful pointers. &nbsp;Reprinted with permission from No Starch Press, all rights reserved. &nbsp;More information about the book and its author is at the end of the article.
246639
In his continuing effort to redesign his blog, Shiflett.org, he's been working on one of the things that really makes a blog useful - the commenting system. Specifically, he wants site visitors to be able to add their own code listings to the comments they post. He gives more detail in this new post.   I've been playing with this tonight. Feel free to follow along as I go. The first thing you want to do is create an ordered list from the code you want to format ($code in these examples).   He gives an example of a listing using his system and explains how it all works. It's a mixture of:  PHP for parsing the data inside the 'code' tags CSS to correctly style the information, whitespace and all Some ini settings to set parameters for... ...the use of highlight string on the PHP code contents  A little str_replace magic later and you have list items styled as code blocks on your page. Check out his demo for an example.
268545
The PHP Group has announced some big updates to one of the finest manuals for an open source project out there today - the manual found on the PHP website.   Updates to the manual include:  an improved, XSL-based build system that will deliver compiled manuals to mirrors in a more timely manner (goodbye dsssl) manual pages can now contain images (see imagearc() for an example) updated function version information and capture system (fewer "no version information, might be only in CVS" messages)    Of course, help from the community helps things even more, so they request helping out or just submitting bug reports for problems found in the documentation or user comments.
367350
David Skalr shares some good news on the publishing front - the latest version (second edition) of the "PHP Cookbook" is rolling off the presses.   The new edition of PHP Cookbook is on the way! I got one copy yesterday, so it should be making its way into bookstores and online-bookstore-warehouses any day now.   Updates included in this edition are:  revamped XML and OOP sections new PDO information information on testing code performance tuning regular expressions  Check out the O'Reilly page of the book for complete information.
255251
A few simple changes--and some useful keyboard shortcuts--let you work faster and smarter in your browser.
595176
From Sonspring.com, there's a quick tutorial on a simple way to make "time-sensitive CSS" for your site.   Recently, there's been some discussion on the Godbit forum about how to serve dynamic, time sensitive CSS with PHP. I got to thinking, and the steps necessary to make this work are actually pretty easy. First off, let me say that most hardcore programmers will probably scoff at the simplicity of these examples. However, a hardcore programmer I am not, so basic tutorials are what I enjoy. Also, please know that this is not an exercise in JavaScript / Ajax. It is simply a way to provide unique CSS based on date and time.   They include examples of what the result of the code is for two different methods - the month-based CSS and the PHP + CSS Clock approaches. Their examples are just the sample uses of the code, but they also make each available for download. Check out all of the comments for even more tips!
466722
On his blog today, Cocoliso talks about a handy bit of code to allow for syntax highlighting in your page - Geshi.   What if I told you that with as little as 3 lines of code, you could highlight code on your site? You'd jump at it, wouldn't you? Why not run with the big boys? Your users will love you for it and for good reason. It greatly increases readability.   He walks through the simple installation and how to use it in your page - complete with the code he uses to include the functionality in your page.
565608
This week you're going to learn how to create a Color Picker similar to the one used in Photoshop, but entirely in JavaScript! By Mark Kahn. 0901
563017
Over on the KillerPHP blog today, there's four new book review postings covering a wide range of books for all skill levels and all from O'Reilly.   The books he (quickly) reviews are:  Build Your Own Database Driven Website Using PHP & MySQL PHP Hacks Programming PHP, Second Edition Learning PHP & MySQL  Overall, he enjoyed and would recommend the books, but each of them definitely has their place in a developer's learning process as well as their own unique fit as far as what the developer needs (ex. quick hacks versus general information).
632254
Harry Fuecks has gotten busy and posted the third part of his "Joy of Regular Expressions" series over on the SitePoint PHP Blog today.   Following on from the last part, this one is more of an intermission-a round up of regex syntax seen so far and a couple of links following feedback.   He looks at two different topics:  A "must reads" section of resources for getting the most out of regular expressions A comprehensive "cheat sheet" with tips on expression delimiters, literals, pattern modifiers, character classes, quantifiers, assertions, sub-patterns, and working with the blackslash.
729970
Cascading Style Sheets are an important element of current web design. Today, Lee Underwood examines Westciv's Style Master, an application dedicated to the creation and tweaking of Style Sheets. 0705