Categories


Loading feed
Loading feed

Refactoring PHP Code

At first, refactoring seemed to me to be magic, over the years I have come to view it as more of a trick, and today refactoring is integrated into my development environment and used frequently and quickly. Using the refactoring functionality, in addition to other tools, I can sculpt the code to improve legibility and maintainability. In this article I will present refactoring’s strengths, and then argue that PHP developers and framework designers should immediately adopt refactoring’s capabilities. Refactoring, together with other important tools, has resulted in PHP catching up with other languages that stress scalability, for Web applications and Web services enterprise applications.

Iono Review

While PHP is often used as a programming language for custom written or open source applications that is not its only use. PHP can also be effectively used for commercial application distribution. There's a slight drawback to doing that, since PHP is an interpreted language. This means that the source code you wrote is effectively open to the world. Given that this is an application that you have spent considerable time and money developing you may not be inclined to allow others to see the code that you have written as this may make available intellectual property that you intend to keep secret. The way around this is a technique called obfuscation. What it does is take the source code and encodes it in a manner that makes it unreadable to humans. The code can then be safely distributed with your intellectual property intact. One of the applications that can be used to obfuscate and license your code is a combination of products called Iono and PHP Encoder by IonCube. Iono acts as a front end to your licensing through a shopping cart built into it and the PHP Encoder secures the licensing code without your application. Customers can create their own licenses, you can have resellers license it for you or you can restrict licensing to yourself alone.

Zend Framework and the New Hybrid Designer

Having a background in design, I’ve always felt a bit of a fake discussing web programming, however, the fact is that more and more designers are demonstrating that the whole left brain versus right brain, creativity versus logic idea is not as clear cut as is too often portrayed. While a good sense of aesthetics is important, it does not in itself directly equate to a well designed product. This is particularly true with web design, as a recent Web 2.0 Expo session entitled “The New Hybrid Designer” put it; “modern web design requires the coding savviness of a developer coupled with the aesthetics and user awareness of a designer”. In this article I’d like to expand on an idea, put forward in that session, that choosing a decent platform or framework can provide an easier route into more productive development. The article is targeted at readers who already have experience working with PHP and are eager to improve their skills but don’t necessarily have the background to know what they should be learning.

Performance case study using Zend Core for IBM with IBM DB2 9 to service 10,000 active database connections

PHP is the market-leading dynamic language for producing modern Web applications. Its popularity for building content management and e-commerce systems stems from its portability, ease of use, and wide support for accessing database and enterprise data sources. IBM and Zend Technologies have partnered to deliver Zend Core for IBM®, which is the industry's only certified and fully supported PHP development and production environment for IBM data servers.

America's 10 Best Cities To Live In And How They Stack Up For PHP Developers

Money and CNN published their “Best Places To Live” at some point this year. Terry Chay recently mentioned indeed.com’s salary tool in a blog post. I put the two together and here’s what I came up with.

SQLite: Lean, Mean DB Machine

When most of us think of PHP, we think of developing for the web. In most cases we will be using a LAMP-based server setup, with our favorite web scripting language contributing the P. In most cases, the M is filled in with MySQL, although PHP does include support for several other database systems. Is a full-blown database server even necessary for most PHP applications? What about a data-driven website like a blog or a simple family photo album or message board? In these and may other cases, the small, simple, and extremely powerful SQLite may be all you need. Let’s take SQLite out for a test drive and see how it performs, find some of the quirks you might run in to, and how to get the most use out of it.

An introduction to Service Data Objects for PHP

Service Data Objects (SDOs) have been around in the Java™ technology world since November 2003. They are designed as a means of simplifying and unifying working with heterogeneous data sources. In February 2005, IBM and Zend announced a strategic partnership to collaborate on the development and support of the PHP environment. One aspect of this collaboration has been the definition and implementation of SDOs for PHP. This article gives an overview of SDOs and the motivations for using them in the PHP environment. A simple contact management scenario is used to illustrate key concepts.

PHP 5 Certification Webcast

Join Zend’s Education Programs Manager, Dhwani Vahia, in discovering the new Zend PHP 5 Certification.

OSCON WRapup: The Party's Over

The booths have been shipped back to their warehouses for another year; the vendors are all combing through their business cards looking for hot leads; (what, you didn’t think this was all about the sessions did you?) and the speakers have all arrived home safely. The party’s officially over, let’s take a quick glance over the shoulder before heading to the next one.

Rasmus Lerdorf at OSCON: Getting Rich with PHP 5

Rasmus Lerdorf gave a talk on “Getting Rich with PHP 5”. He showed techniques to dramatically improve the throughput of a web application. Click [ more ] and I’ll give you the details.