PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 781 to 800 of 6889

Updated Kafka PHP client library

Updated Kafka PHP client library
New PHP client library for the Apache Kafka project. Full support for Kafka 0.7+, with robust socket handling, complete test suite, Zookeeper-based consumer and many other improvements.

My Infinite Loop

My Infinite Loop
I had a small spot of panic earlier this week when a customer reported that their account page on WonderProxy was timing out. The panic intensified when I was readily able to replicate the issue: the script was timing out, and completely failing to display any account information. I've worked on many poorly performing pages in the past, often to great success: that's not the source of the panic. My real concern was that there was no reason for the page to take that long to generate. We switched over to...

PHPMaster.com: Subtype Polymorphism - Swapping Implementation at Runtime

PHPMaster.com: Subtype Polymorphism - Swapping Implementation at Runtime
On PHPMaster.com there's a new tutorial from Alejandro Gervasio about subtype polymorphism. It sounds a little scary, but really it's just a look at sub-objects that inherit from parents and how to swap them around at runtime to do different things.In this article I'll show you how to exploit the virtues that Polymorphism offers through the development of a pluggable cache component. The core functionality can be expanded later to suit your needs through the development of additional cache drivers.He...

Robert Basic: Unit testing Zend Framework 2 modules

Robert Basic: Unit testing Zend Framework 2 modules
Robert Basic has a new post showing you how to create unit tests for modules in your Zend Framework 2 applications. His example includes how to set up PHPUnit and how to write a few sample tests.Porting this blog to Zend Framework 2, I decided to write some unit tests as well, while I'm at it. Not that the current code base doesn't have unit tests, just it doesn't have much of it... Anyway, I'd like to show how to get unit tests for modules up and running, as well how to throw in Mockery in the mix, as...

Rob Allen: Module specific layouts in ZF2

Rob Allen: Module specific layouts in ZF2
Rob Allen has a new post to his site about module-specific layouts in Zend Framework 2 via a module from Evan Coury.If you need different layout scripts to be rendered for different modules in Zend Framework 2, then Evan Coury has made this extremely easy. His new module EdpModuleLayouts is just the ticket! Once installed, you simply have to add a new array to a config file in the config/autoload folder.The update is just a simple "module_layouts" setting that lets you specify it based on the module name...

Justin Carmony: Vagrant & PHP: Our Success Story at the Deseret News

Justin Carmony: Vagrant & PHP: Our Success Story at the Deseret News
Justin Carmony has shared his success story about the use of Vagarant and PHP as a platform to make setting up and configuring developers' environments simple.Now-a-days, you have frameworks that need to be setup [as a part of your environment], include paths that need to be changed, modules that need to be installed, web servers that need to be configured for your routing, etc. Then you might not just have MySQL, but Redis, Mongo, Couch, Memcached, Postgres, or any other dozen other servers. Then in...

Development environment for Magento OXID and Shopware

Development environment for Magento OXID and Shopware
Developers in smaller and larger e-commerce agencies/shops are often faced with different development environments. Customers who want to evaluate e-commerce platforms like Magento, OXID or Shopware have to handle everything from downloading the packages, their LAMP stack and installing it on-the-go. Of course, you might have your own virtual machine, but for a quick shot you have to create another virtual host etc. But there's a solution for that: a vagrant/puppet based development environment for...

7PHP.com: Interview with Matthew Turland, Co-Author of "PHP Master: Write Cutting Edge Code"

7PHP.com: Interview with Matthew Turland, Co-Author of "PHP Master: Write Cutting Edge Code"
7PHP.com has posted another interview with a PHP community member - this time it's with Matthew Turland, one of the co-author's of SitePoint's "PHP Master: Write Cutting Edge Code" and known speaker/author.In this edition I talked with [Matthew Turland @elazar], co-author of the PHP book 'PHP Master:Write Cutting Edge Code'. He currently works as a Senior Platform Engineer for Synacor Inc. Matthew was also a former technical editor for php|architect Magazine, contributor to the Zend Framework project and...

Introducing aoDo This, Not Thata For PHP Developers

Introducing aoDo This, Not Thata For PHP Developers
When I was a new PHP developer, I discovered that there's a myriad of solutions, options, configurations and frameworks available. I thought, how does one sift through all the noise and get something done? How can anyone have a grasp of the best practices in PHP, and make sense out of all the options? Which [...]

Emanuele Minotto: PHP in a Tweet

Emanuele Minotto: PHP in a Tweet
Emanuele Minotto has a recent post with a set of "PHP in a tweet" posts that do all sorts of things.Yesterday an ex colleague tweeted something that captured my attention, so I started thinking to a Twitter-powered code golfing competition. Looking for other examples.Tweets included in the list are snippets like: A dependency injection container A super simple web framework A microframework Bypassing array_intersect There's some game rules included in the post so you can contribute your own to the the...

Reddit.com: What does it take to be hirable in the world of PHP?

Reddit.com: What does it take to be hirable in the world of PHP?
On Reddit.com there's a new discussion about what it might take to be "hirable" as a PHP developer and recommendations from the community as to things to do.I'm a 19-year-old who has recently hit a bit of a rough spot in life, and the only real skill I have other than tending the cash register is programming. I've been programming for quite a while, although I've never taken more than small web design work in terms of paid jobs. I'm interested to know if with some touch-up and extra learning PHP is...

PHP.net: PHP 5.4.7 and PHP 5.3.17 released!

PHP.net: PHP 5.4.7 and PHP 5.3.17 released!
On the PHP.net site they've announced the latest releases of the language - PHP 5.4.7 and 5.3.17:The PHP development team announces the immediate availability of PHP 5.4.7 and PHP 5.3.17. These releases fix over 20 bugs. All users of PHP are encouraged to upgrade to PHP 5.4.7, or at least 5.3.17. Key enhancements in these releases include bugs #62955 and #62460.If you'd like to see the full list of changes you can see them in the Changelog. To download this latest release you can head over here: source...

Site News: Popular Posts for the Week of 09.14.2012

Site News: Popular Posts for the Week of 09.14.2012
Popular posts from PHPDeveloper.org for the past week:Evan Coury: Why Zend Framework Fabien Potencier: Why Symfony? Site News: Popular Posts for the Week of 09.07.2012 Troy Hunt: 10 lessons for uncultured web developers Community News: "The Joy of PHP Programming" Book & Course Kickstarter PHPMaster.com: Access the Windows Registry from PHP Community News: Latest PECL Releases for 09.11.2012 Reddit.com: Thoughts on API centric architecture Gonzalo Ayuso: Combining Zend Framework2 and Symfony2 components...

Reddit.com: Can We Revive php.net User Notes Or Kill It?

Reddit.com: Can We Revive php.net User Notes Or Kill It?
In this discussion on Reddit, there's talk about the user comments feature on the PHP.net site and the value they provide to the language and community.The question, however, has always been "how useful is this feature really and does it bring more harm than good?". It's not that easy to answer since there are so many notes submitted by a wide range of users and some will likely go unnoticed while others seem to get undue attention due to their positioning near the top of the user-notes section of a...

PHPMaster.com: Amazon DynamoDB: Store PHP Sessions with Load Balancer

PHPMaster.com: Amazon DynamoDB: Store PHP Sessions with Load Balancer
PHPMaster.com has a new tutorial posted showing how you can work with the Amazon DynamoDB to store session information from your PHP application (originally posted on CloudSpring).This tutorial will show you how to use Amazon DynamoDB as a storage facility for PHP sessions. This method becomes very useful when your applications take advantage of the Elastic Load Balancing and Autoscaling services. You will need Amazon AWS account enabled to use EC2, Elastic Load Balancer and DynamoDB as a prerequisite to...

Jim Bird: How to Cheat at Application Security

Jim Bird: How to Cheat at Application Security
Jim Bird has a new post with links to a few different resources helping you "cheat" at application security - links to cheat sheets with highlights of key points to keep an eye out for.Developers need to know a lot in order to build secure applications. Some of this is good software engineering and defensive design and programming - using (safe) APIs properly, carefully checking for errors and exceptions, adding diagnostics and logging, and never trusting anything from outside of your code (including...

PHP 5.4.7 and PHP 5.3.17 released!

PHP 5.4.7 and PHP 5.3.17 released!
The PHP development team announces the immediate availability of PHP 5.4.7 and PHP 5.3.17. These releases fix over 20 bugs. All users of PHP are encouraged to upgrade to PHP 5.4.6, or at least 5.3.16. Key enhancements in these releases include: Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry). Fixed bug #62460 (php binaries installed as binary.dSYM). The full list of changes are recorded in the ChangeLog. For source downloads of PHP 5.4.7 and PHP 5.3.17...

CodeIgniter.com: Rumbelow Publishes Volume Two of CodeIgniter Handbook Series

CodeIgniter.com: Rumbelow Publishes Volume Two of CodeIgniter Handbook Series
On the CodeIgniter blog there's a new announcement about a book published from one of the main CodeIgniter developers (Jaime Rumbelow) - the second volume in the CI Handbook series.Earlier this year I wrote and released The CodeIgniter Handbook - Vol. 1 - Who Needs Ruby? to critical acclaim. It's been several months since the release of Volume One and everybody's support, feedback and enthusiasm has been absolutely wonderful. To everyone who has purchased a copy, thank you. I'm thrilled to announce that...

Sebastian Göttschkes: symfony2: Testing email sending

Sebastian Göttschkes: symfony2: Testing email sending
Sebastian Göttschkes has a new post showing a method he's come up with to test email sending in a Symfony2 application.On my endless struggle to achieving 100% code coverage and catching every possible (and impossible) test case (I'm just kiddinh, please don't do this!) I was in need for some way to test the sending of emails. This blog post will show you how to test this within a symfony2 (I'm using symfony 2.1 RC2) application, using the default swiftmailer.It's not unit testing, it's functional...

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:SitePoint Podcast: #129: Taking PHP to the Next Level with Lorna Mitchell Kevin Schroeder's Blog: Zend Framework 2 Event Manager Federico Cargnelutti's Blog: Building a RESTful Web API with PHP and Apify NetTuts.com: How to Upload Files with CodeIgniter and AJAX Community News: PHP 5.4.0beta1 Released for Testing .Net Magazine: Create an SVG data visualization with PHP Juozas Kaziukenas' Blog: Dependencies management in PHP projects Michael...

Latest PHP Tweets