PHP - MYSQL - LAMP stuff

Rob Allen's Blog: Zend Framework, IIS and 500 errors

Zend feed for PHP news & articles - Fri, 2010-03-05 04:53
If you've been using the Zend Framework on a Windows platform (running IIS as the web server) and have been getting some 500 errors and have been left lacking the detail you need on the problem, you should read this new post from Rob Allen about an IIS setting that can help you out.

System i Network's IBM i Essentials 2010 Virtual Conference will feature PHP!

Zend feed for PHP news & articles - Fri, 2010-03-05 04:40
This FREE event will help you learn how to leverage the power of the IBM i platform to develop, deploy and manage web applications. The Virtual Conference has the advantages of a traditional conference without any of the travel time and cost! Attend an educational session, ask questions, visit a trade show booth, interact with other industry professionals and pick up valuable literature – all from the comfort of your office!

How to avoid Identity Theft in Zend Framework with Zend Auth

Zend feed for PHP news & articles - Fri, 2010-03-05 04:30
While there are many major security issues possible in a web application, there is a particular one that bugged me for some time. The Identity theft - Broken account and session management issue. Why can one so easily still my session id cookie and suddenly gain access to my account in one particular web application? I know it its rather impossible to make this 100% hack-proof but I strongly believe that the system should be improved as much as possible. Our goal is to implement a Zend Auth extension that adds a new level of security to the previously mentioned class. This extension - let's call it Project_Application_Auth - would check the Zend Auth storage for the IP and/or User Agent. In order to do so, these should be set in the login process in the storage. If the IP is different then the initial IP from the login process and / or the User Agent is not the same as the initial User Agent from the login process, then our extension would tell us that it is not a secure identity (aka it is safe to assume it has been stolen) and thus we should disconnect the user.

Using Restrictive Constructors in PHP 5

Dev Shed Articles - Thu, 2010-03-04 14:00
What exactly is a restrictive constructor, and why would you want to use one? If you're a PHP programmer who uses such design patterns as Singleton and Factory, this series of articles on restrictive constructors will give you another tool to use in your applications.
- As you'll probably know, with the release of PHP 5 quite some time ago, the language was provided with the ability to specify the visibility of properties and methods in classes, something that had already been implemented in more mature programming languages such as Java and C++. In a pretty str...

Getting Information on a Reflected Class with the Reflection API

Dev Shed Articles - Wed, 2010-03-03 14:00
In this second part of a series, I explore some handy methods of the PHP Reflection API. They allow you to retrieve miscellaneous information about a class, including its name and containing file, as well as its starting and ending lines.
- Overlooked by many developers, the Reflection API that comes with PHP 5 is a powerful reverse-engineering extension of the language that permits developers to analyze, inspect and retrieve valuable information about selected classes and interfaces by means of a set of convenient methods. So, if y...

Juozas Kaziukenas' Blog: Don't be afraid of PHP 5.3

Zend feed for PHP news & articles - Tue, 2010-03-02 22:15
Juozas Kaziukenas has a suggestion for all of those developers (and web applications) out there that are still resting back on their comfort zone of PHP 5.2 - don't be afraid of PHP 5.3 , the earlier the adoption the better!

ZendCasts.com: Creating Custom Zend_Form Decorators

Zend feed for PHP news & articles - Tue, 2010-03-02 21:15
On ZendCasts.com today there's a new screencast aimed at showing off custom Zend_Form decorators for your Zend Framework application.

Connecting Flex 4 and RESTful Web Services using Zend Framework

Zend feed for PHP news & articles - Tue, 2010-03-02 19:04
With Adobe’s latest incarnation of the Flex Framework and the Flash Builder integrated development environment ( IDE ), creating truly engaging front-end clients is now more streamlined. Some of the useful tools and features covered in this article are the Data/Services, Test Operation, and Network Monitor additions to Flash Builder. In this article, I explain how to set up a simple Representational State Transfer ( REST ) service using the Zend Framework 1.9 locally and connect to it in the Flex 4 application.

Introducing the Reflection API in PHP 5

Dev Shed Articles - Tue, 2010-03-02 14:00
In this first part of a series, we'll begin exploring some of the methods included with the Reflection API bundled with PHP 5. The interface allows developers to collect relevant information about a reflected class, including its name, its declared constants and properties, in a extremely straightforward way.
- Even though PHP is intrinsically a weakly-typed language, as it doesnt internally impose any constraints on the types of values that can be held by a given variable (with the exception of type hinting and type casting), its introspective capabilities are quite impressive indeed. Native old functio...

Swift Mailer's Batchsend Method and Other Features

Dev Shed Articles - Mon, 2010-03-01 14:00
Welcome to the final part of a ten-part series that shows you how to use the Swift Mailer library to build email applications. This final part of the series will explain how to use the batchsend() method, and how to specify the Return-path MIME header within emails.
- Frankly speaking, building a full-featured email application with PHP has always been a challenging task, even for seasoned developers. The process often demands that developers deal directly with the internals of both the SMTP and POP3 protocols, and it's worse if the application must provide su...

NestedSetDbTable class

Zend feed for PHP news & articles - Sat, 2010-02-27 21:47
API for managing nested sets of data stored in a database. NestedSetDbTable class extends Zend_Db_Table_Abstract, to provide custom functionality for working with database tables that has hierarchical data in them data.

PHP.net: PHP 5.2.13 Released!

Zend feed for PHP news & articles - Fri, 2010-02-26 18:03
As mentioned on the main PHP site today, the latest version in the PHP 5.2 series has been released - PHP 5.2.13 .

What's New in O'Reilly Answers - Editing .mp4 files, considering ebook readers, background images in Dreamweaver, Apache help and much more!

O'Reilly ONLamp - Fri, 2010-02-26 15:58
Editing mp4 files with Final Cut Pro or other Mac based applications What is the best ebook reader these days? Dreamweaver background image about .bash_history file Is it standard practice to give the web user apache full read/write/execute privileges to the files and folders within the webroot? Share knowledge, ask questions on O'Reilly Answers today.

Four short links: 25 February 2010 - Rap Python, Being Believed, Hot Maps, and Old School Secrets

O'Reilly ONLamp - Thu, 2010-02-25 16:27
gheat -- add a heatmap layer to a Google Map. For more on its design and implementation, read Chad Whitacre's blog. This and more in today's Four Short Links.

Embedding Attachments into Email Messages with Swift Mailer

Dev Shed Articles - Thu, 2010-02-25 14:00
In this ninth part of a ten-part series, you'll learn how to use a couple of methods provided by Swift Mailer to directly embed attachments into email messages. These can be very helpful when sending newsletters that contain numerous images, which you dont want to be filtered and discarded by popular web-based email systems such as Hotmail and Yahoo.
- Among the huge variety of email libraries written in PHP 5, there's one that stands out from the rest due to its well-structured programming interface, strict use of the object-oriented paradigm, and (if all of these features aren't good enough for you), its incredibly flat learning curve. Of cours...

Padraic Brady's Blog: PHP Framework Benchmarks: Entertaining But Ultimately Useless

Zend feed for PHP news & articles - Thu, 2010-02-25 12:50
In a new post to his blog Padraic Brady takes a humorous look at benchmarking PHP frameworks in a response to some of the other recent posts from developers on the Symfony and Solar frameworks.

Cal Evans' Blog: How I got Zend_Tool working on Windows

Zend feed for PHP news & articles - Thu, 2010-02-25 00:43
A few version back the Zend Framework introduced a handy component that can help you get a Zend Framework started quickly - Zend_Tool (and the command line "zf"). It works like a charm on unix-based systems, but has some quirks about it on Windows. To help with the situation, Cal Evans has posted a guide on Zend_Tool and how he got it working on his Windows 7 platform.

Zend Framework 1.10.2 Released

Zend feed for PHP news & articles - Wed, 2010-02-24 23:04
On behalf of the Zend Framework community, I'm pleased to announce the immediate availability of Zend Framework 1.10.2, our second maintenance release in the 1.10 series. You can download it from our downloads page: http://framework.zend.com/download/latest This release includes approximately 50 bugfixes, the majority of which were contributed during our Bug Hunt Days last week (more information on that in the days to come). The fixes contributed are helping stabilize and improve this release.

Installing Zend Server 5 on Linux in 4 Minutes and 37 Seconds

Zend feed for PHP news & articles - Wed, 2010-02-24 21:39
With the new release of Zend Server 5 hot off the presses, Kevin Schroeder posted a video of his 4 Minute and 37 Second install of the new release onto a Linux install. He obviously spared no expense and provides background music for your development efforts.

Zend Announces General Availability of Zend Server 5.0

Zend feed for PHP news & articles - Wed, 2010-02-24 17:39
Zend announced today the General Availability of Zend Server 5.0. As stated in the press release, the new version delivers increased performance, faster problem resolution, and adds job queuing and includes support for PHP 5.3. "Zend Server 5.0 is a huge step forward for businesses running business-critical PHP Web applications,” said Andi Gutmans, CEO and co-founder at Zend. “With this new version we are delivering application monitoring and diagnostics as part of the base application server at no additional cost. The new Code Tracing technology revolutionizes how businesses can reduce time spent on problem resolution. This and other enhancements will help businesses deliver reliable high-performance applications and maximize end-user satisfaction while reducing development and management time and costs."