PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 1641 to 1660 of 6889

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...

DZone.com: Testing PHP scripts

DZone.com: Testing PHP scripts
In this new post to DZone.com, Giorgio Sironi talks about a method of testing that's non-invasive when you're in a chicken-and-egg kind of situation:The legacy code dilemma, however, is always present: you can't refactor the code before putting up some tests on it to avoid regressions and putting your application offline. At the same time, you can't easily unit test the code until some refactoring is introduced.He suggests making copies of some files to allow you to make small changes where needed to...

PHPMaster.com: An Intro to Virtual Proxies, Part 2

PHPMaster.com: An Intro to Virtual Proxies, Part 2
Following up on his previous article, Alejandro Gervasio has a new post to PHPMaster.com with the second part of his series on using virtual proxies in PHP.Resting on the foundation of Polymorphism (dynamic Polymorphism, not the ad-hoc one often achieved through plain method overriding), Virtual Proxies are a simple yet solid concept which allows you to defer the construction/loading of expensive object graphs without having to modify client code.He shows how to create a collection of domain objects that...

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

Kevin Schroeder's Blog: ZF2 Dependency Injection: Managing Configuration - Part 1
Kevin Schroeder has a new post talking about dependency injection in a Zend Framework v2-based application and managing your configurations.In my previous blog post I showed how you could provide parameters to object that you're pulling from a DiC and have them populated in the resulting object. As cool as that is, it's not a massive saving as you need to manually inject the parameters into the DiC. You can often do the same thing by setting up the DiC ahead of time to get the object with those...

PHP.net: PHP 5.3.11 And PHP 5.4.1 Released!

PHP.net: PHP 5.3.11 And PHP 5.4.1 Released!
The PHP project has officially released the latest versions of the language - PHP 5.3.11 and PHP 5.4.1:The PHP development team announces the immediate availability of PHP 5.3.11 and PHP 5.4.1. These releases focuses on improving the stability of the current PHP branches with over 60 bug fixes, some of which are security related. [...] For a full list of changes in PHP 5.3.11 and PHP 5.4.1, see the ChangeLog. For source downloads please visit our downloads page, Windows binaries can be found on...

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:PHPBuilder.com: Introducing the Yii PHP Framework Symfony Blog: Symfony2: Getting easier PHPRiot.com: Reducing a Map Path Using Douglas-Peucker Algorithm Chris Jones' Blog: Malicious website use will never go away: how do you manage it? Vito Chin's Blog: Book: PHP Development in the Cloud SitePoint PHP Blog: Simple Object Iterators in PHP James Cohen's Blog: How to Avoid Character Encoding Problems in PHP Zend Developer Zone: My Favorite...

PHP 5.3.11 And PHP 5.4.1 Released!

PHP 5.3.11 And PHP 5.4.1 Released!
The PHP development team announces the immediate availability of PHP 5.3.11 and PHP 5.4.1. These releases focuses on improving the stability of the current PHP branches with over 60 bug fixes, some of which are security related. Security Enhancements for both PHP 5.3.11 and PHP 5.4.1: Fixed bug #54374 (Insufficient validating of upload name leading to corrupted $_FILES indices). (CVE-2012-1172). Add open_basedir checks to readline_write_history and readline_read_history. Security Enhancement...

PHP 5.3.11 And PHP 5.4.1 Released!

PHP 5.3.11 And PHP 5.4.1 Released!
The PHP development team announces the immediate availability of PHP 5.3.11 and PHP 5.4.1. These releases focuses on improving the stability of the current PHP branches with over 60 bug fixes, some of which are security related.Security Enhancements for both PHP 5.3.11 and PHP 5.4.1:Fixed bug #54374 (Insufficient validating of upload name leading to corrupted $_FILES indices). (CVE-2012-1172).Add open_basedir checks to readline_write_history and readline_read_history.Security Enhancement affecting PHP...

Pim Elshoff's Blog: In favour of typing

Pim Elshoff's Blog: In favour of typing
Pim Elshoff has a new post to his blog that shares his preference on typing (keystrokes, not variables) in applications (hint: he likes it):We sometimes conceive of ideas that are arduous to express in code. Like persisting data, or some other uncommon task (sarcasm). It's not difficult, but it takes a lot of keystrokes to write. Being problem solvers, we find it difficult doing this kind of manual labour, especially when machines can do it for us. Still, I would like to take this opportunity to say that...

PHPClasses.org: Participate in the Lately in PHP podcast in Video with Google Hangouts

PHPClasses.org: Participate in the Lately in PHP podcast in Video with Google Hangouts
PHPClasses.org is trying something new with their "Lately in PHP" podcast for this latest episode - they want you to be a part of it via a Google hangout.The Google Hangouts On Air edition is not yet generally available to all Google+ users. However, thanks to the guides of the Google Top Contributor program, on which I have the pleasure and the privilege to participate, this feature was enabled on the PHP Classes site Google+ account. Therefore, starting the next episode, we are going to try recording...

Ibuildings techPortal: Want a DPC Ticket? Just ask!

Ibuildings techPortal: Want a DPC Ticket? Just ask!
On the Ibuildings techPortal there's a new post for people out there wanting to attend this year's Dutch PHP Conference but find the ticket price a problem - they're running a contest to give away one ticket for this year's event!Good news! We've managed to acquire a conference ticket for the Dutch PHP Conference in Amsterdam, on June 8th and 9th, to give away to our readers. We know that since you're reading techPortal, you are interested in technology in general and probably PHP in particular. The...

Danne Lundqvist's Blog: Getting to grips with an existing XML structure

Danne Lundqvist's Blog: Getting to grips with an existing XML structure
Danne Lundqvist has a new post where he shares a bit of code he's written to "come to grips" with an existing XML structure.Very often I find myself writing input filters for large XML files using PHP. Common enough task; and PHP offer a great variety of tools to do this effectively depending on the situation. Unfortunately, almost as common is the lack of documentation for the aforementioned XML files. [...] I have looked around for a simple tool but I didn't really find a tool that gave me the quick...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Html Content Grabber cMail Random Secure Password EasyMail TrialPay Dynamic Products Generator StormOnDemand API RGB degrade Browser Environment Detection Browser settings/environment detection Image Merge

Want a DPC12 Ticket? Just ask!

Want a DPC12 Ticket? Just ask!
Good news! We've managed to acquire a conference ticket for the Dutch PHP Conference in Amsterdam, on June 8th and 9th, to give away to our readers. We know that since you're reading techPortal, you are interested in technology in general and probably PHP in particular. The Dutch PHP Conference is one of the leading european conferences for PHP content and we hope you can join us there! This year, we're running a sister conference alongside DPC - the very first Dutch Mobile Conference is being held! Your...

Juan Treminio's Blog: Setting Up an Ubuntu VM, Step by Step

Juan Treminio's Blog: Setting Up an Ubuntu VM, Step by Step
Juan Treminio has a recent post to his blog showing the complete steps you'll need to get a virtual machine up and running (using VirtualBox and a Ubuntu Seerver install), complete with PHP, MySQL, Samba and Apache.Recently on r/php there was a thread asking users about their development environments. The usual answers came tumbling out - mostly about IDEs and methods for uploading their code (side note: FTP is a horrible way to do this!). Out of 144 responses, I noticed that very few mentioned virtual...

Voices of the ElePHPant Podcast: Interview with Eli White

Voices of the ElePHPant Podcast: Interview with Eli White
The Voices of the ElePHPant podcast has released their latest episode, another interview with a member of the PHP community. This time it's a chat with Eli White of MojoLive.Cal's three questions for Eli are: What advice do you have for managers that want to hire a remote developer? Of the three work experiences (US Gov't, Startup, Enterprise) which did you like the best and why? With all of the resume sites out there [...] why did MojoLive go into this space and what makes it different enough to stand...

Latest PHP Tweets