PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 181 to 200 of 250


Daniel Krook's Blog: Migrating PHP applications to DB2

Daniel Krook's Blog: Migrating PHP applications to DB2
As Daniel Krook mentions in his latest blog post, the IBM developerWorks site has just posted the last part of a series he's been writing about migrating a PHP application's backend over to DB2.IBM developerWorks has just published the final part in our series on migrating a PHP application from MySQL to DB2. [...] In addition to sharing our own experience, the series highlights the number of resources available to you to carry out your own migration.The series is broken up into four parts: Prepare for...

Site News: Popular Posts for the Week of 03.09.2012

Site News: Popular Posts for the Week of 03.09.2012
Popular posts from PHPDeveloper.org for the past week:Project: phpVirtualBox - VirtualBox Management Tool Jeremy Cook's Blog: Making PHPUnit, Doctrine & MySQL Play Nicely Zend.com: Zend Framework 2.0 Beta 3 Release Gives Developers an Early Start Sebastian Marek's Blog: PHP 5.4 Compatibility Coding Standard for PHP_CodeSniffer Slawek Lukasiewicz's Blog: New Features in PHP 5.4 - JSON Extension & header_register_callback PHPMaster.com: Type Hinting in PHP Bas De Nooijer's Blog: Benchmarking PHP Solr...

Vance Lucas' Blog: Nginx + PHP-FPM Blank Pages with Phar Packages

Vance Lucas' Blog: Nginx + PHP-FPM Blank Pages with Phar Packages
Vance Lucas has a new post sharing some of his experience in setting up nginx+PHP-FPM with phar packages that he recently had with setting up a new server instance for a company. The problem showed itself as blank pages, apparently due to a feature in the Suhosin security package.Ran into this issue when setting up a new VPS for AutoRidge. This happens when using Nginx and PHP-FPM with PHP 5.3+ and the Suhosin patch when trying to run a PHP script using a PHAR package. From what I can gather, the Suhosin...

Konr Ness' Blog: Zend_Config Benchmark - JSON, Array, INI, XML, YAML

Konr Ness' Blog: Zend_Config Benchmark - JSON, Array, INI, XML, YAML
In this recent post to his blog, Konr Ness has benchmarked the components that the Zend Framework uses to read in different types of configuration files - JSON, native PHP arrays, INI, XML and YAML files.If you application relies on parsing one or several config files each time it is bootstrapped it is important that you select a file format that is fast to parse. But you also want to select a config file format that is easy for a human to read and edit. In a recent application I am building I also had...

Rob Allen's Blog: Module specific bootstrapping in ZF2

Rob Allen's Blog: Module specific bootstrapping in ZF2
Rob Allen has a new post to his blog today looking at bootstrapping specific modules in a Zend Framework 2-based application without having to do the entire set.Following on from the discussion on modules, we can hook into the event system to do module specific bootstrapping. By this, I mean, if you have some code that you want to run only if the action to be called is within this module, you can hook into the Application's dispatch event to achieve this.He starts with an example of a basic module...

A Cloudy Place: PHPFog and Pagoda Box: A Look at PHP Platforms

A Cloudy Place: PHPFog and Pagoda Box: A Look at PHP Platforms
On the "A Cloudy Place" blog there's a recent post comparing two of the more popular platform-as-a-service PHP offerings out there - PHPFog and PagodaBox.Platform services like Heroku and AppEngine have been well-known for the last few years and many companies have been using them successfully in their business. They are more attractive to startups, due to low initial cost and smaller headaches involved in setup. 2011 was a great year for platform services, with the emergence of many platform services...

Migrating PHP applications to DB2

Migrating PHP applications to DB2
IBM developerWorks has just published the final part in our series on migrating a PHP application from MySQL to DB2. Learn why to move a PHP application to DB2, how to plan the migration, how to execute it, how to support it, and how to handle potential risks based on the experience of an IBM [...]

PHPMaster.com: Taking Advantage of PHP's Built-in Server

PHPMaster.com: Taking Advantage of PHP's Built-in Server
On PHPMaster.com today there's a new tutorial for those on the bleeding edge of PHP using the latest released version (5.4) and a feature that comes with it - using the built-in webserver that comes bundled for testing purposes.One of the cooler features of the new PHP 5.4 release is a built-in web server designed specifically for development and testing. Now you can write and test your code without having to have a full-fledged LAMP configuration - just launch a the built-in server from the command...

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:Dan Horrigan's Blog: Security in FuelPHP Steve Francia's Blog: Getting Started with Symfony2 Ole Markus' Blog: Catching fatal errors in PHP David Behler's Blog: Dev-Box: Virtual Machines for Developers Stoyan Stefanov's Blog: Automating HTTPWatch with PHP WebDevHub: Scheduling emails in PHP php|architect: More powerful Validation from Respect PHPBuilder.com: Creating and Manipulating PDFs with PHP and FPDF Webification.com: Roundup of 17...

CSS: Love Hate

CSS: Love Hate
The slightly odd title is there for a reason. This post exists for a reason. I'll explain botha I've always struggled to remember the order in which hyperlink styles should be defined in a stylesheet. Hyperlink styles? Order? I'm talking about these (in alphabetical order): :active :hover :link :visited They should be specified in the right order or things won't work the way you'd expect them to. Here they are again but this time in the correct order: :link :visited :hover :active I could go into...

PHPBuilder.com: Error Handling in PHP 5

PHPBuilder.com: Error Handling in PHP 5
New on PHPBuilder.com today Leidago Noabeb gives you a pretty comprehensive overview of error handling in PHP - everything from the types of errors to how to control which are output in which environments.In this article we will be looking at how to handle errors in PHP. Errors are an inevitable part of software development, and accordingly, we will be looking at the various error types and demonstrating how to handle them. If you intend to run any of the sample scripts in this article, please make sure...

Brandon Savage's Blog: An XSS Vulerability In The Making

Brandon Savage's Blog: An XSS Vulerability In The Making
Brandon Savage has a new post to his blog about what he calls a XSS vulnerability in the making, something to watch out for when you're doing validation in PHP involving the possibility of numbers as strings.Back in September, Socorro received a security bug relating to the method we were using for processing inputs for the duration of certain reports. The vulnerability included a proof of concept, with an alert box popping up on production when the link was followed. [...] I was quite surprised at the...

Web Mozarts: Symfony2 Form Architecture

Web Mozarts: Symfony2 Form Architecture
In this new post to the Web Mozarts site, Bernhard talks about the architecture behind the current Symfony2 forms implementation and how it handles the requests your forms make.Symfony2 features a brand-new Form component that, to my knowledge, supersedes most existing PHP form libraries in functionality and extensibility (not counting the still lacking, native JavaScript support). [...] The purpose of this post is to demonstrate that the Symfony2 Form component is perfectly suited for this requirement....

Nikita Popov's Blog: Scalar type hinting is harder than you think

Nikita Popov's Blog: Scalar type hinting is harder than you think
In this new post to his blog Nikita talks about scalar type hinting and why it's harder than most people think to accomplish.One of the features originally planned for PHP 5.4 was scalar type hinting. But as you know, they weren't included in the release. Recently the topic has come up again on the mailing list and there has been a hell lot of discussion about it. Yesterday ircmaxell published a blog post about his particular proposals. The reactions on reddit were mixed. On one hand it is clear that...

Anthony Wlodarski's Blog: Node.js and Zend Auth with Sessions stored in the database

Anthony Wlodarski's Blog: Node.js and Zend Auth with Sessions stored in the database
Anthony Wlodarski has posted a quick example of how he shared the sessions from Zend_Auth in his Zend Framework application over with a Node.js server/application.Recently on a project I had to make changes to a underlying portion of the sites architecture to move sessions in Zend Framework from file storage to database storage. However this affected a piece of the architecture. Node.js, which manages all our real time interaction, looked at sessions at the file level. This was quite a easy transition...

Phil Sturgeon's Blog: Packages: The Way Forward for PHP

Phil Sturgeon's Blog: Packages: The Way Forward for PHP
In this new post to his blog Phil Sturgeon talks about what he (and apparently several others) think is the "way forward for PHP" to make it a better language and ecosystem - packages.What is a package? A package is a piece of reusable code that can be dropped into any application and be used without any tinkering to add functionality to that code. [...] Most package systems also allow for something called dependencies. [...] This is how most modern programming languages work, but to make a...

Community News: PHP Conference Brazil 2012 Announced

Community News: PHP Conference Brazil 2012 Announced
In this new post to his blog, an official announcement about this year's PHP Conference Brazil (2012) has been made:It's official: PHP Conference Brazil 2012 will take place at UNIFIEO, in the city of Osasco (SP) Brazil from November 30th to December 2nd. Tracks for the event were chosen by the audience, through a poll we've published on Twitter: Frameworks & Tools, APIs & Webservices, Challenges and Trends, Case Studies and Successful Cases, Security and Job Scenarios.This year's event will be happening...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Dev Front Cfw Router My Utils HAAR PHP Config Storage Generic Pager MySQLi Handler JFWork FDB REST HTTP CakePHP Counter Helper Cache Factory MySQL Query Builder Smarty Email MySQL (Query Builder)