PHP - MYSQL - LAMP stuff

Enrico Zimuel's Blog: PHP session sharing using Zend Server CE and MS SQL Server

Zend feed for PHP news & articles - Sun, 2010-04-18 13:57
With several articles out there about sharing session across multiple servers on databases, there seemed to be a lack of examples that used SQL Server to do it. Enrico Zimuel has helped to solve that problem with his new post on using Zend Server and SQL Server to persist the session data.

php|architect: Exclusive: Preparing for the Zend Framework Certification Exam

Zend feed for PHP news & articles - Fri, 2010-04-16 10:18
In a new article from php|architect Joel Clermont shares a few helpful hints on what he did to help prepare for the Zend Framework Certification Exam.

April's ZF Bug Hunting Days In Progress

Zend feed for PHP news & articles - Thu, 2010-04-15 15:35
While there are the normal reasons to join the bug hunt, and I'll list them below, there's another big reason this month: the top three contributors to this hunt will receive a free subscription to php|architect ! I'd like to thank Marco Tabini and php|architect for sponsoring this excellent prize!

Scalars and Variables

Dev Shed Articles - Thu, 2010-04-15 13:00
In this fourth part of a five-part series on scalars in Perl, you learn how to compare the value of strings; we'll also wrap up our discusssion of operators and move on to variables. This article is excerpted from chapter two of the book Beginning Perl, written by James Lee (Apress; ISBN: 159059391X).
- String Comparison As well as comparing the value of numbers, we can compare the value of strings. This does not mean we convert a string to a number, although if you say something like quot;12 quot; gt; quot;30 quot; , Perl will convert to numbers for you. This means we can compare the stri...

Announcing April's ZF Bug Hunting Days

Zend feed for PHP news & articles - Wed, 2010-04-14 14:34
Tomorrow and Friday, 15-16 April 2010, Zend Framework will host its monthly bug hunt. For those of you unfamiliar with the event, each month, we organize the community to help reduce the number of open issues reported against the framework. This year has had a bit of a rocky start -- we skipped the hunt in January due to the pending 1.10 release, and again last month as we started our work on Zend Framework 2.0 -- we'd like to get back into the rhythm again.

Validating Incoming Data with the Strategy Design Pattern

Dev Shed Articles - Wed, 2010-04-14 13:00
If youve been doing some research lately on the web about how to implement different design patterns, be it in Java, PHP or Python, you'll probably have noticed that the Strategy pattern is one of the most popular contenders in the field. It has been covered countless times in all types of media, ranging from books and magazines to e-zines and personal blogs. In this article series, I'll show you how to use this popular design pattern to accomplish one of the more common tasks a website must perform: validating user-supplied data.
- Logically, theres a reason for the Strategy design pattern's well-deserved popularity: unlike the Composite and Decorator patterns, which are also important to pattern-driven programming, the logic that stands behind Strategy is much easier to grasp, and its implementation in several languages is f...

ZendCasts.com: Ajaxify Your Zend_Form Validation with jQuery

Zend feed for PHP news & articles - Tue, 2010-04-13 16:05
New from ZendCasts.com there's a screencast that will help you ajaxify your Zend_Form instance with the help of jQuery .

The Android Revolution

Dev Shed Articles - Tue, 2010-04-13 13:00
Weve discussed Googles Android Operating System before as it pertains to Verizon partnering with the tech giant or the systems specific capabilities, but theres a lot to catch up on, as is often the case with Google. There are now a ton of Droid systems already on the market, with more coming. Keep reading as we take a closer look at the state of the market.
- Not only is the Droid system most favored among developers (as well soon learn), but since the operating systems release in October of 2008, an unprecedented number of smartphones (and e-readers, among a few other gadgets) now use the system. By the end of 2009, Google expected there to be 18 Androi...

Happening Now: O'Reilly MySQL Conference & Expo 2010 - MySQL: An Ecosystem, Not Just a Company

O'Reilly ONLamp - Mon, 2010-04-12 17:24
The O'Reilly MySQL Conference & Expo is now underway at the Santa Clara Convention Center. Check the O'Reilly MySQL Conference & Expo site for news coverage and more. Morning events include: MySQL Cluster Tutorial with Andrew Morgan (Oracle), Geert Vanderkelen (Sun Microsystems), Andrew Hutchings (Oracle Corporation) MySQL Configuration Options and Files: Basic MySQL Variables (Part 1) with Sheeri K. Cabral (The Pythian Group) MySQL Dual Master Setups with MMM with Arjen Lentz (Open Query), Walter Heck (Open Query) The Replication Tutorial with Mats Kindahl (Sun Microsystems), Lars Thalmann (MySQL) Using Partitioning in MySQL 5.1 and 5.5 with Giuseppe Maxia (Oracle) Diagnosing and Fixing MySQL Performance Problems with Baron Schwartz (Percona Inc.), Morgan Tocker (Percona, Inc.) MySQL DBA Certification Tutorial, Part 1 with Kai Voigt (Sun Microsystems)

Implementing More Methods of the ArrayAccess SPL Interface

Dev Shed Articles - Mon, 2010-04-12 13:00
In this fifth part of a six-part series on the Iterator, Countable and ArrayAccess SPL interfaces, I implement the rest of the methods declared by the ArrayAccess SPL interface within the “MySQLi_ResultWrapper” class that you saw in a previous part. Once this process is completed, the class will be able to treat records in database result sets as if they were plain array elements.
- If youre a PHP developer who frequently builds object-oriented web applications, then its possible that youve already worked with user-defined interfaces. PHP 5 offers strong support for them, among the numerous features that make up its highly-enhanced object model. However, the support for in...

Brian Aker on post-Oracle MySQL - A deep look at Oracle's motivations and MySQL's future

O'Reilly ONLamp - Fri, 2010-04-09 17:19
In time for next week's MySQL Conference & Expo, Brian Aker discussed a number of topics with us, including Oracle's motivations for buying Sun and the rise of NoSQL.

PHPBuilder.com: Search Google Books with the Zend Framework's Zend_Gdata Component

Zend feed for PHP news & articles - Fri, 2010-04-09 14:54
On PHPBuilder.com today there's a new article by Jason Gilmore about how you can use the Zend_Gdata component of the Zend Framework to work with the information stored in Google's "Books" web services.

Scalars and Boolean and String Operators

Dev Shed Articles - Thu, 2010-04-08 13:00
In this third part of a five-part series on scalars in Perl, we continue our study of operators, moving on to Boolean and string operators. This article is excerpted from chapter two of the book Beginning Perl, written by James Lee (Apress; ISBN: 159059391X).
- The NOT Operator Finally, you can flip the number completely, and replace all the 1s by 0s and vice versa. This is done with the not, or ~, operator: 85 01010101 170 10101010 Lets see, however, what happens when we try this in Perl: #!/usr/bin/perl -w # bitop2.pl print q...

The Data Mapper Design Pattern: A Final Example

Dev Shed Articles - Wed, 2010-04-07 13:00
Welcome to the final part of a series on implementing the Data Mapper design pattern in PHP 5. This series teaches you the key concepts that surround the development of data mapper classes. It complements the corresponding theory with a decent variety of code samples.
- And now that you've been introduced to the primary goal of this series, its time to review the topics that were discussed in the previous part. In the course of that tutorial I finished building a basic data mapper class, which in this particular case was responsible for mapping user domain object...

Trait-like Functionality for PHP

Zend feed for PHP news & articles - Tue, 2010-04-06 19:55
Eliminating repetition and encouraging code reuse are central tenets of software development. PHP’s lack of multiple inheritance means sometimes there are tough design choices to be made when similar functionality is required in separate branches of the class heirarchy. As proposed in the Horizontal Reuse for PHP RFC, traits offer a means of duplicating functionality in independent classes. In this post, I’ll be detailing an approach that offers trait-like functionality to your objects in an intuitive and straightforward way.

Flex and Zend Framework - Part 1

Zend feed for PHP news & articles - Tue, 2010-04-06 15:46
It would be a fair statement to say that I have not paid attention to Flash for several years. Obviously I know that those awesome interfaces for movie web sites are made in flash, as are those annoying video ads that start screaming at you as soon as you load up a page, competing with Megadeth on Rhapsody, cranked out on the 700 watts of power I have in my office. But the last time I really looked seriously at Flash was almost a decade ago and I was thrilled at tweening widgets from one place to another. Unfortunately, there's not really any benefit to tweening a text box. Cool? Yes. Practical? No. So I never really picked it up. Plus I was cheap. That is the reason why I had not really been paying attention to Flash for the past several years. I generally don't look into something if it's cool. I look into something if it is practical. Flash, generally, is meant to be, well, flashy. And it is. But for someone such as myself, I didn't think I had much of a reason to pay attention. Until now...

Using the ArrayAccess SPL Interface

Dev Shed Articles - Tue, 2010-04-06 13:00
In this fourth part of a six-part series, that covers the Iterator, Countable, and ArrayAccess SPL interfaces, I show how to partially implement the methods declared by the ArrayAccess SPL interface within a sample class that manipulates MySQL result sets.
- This isn't breaking news certainly, but as you may have heard, PHP 5 comes packaged with a powerful set of functions, classes and interfaces commonly know as the Standard PHP Library (SPL), which can be used for tackling typical problems present in day-to-day programming without having to reinvent t...

Checking Native and User-Defined Classes with the Reflection API

Dev Shed Articles - Mon, 2010-04-05 13:00
Welcome to the final part of a series on the Reflection API. Through a decent variety of functional code samples, this series shows you how to take advantage of the power offered by reflection to analyze the internal structure of your classes and interfaces by using an object-oriented approach.
- And now that you've been introduced to the main goal of this series, I'd like to spend a few moments refreshing the topics that were covered in the last article. In that tutorial I explained how to utilize a couple of methods included with the reflection API to determine if a specified class was de...

Zend Framework 1.10.3 and 1.9.8 Released

Zend feed for PHP news & articles - Thu, 2010-04-01 21:46
The Zend Framework team announces the immediate availability of two versions of Zend Framework: 1.10.3 and 1.9.8. In addition to around 80 bugfixes between them, these two releases are security releases. You may download it from the Zend Framework site . A couple weeks ago, the Dojo Foundation announced a security advisory regarding Dojo Toolkit , which Zend Framework bundles in its releases. The new releases of Zend Framework incorporate the updates made to Dojo Toolkit.

Brandon Savage's Blog: Making Zend_Navigation Useful

Zend feed for PHP news & articles - Thu, 2010-04-01 15:11
As a follow-up to his previous post on Zend_Navigation Brandon Savage takes a look at how to make it more useful by using some of the methods that come bundled with the component.