|
Sponsored Link
|
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...
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 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...
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...
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...
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...
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 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 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...
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 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...
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
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 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...
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...
On PHPMaster.com today there's a new tutorial that shows you some examples of working with files and the local file system in your PHP applications.You may well be familiar with databases such as MySQL and Access which are an ever-increasingly common means of storing data. But data is also stored in files, like Word documents, event logs, spreadsheets, image files, and so on. Databases generally require a special query language to retrieve information, whereas files are 'flat' and usually appear as a...
On the Refulz blog there's a post showing you how to set up conditional multiple validation rules in a Yii framework application.I am yet to write the last article of the Yii Session series. I just decided to write something about the scenarios in the Validation feature of Yii framework. Scenarios are a very useful tool for adding different validations rules for different cases on the same model. In a real life situation, you would require one validation rule for user registration but the same rule might...
Kevin Schroeder has a new post to his his blog with a bit more advanced example of using the Zend Framework 2 EventManager to make global event triggers.If you look at my previous post on the ZF2 EventManager class you might be tempted to think that you are limited only to listening to events for local instances of the event manager. But no, my friend, you would be wrong. The event manager actually provides access to a sort of global event manager. But it's more than that. This global event manager...
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.
Manually trying to document the XML structure is not a fun job. And I have looked around for a simple tool but I didn't really find a A tool that gave me the quick and dirty overview I wanted. A year or so ago I finally wrote...
Latest PECL Releases:
cairo 0.3.2
sundown 0.3.3
sundown 0.3.2
spidermonkey 1.0.0
chdb 1.0.2
yaf 2.1.12
spidermonkey 0.2.1
|
|