PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 1 to 20 of 183

Why Modules?

I've blogged about getting started with ZF2 modules, as well as about ZF2 modules you can already use. But after fielding some questions recently, I realized I should talk about why modules are important for the ZF2 ecosystem.

Kevin Schroeder's Blog: ZF2 Dependency Injection - Multiple Object Instances

Kevin Schroeder's Blog: ZF2 Dependency Injection - Multiple Object Instances
Kevin Schroeder has a quick new post about using dependency injection in Zend Framework 2 applications using multiple object instances.When you work with the ZF2 Dependency Injection Container (DiC) when you make multiple requests for an instance of an object you will get the same object back each time. [...] But what if you want the injection benefits of the DiC but don't want to share the object? Use the DiC's newInstance method instead with the third parameter being false.He includes code examples of...

Common, Cryptic PHP Errors

Common, Cryptic PHP Errors
Common, Cryptic PHP Errors If you've been programming for awhile, then you've probably experienced your fair share of cryptic error messages. It's understandable that building in detailed error messages that are clear to even novice developers is not always a high priority for programming languages when there are so many other features to create and issues to address. The PHP language has decent error messages, but it is by no means an exception to this rule.The following three error messages are as...

Ibuildings techPortal: DPC Radio: The Art of the User Experience (Keynote, Aral Balkan)

Ibuildings techPortal: DPC Radio: The Art of the User Experience (Keynote, Aral Balkan)
The Ibuildings techPortal has published the latest episode of their DPCRadio series (as recorded at the Dutch PHP Conference 2011) - Aral Balkan's keynote session The Art of the User Experience: making beautiful, delightful, fun things.In this session, Aral Balkan will outline the important role that user experience design plays in the making of virtual products and inspire you to see that it is your job - regardless of whether you make web sites, mobile apps, intranet systems, or ticket machines - to...

ServerGrove Blog: Spooling emails with Symfony2 on VPS and Shared Hosting

ServerGrove Blog: Spooling emails with Symfony2 on VPS and Shared Hosting
The ServerGrove blog has a recent post for the Symfony2 users out there, showing how you can spool emails on a VPS/shared hosting using SwiftMailer and the Symfony2 bundle to interact with it.When you send an email, the mailer communicates with a remote server in charge of receiving the message and of delivering it to the recipient. This process can cause your form to submit slowly as it depends on how fast the mail server responds. Spooling allows us to decouple the application execution line from the...

PHPMaster.com: REST - Can You do More than Spell It? Part 1

PHPMaster.com: REST - Can You do More than Spell It? Part 1
On the PHPMaster.com site there's a recent tutorial posted, the first part in a series of posts from David Shirey about building REST APIs in PHP. This first part of the series stays pretty high-level and really just introduces some common REST concepts.Thousands of years ago when we first started building web pages, things were very simple. You'd put some text on the page, maybe even an image, and that was pretty much it. But today it's a whole different ball game. Instead of static pages there's the...

MaltBlue.com: Zend Form Mastery with Zend Config - Part 1, Custom Filter Paths

MaltBlue.com: Zend Form Mastery with Zend Config - Part 1, Custom Filter Paths
From MaltBlue.com there's a new post (the first in a series) about mastering Zend_Form. In this first part of the series, they look at creating custom filter paths with the help of the Zend_Config component.When you're working with Zend Framework, and code in general, you keep your configuration as much out of code as you can - right? Well, if you want to write maintainable and flexible code you do. Well, if you've been working with Zend Framework and Zend Form for more than a little while, you know that...

Community News: Latest PEAR Releases for 04.30.2012

Community News: Latest PEAR Releases for 04.30.2012
Latest PEAR Releases: DB_DataObject 1.10.0

Migrating off Netsuite - The hidden cost of Clouds..

Migrating off Netsuite - The hidden cost of Clouds..
Article originally from rooJSolutions blog One of the more interesting projects I have ongoing is a migration and deployment of an ERP system. For a bit of background, our customer was persuaded about 3-4 years ago that moving their accounting and Stock management into Netsuite would be a good idea.For those who have not heard of Netsuite, it's a Cloud based ERP system, that from my understanding runs on an oracle backend and is totally web based. All the users log into the website, enter the various...

The hidden cost of Clouds.. getting off Netsuite

The hidden cost of Clouds.. getting off Netsuite
Article originally from rooJSolutions blog One of the more interesting projects I have ongoing is a migration and deployment of an ERP system. For a bit of background, our customer was persuaded about 3-4 years ago that moving their accounting and Stock management into Netsuite would be a good idea.For those who have not heard of Netsuite, it's a Cloud based ERP system, that from my understanding runs on an oracle backend and is totally web based. All the users log into the website, enter the various...

Marcelo Gornstein's Blog: PHP Continuous integration, with Jenkins and Phing

Marcelo Gornstein's Blog: PHP Continuous integration, with Jenkins and Phing
On his site Marcelo Gornstein has published a new guide to getting a basic automated continuous integration server set up with Jenkins and Phing.This article is about how to use Phing in your projects, so a continuous integration server (in this case Jenkins -ex Hudson-) can generate the necessary artifacts for your php application (deployment artifacts, documentation, code metrics, etc). I'll try to show why this will make your life easier when developing or auditing code, generating releases and...

SitePoint.com: Sneak Peek at Kevin Yank's New Book 'PHP & MYSQL: Novice to Ninja'

SitePoint.com: Sneak Peek at Kevin Yank's New Book 'PHP & MYSQL: Novice to Ninja'
SitePoint.com has published an excerpt from an upcoming book by their own Kevin Yank aimed at those wanting to get into PHP with no background in the language at all - "PHP & MySQL: Novice to Ninja".Kevin Yank's done it again! He's just completed a new 2012 edition of his best-selling book (Build Your Own Database Driven Web Site, 4th Edition) which is now titled - PHP & MySQL: Novice to Ninja.The chapter excerpt they share is the book's "Introducing PHP" content the (very) basic introduction to the...

/Dev/Hell Podcast: Episode 11: From Gas Station Attendant to Java Developer

/Dev/Hell Podcast: Episode 11: From Gas Station Attendant to Java Developer
The /Dev/Hell podcast has released their latest episode (hosted by PHP community members Chris Hartjes and Ed Finkler) - Episode 11: "From Gas Station Attendant to Java Developer".This time out we are blessed by the presence of Jo ël Perras, PHP developer extraordinaire and Fictive Kin brosef of Ed. We explore Jo ël's rags-to-riches story: a young academic schlepping coffee and 44oz soft drinks at a gas station, where he's discovered by a grizzled dev team manager in need of Java skills. From there...

PECL/mysqlnd_ms 1.4 = charset pitfalls solved

PECL/mysqlnd_ms 1.4 = charset pitfalls solved
Tweaking is the motto - what an easy release PECL/mysqlnd_ms 1.4 will be! The first tweak for the next stable version of the mysqlnd replication and load balancing plugin solves pitfalls around charsets. String escaping now works on lazy connection handles (default) prior to establishing a connection ...

Evan Coury's Blog: Sharing a database connection across modules in Zend Framework 2

Evan Coury's Blog: Sharing a database connection across modules in Zend Framework 2
Evan Coury has a new post to his site about a handy method for sharing database connections across modules in a Zend Framework application.With the new modular infrastructure in Zend Framework 2, one of the most common questions will indoubitably be how to share a database connection across modules. Here's a quick explanation of how to share your database connection across multiple modules in a way that can even allow you to use a single connection between ZendDb, Doctrine2, and possibly even other...

Kevin Schroeder's Blog: ZF2 Dependency Injection: Managing Configuration - Part 2

Kevin Schroeder's Blog: ZF2 Dependency Injection: Managing Configuration - Part 2
Kevin Schroeder has posted the second part of his ZF2 dependency injection series (part one here) talking about their configuration.In my previous post about Dependency Injection Container (DiC) configuration I made mention of some more complicated scenarios that you can use to configure your objects. Not that you need help to make it more complicated. [...] That's why I think this series of blog posts are good. They show you how to get started small which is really the only way to get started if you...

Site News: Popular Posts for the Week of 04.27.2012

Site News: Popular Posts for the Week of 04.27.2012
Popular posts from PHPDeveloper.org for the past week:Shashikant Jagtap's Blog: PHPUnit + Behat/Mink + Page Object: The Rockstar Combination of Testing Nodeable Blog: Marten Mickos: The LAMP Stack is Dead, and Cloud has Killed It Community News: OSCON 2012 Schedule Announced (with PHP Track) Gaurish Patil's Blog: URL rewriting in Yii to hide index.php Chris Hartjes' Blog: Metatesting: Extending Your Testing Tools PHPMaster.com: Working with Files in PHP Juan Treminio's Blog: Setting Up an Ubuntu VM, Step...

Not all licenses are created equal

Not all licenses are created equal
IANAL. As you are all are hopefully aware there are huge differences the exact "freedoms" allowed by the various open source licenses. I find that many younger developers have a natural affinity to the GPL, because they seem to feel its important to prevent someone from just taking their code, building upon it and not releasing their changes under an open source license when they distribute. Maybe with enough experience you start to realize that it happens close to never that a proprietary fork of an...

DevConf 2012

DevConf 2012
DevConf 2012 in Moscow, Russia on Jun 9 - Jun 10 DevConf is the ultimate meeting place for russian-speaking web-developers, combining several language-specific conferences under one roof. This year DevConf will include the following sections: DevConf::PHP(); DevConf::Perl(); DevConf::RoR(); DevConf::Python(); DevConf::Javascript(); Each section will feature several talks from the active contributors/authors of the language. Among the invited speakers are Derick Rethans (XDebug...

Seth May's Blog: The 5 Ws of Data Validation - Part 1

Seth May's Blog: The 5 Ws of Data Validation - Part 1
With a reminder about the best practice of always validating your data, Seth May has this new post about the "Five Ws" of validation - why, when, where and who.As web developers, the applications you write are complex data processing engines. They try and convince your users to enter good, meaningful data and to respond in solid, predictable ways based on what was entered. Robust data validation will allow the rest of you application to work effectively. [...] Data is scrutinized in various ways to make...