PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 4441 to 4460 of 6889

Sameer Borate's Blog: Easy thumbnail generation using PHP

Sameer Borate's Blog: Easy thumbnail generation using PHP
Sameer Borate has a recent post to his blog looking at a simple way to create thumbnails with the help of the PHP_Thumb tool.One of the frequent requirements in web design is that of thumbnail generation. Although there are many libraries out there I found PHP Thumb simple and quick enough to implement in a recent project. PHP Thumb is a light-weight image manipulation library aimed at thumbnail generation. It offers the ability to resize, create custom crops, or square crops from the center, and rotate...

Site News: Popular Posts for the Week of 03.25.2011

Site News: Popular Posts for the Week of 03.25.2011
Popular posts from PHPDeveloper.org for the past week:Web Builder Zone: Which PHP framework would you use today for a brand new application? PHP.net: PHP 5.3.6 Released! Kevin Schroeder's Blog: Integrating Zend_View with WordPress Jeremy Brown's Blog: 3 Tenets for Implementing a REST API Phil Sturgeon's Blog: Video: Set up a REST API with CodeIgniter php|architect Blog: php|tek is goin' digital Zend Developer Zone: ZendCon Sessions Episode 042: Best Practices in PHP Application Deployment Fabian...

Adding Unit Tests For Your Component

Adding Unit Tests For Your Component
In my Beyond Frameworks talk, I explained how a component-based architecture can help answer some of the important (i.e. expensive!) questions you might face when creating long-lived apps that rely on a PHP framework. In this series of blog posts, I'm going to look at how to go about creating and working with components. In my last article, I finished editing the metadata for my component, and then used the component's package.xml file to download its dependencies and automatically install them into the...

Dependency Injection: An analogy

I've been working on a proposal for including service locators and dependency injection containers in Zend Framework 2.0, and one issue I've had is trying to explain the basic concept to developers unfamiliar with the concepts -- or with pre-conceptions that diverge from the use cases I'm proposing. In talking with my wife about it a week or two ago, I realized that I needed an analogy she could understand; I was basically using her as my rubber duck. And it turned out to be a great idea, as it gave me...

Database optimization techniques you can actually use

Database optimization techniques you can actually use
I just saw an article on Smashing Magazine titled "Speeding up your website's database". I love Smashing's contribution to the webdev community, but their articles are getting longer and more basic at the same time. I understand the need for simplicity because of the wide audience of Smashing Magazine, but I'd wish they'd give something more than the absolute basics you could find in almost any other site out there. I also didn't like some of the methods mentioned there for profiling (or the code...

Slides posted from my POSSCON talk - Developing Easily Deployable PHP Applications

Slides posted from my POSSCON talk - Developing Easily Deployable PHP Applications
Here's the slides from my talk today at POSSCON, aoDeveloping Easily Deployable PHP Applicationsa. Thanks to everyone who came!

Setting Up Your Component's Package.xml File

Setting Up Your Component's Package.xml File
In my Beyond Frameworks talk, I explained how a component-based architecture can help answer some of the important (i.e. expensive!) questions you might face when creating long-lived apps that rely on a PHP framework. In this series of blog posts, I'm going to look at how to go about creating and working with components. In the last article, I edited the build.properties file to set the component's name and version number. I need to finish setting up the component's metadata by editing package.xml....

Voices of the ElePHPant: Interview with David Coallier

Voices of the ElePHPant: Interview with David Coallier
The Voices of the ElePHPant podcast has released their latest episode - an interview with another PHP community member, David Coallier.As usual, Cal asks his three questions: As the owner of an open source project, Frapi, what is your biggest non-technical challenge? When you talk with groups of developers (about APIs), what surprises you the most? What advice do you have for developers that are creating their very first API? You can listen to this latest episode either by using the in-page player, by...

Chris Jones' Blog: Building PHP 5.3 with Oracle HTTP Server 11g

Chris Jones' Blog: Building PHP 5.3 with Oracle HTTP Server 11g
The latest post on Chris Jones's blog walks you through the process, step-by-step, of how to build PHP 5.3 with support for the Oracle HTTP server included with the 11g version of the database.I get the impression that not a lot of people in the PHP community are using Itanium. There are enough warnings during PHP compilation that would make me extremely uncomfortable using it for production applications. A PHP on Itanium installation bug that I logged long ago has not been patched, indicating to me that...

Setting Up Your Component's Metadata, Pt 1

Setting Up Your Component's Metadata, Pt 1
In my Beyond Frameworks talk, I explained how a component-based architecture can help answer some of the important (i.e. expensive!) questions you might face when creating long-lived apps that rely on a PHP framework. In this series of blog posts, I'm going to look at how to go about creating and working with components. In the last post, I used phix and ComponentManager to create an empty component. I now need to edit the component's manifest files before I can start cutting code. What's Your Component...

Using the Plurk API with PHP

Using the Plurk API with PHP
Plurk is a popular micro-blogging site that allows users to quickly and concisely post status updates, news and event streams. It also comes with a JSON-based Web service API that allows developers to programmatically add, search and manipulate Plurk content. This article shows you how to quickly and efficiently connect your PHP application to Plurk using Plurk's PHP library.

Maarten Balliauw's Blog: Windows Azure and scaling: how?

Maarten Balliauw's Blog: Windows Azure and scaling: how?
In a recent post to his blog Maarten Balliauw (the third part of a series) looks at how you can use Azure to scale your PHP-based application dynamically using the latest version of the Windows Azure SDK for PHP. His example creates a simple shell script that can scale up or down your instances with one call.One of the key ideas behind cloud computing is the concept of scaling.Talking to customers and cloud enthusiasts, many people seem to be unaware about the fact that there is great opportunity in...

Community News: Dutch PHP Conference - php|architect Offers Attendees Subscription

Community News: Dutch PHP Conference - php|architect Offers Attendees Subscription
As a part of the sponsorship they're providing to this year's event, php|architect will be providing one-year subscriptions to the magazine to all Dutch PHP Conference attendees at this year's event.We're back with more good news! Our friends at php|architect are sponsoring the Dutch PHP Conference 2011 with a sweet deal: they're offering every attendee a free, one-year subscription to their awesome php|architect magazine! In case you're not familiar with it, php|architect is a monthly magazine (pdf,...

Kevin Schroeder's Blog: Planning is underway for ZendCon

Kevin Schroeder's Blog: Planning is underway for ZendCon
If you've ever been to a conference and felt like they missed the target on the topics you wanted to see, Kevin Schroeder, an organizer for this year's Zend/PHP Conference, is asking for feedback from the community as to what they want to see at this year's event.The primary responsibility I have, as being in charge of content is making sure that, well, we have good content. [...] While ZendCon may have the Zend name in it, it is the conference attendees who determine its success. It is whether or not...

Wojciech Sznapka's Blog: Dynamic LAMP setup for localhost development

Wojciech Sznapka's Blog: Dynamic LAMP setup for localhost development
In a recent post to his blog Wojciech Sznapka shows you how to set up your local development environment so that you're not having to configure a VirtualHost (assuming you're using Apache, of course) each time you want to work on a new project.If you are developing PHP application on your own PC, you probably have some vhost based configuration of your Apache. With some tricks, you can turn your Linux box into powerful development server without configuring vhost for every app. [..] We can ommit two...

PHP Community Conference

PHP Community Conference
I was once told that "the only reason you're successful is that you were at the right place at the right time." Other than the word "only" in that declaration, the accuser was mostly right. The reason I'm [moderately] successful is that I was at the right place at the right time. The subtlety in the second statement is in the reason I was at the right place at the magical time. I firmly believe that my technical skills are only part of my value, career-wise. Looking back on my career so far, I can...

Saltwater.eu: PHP Cloud Management: Orchestra vs. PHP Fog

Saltwater.eu: PHP Cloud Management: Orchestra vs. PHP Fog
From Saltwater.eu today there's a comparison of PHPFog and Orchestra, two services that offer cloud-based scalable PHP deployments that can happen at the push of a button.I am evaluating these platforms in order to see if either one can ease my sysadmin burden. Well, so far, as with any cloud service promising the next best thing since sliced bread, I got mixed feelings. For the moment I tested just the free tier of both platforms. While Orchestra uses a pay-as-you-go model, PHP Fog asked for $29/mo in...

Site News: Blast from the Past - One Year Ago in PHP

Site News: Blast from the Past - One Year Ago in PHP
Here's what was popular in the PHP community one year ago today:Kevin van Zonneveld's Blog: Redis PHP Introduction William's Blog: A Popurls Clone with PHP, jQuery, Awesomeness NETTUTS.com: CodeIgniter from Scratch: Shopping Cart TechnoSophos .com: A 53,900% speedup: Nginx, Drupal, & Memcache Paul Reinheimer's Blog: Memory usage in PHP Matthew Weier O'Phinney's Blog: A Simple Resource Injector for ZF Action Controllers SitePoint PHP Blog: How to Handle Unloaded PHP Extensions at Runtime Chris Roane's...

Creating A Skeleton Component

Creating A Skeleton Component
In my Beyond Frameworks talk, I explained how a component-based architecture can help answer some of the important (i.e. expensive!) questions you might face when creating long-lived apps that rely on a PHP framework. In this series of blog posts, I'm going to look at how to go about creating and working with components. In my last article, I posted a list of questions to consider when decomposing the design of an app, and I put together the first cut of the components that will make up my sentiment...

Building PHP 5.3 with Oracle HTTP Server 11g

Building PHP 5.3 with Oracle HTTP Server 11g
This post has instructions for building PHP with Oracle HTTP Server 11g (OHS). It is based on the older note Using PHP with Oracle HTTP Server 11g. I used an uncommon OS, but the instructions should be very similar for...

Latest PHP Tweets