PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 141 to 160 of 184

Michael Nitschinger's Blog: Announcing the Vienna PHP User Group

Michael Nitschinger's Blog: Announcing the Vienna PHP User Group
Michael Nitschinger has written up a new post to his blog talking about the formation of a new PHP user group in the Vienna, Austria area - ViennaPHP:My goal is to create a friendly, welcoming and informative user group that allows beginners and experts alike to share their experiences, opinions and knowledge. I have always met great people when I worked with the open-source community and I think lots of people around here would benefit from it too. So, what next? The first thing we need to do is...

Matthew Weier O'Phinney's Blog: ZF2 Forms in Beta5

Matthew Weier O'Phinney's Blog: ZF2 Forms in Beta5
In this new post to his blog, Matthew Weier O'Phinney about some of the recent updates in the latest beta (beta5) of the Zend Framework 2's "Forms" component.Forms are a nightmare for web development. They break the concept of separation of concerns: they have a display aspect (the actual HTML form), they have a validation aspect and the two mix, as you need to display validation error messages. On top of that, the submitted data is often directly related to your domain models, causing more issues. [...]...

Building A Multi-Version Build System

Building A Multi-Version Build System
I've been using Jenkins to manage builds of my projects for a while now. This was fine for a while, but now that my projects need to support multiple versions of PHP, it left something to be desired. I wanted a system that could build against multiple versions of PHP. And more so, I wanted to be able to build against multiple compiles of the same version (different options, etc). This is how I built just such a system...Read more A

7php.com: PHP Interview with Jacques Woodcock - Engage in Conversation with Smarter People

7php.com: PHP Interview with Jacques Woodcock - Engage in Conversation with Smarter People
On 7php.com today they've picked back up with their "community interview" series, talking to members of the PHP community and finding out all about them. In this new interview, they talk to Jacques Woodcock, a member of the Nashville PHP User Group.In this edition I talked with [Jacques Woodcock @jacques_thekit], who is a leader in the [Nashville PHP User Group @NashvillePHP]. Jacques is also the Founder and President of theKit Portal which is a fully hosted CMS platform built around affordability,...

Community News: Latest PEAR Releases for 07.09.2012

Community News: Latest PEAR Releases for 07.09.2012
Latest PEAR Releases: Config_Lite 0.1.4

A plea for less (XML) configuration files

A plea for less (XML) configuration files
I recently tried using Phing (a PHP build system) to do some simple release automation. Just creating a PEAR package and doing a few string replacements here and there. The result? After several wasted hours I ended up using Phing only for PEAR packaging and doing everything else in a custom PHP build script.The reason? Phing uses XML files to configure what it should do during a build. So an excerpt from a build file might look like this: name="SomeName" default="package" basedir=".." name="package"...

Jeff Carouth's Blog: Micro Framework and JavaScript Applications

Jeff Carouth's Blog: Micro Framework and JavaScript Applications
Jeff Carouth has posted some of his thoughts about the PHP micro-framework and Javascript combination (following a recent presentation on the subject).As I mentioned, I was accepted as a speaker at LoneStarPHP 2012 to give a session on MicroPHP Framework and JavaScript Applications. The session went reasonably well and I received some decent feedback both at the conference and on joind.in. I will address a couple issues with the talk to, hopefully, inspire you as I intended with this talk.He talks about...

Anthony Ferrara's Blog: The True Problem With PHP

Anthony Ferrara's Blog: The True Problem With PHP
In response to some of the "problem with PHP" posts that have been circulating lately, Anthony Ferrara has posted about the "true problem" with PHP - less about the language, more about the community.The core of the PHP community is filled with a lot of really talented and smart developers doing some really amazing things. But on the fringes, there are a lot of people who are writing articles, tutorials, and posts designed to help beginners learn the language (and usually how to program). The problem...

Matt Frost's Blog: Prevent Overcomplication

Matt Frost's Blog: Prevent Overcomplication
Matt Frost has a new post to his blog talking about reducing complexity and preventing overcomplication in your code and application structure.We've all come across code that's written so craftily that it takes us some time to figure out what's actually going on in that block of code. We've never written things like that ourselves of course....seriously though, if you're collaborating, not doing things in the simplest terms will create an issue when other people start to look at your code. There is...

Lee Davis' Blog: The enum conundrum

Lee Davis' Blog: The enum conundrum
In a new post to his blog Lee Davis describes the enum conundrum - what's the right solution for effectively using ENUM-type fields in your data?So a user signs up and I want to store a status that reflects their account, or at least an identifier representing that status. Their account could be active, disabled (temporarily), pending approval or maybe deleted. Should I use an enum? I've heard they're evil. Maybe having a reference table with statuses would be better? But now I have to manage a separate...

Too much abstraction: Doctrine and PHP

Too much abstraction: Doctrine and PHP
Personally - I feel like I'm really, really late to get on the Doctrine train. I've tried Doctrine 1 a few years back and found it mostly too complicated for my needs. For all I know, I still find PEAR::DB and PEAR::MDB2 the perfect database abstraction layers (DBAL). Though of course they may or may not be totally up to date in terms of PHP etc.. The overall concept of an ORM never stuck with me.Of course Doctrine has a DBAL too and it would be unfair to compare its ORM to another DBAL, but it seems...

Raymond Kolbe's Blog: DOMPDF in ZF2

Raymond Kolbe's Blog: DOMPDF in ZF2
Raymond Kolbe has a recent post to his blog about using the DOMPDF library to generate PDFs in a Zend Framework 2 application.If you're using Zend Framework 2 (beta 4) and need to easily generate PDFs, and you'd like to generate those PDFs from an HTML template, then boy do I have some good news for you! For those of you who have dealt with generating dynamic PDFs, you know how much of a pain in the ass it can be (e.g. dealing with x, y coordinates, word-wrap (or lack of), etc.). There are a few options...

The Bakery: 3.0: a peek into CakePHP's future

The Bakery: 3.0: a peek into CakePHP's future
The Bakery (the CakePHP site) has posted a list of things to come in the 3.0 release of the popular PHP framework.Since its creation, more than 7 years ago, CakePHP has grown with a life of its own. Its main goal has always been to empower developers with tools that are both easy to learn and use, leverage great libraries requiring low documentation and low dependencies too. We've had several big releases along these years and an ever growing community. Being one of the most popular frameworks out there...

The True Problem With PHP

The True Problem With PHP
There's been a lot of traffic lately about what's wrong with PHP, and counter posts about how good it is. I've even fallen into the fray in an earlier article trying to step up and defend the language. The problem with almost all of these posts is that they focus on the language itself and what's wrong (or right) with it. This is not one of those posts.Read more A

CodeIgniter.com: CodeIgniter Wiki Moved

CodeIgniter.com: CodeIgniter Wiki Moved
As is mentioned in this new post to the CodeIgniter project's main site, their wiki has made a move. You can now find it on github.In addition to having the convenience of existing as a git repo itself, moving this content to GitHub will help distinguish EllisLab and Reactor created content from community managed resources. It will also reduce the attraction of spammers to the CodeIgniter.com web site, as the wiki was a common location used by spammers and vandals to get content on our site that was less...

Site News: Popular Posts for the Week of 07.06.2012

Site News: Popular Posts for the Week of 07.06.2012
Popular posts from PHPDeveloper.org for the past week:James Fuller's Blog: Why can't someone just make a good IDE for PHP? Joshua Thijssen's Blog: Using vagrant and puppet to setup your symfony2 environment Jeff Atwood's Blog: The PHP Singularity Fabien Potencier's Blog: PHP is much better than you think Matthew Weier O'Phinney's Blog: On Visibility in OOP DZone.com: How to Build PHP 5.4 Applications with Visual Studio Reddit.com: What does the day-to-day look like for a LAMP developer? PHPBuilder.com:...

ZF2 Forms in Beta5

Forms are a nightmare for web development. They break the concept of separation of concerns: They have a display aspect (the actual HTML form) They have a validation aspect And the two mix, as you need to display validation error messages. On top of that, the submitted data is often directly related to your domain models, causing more issues: Not all elements will have a 1:1 mapping to the domain model -- buttons, CSRF protection, CAPTCHAs, etc. usually are application-level concerns, but not domain...

DeveloperDrive.com: 5 PHP Security Measures

DeveloperDrive.com: 5 PHP Security Measures
On the DeveloperDrive.com site today there's a new post with five easy steps you can take to help increase the security of your PHP-based applications.For many years, PHP has been a stable, inexpensive platform on which to operate web-based applications. Like most web-based platforms, PHP is vulnerable to external attacks. Developers, database architects and system administrators should take precautions before deploying PHP applications to a live server. Most of these techniques can be accomplished with...

MaltBlue.com: Why Zend Framework Plugins Save You Time

MaltBlue.com: Why Zend Framework Plugins Save You Time
On the MaltBlue.com blog today there's a new post talking about Zend Framework plugins and how they can help save you time in the long run, giving you more time and flexibility to create the applications you want.During the recent development of the new PHP cloud development casts site, which has been developed with the Zend Framework, so much development time has been saved by using one of the simplest and arguably best features of the framework: Controller Plugins. So today I want to introduce you to...

Mike Purcell's Blog: PHP - Reflection Class - Determine Parent Method Signature

Mike Purcell's Blog: PHP - Reflection Class - Determine Parent Method Signature
In this recent post to his blog Mike Purcell shares a method he found to discover the parameters required by a method in a class' parent via reflection.According to PHP docs regarding the Memcached::get() method, there are three arguments which which must be added to my extended signature, which I added, but kept getting "...should be compatible with that of Memcached::get()" errors. I tried looking for the method signature via source code but didn't glean anything useful from the PECL documentation, so...