PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 61 to 80 of 144

Danne Lundqvist: Using Xdebug in MAMP

Danne Lundqvist: Using Xdebug in MAMP
Danne Lundqvist has a new post today showing you how to install and use XDebug with MAMP, the popular all-in-one LAMP package for OS X.MAMP is a full local server environment including Apache, PHP and MySQL in one package. Anyone feeling at home in *nix systems should feel at home using both OS X and MAMP. [...] As I have helped a few collegues setup Xdebug in MAMP I have discovered that a lot of developers don't do this as they don't know how simple it is. Even seasoned PHP developers use the old...

DevHell Podcast - Episode 19: Almost an Apology

DevHell Podcast - Episode 19: Almost an Apology
The latest episode of the /Dev/Hell podcast has been posted today - Episode #19, "Almost an Apology". Hoest by PHP community members Chris Hartjes and Ed Finkler, their special guest this time is Chris Shiflett.After some downtime spent taking mental reps, Chris and Ed are back with a vengeance for one of our best shows. Joining us is Chris Shiflett, PHP fellow and security expert. They talk about how we interact with non-techie members of dev teams, what they're doing with Node, the state of the...

PHPMaster.com: Using the Last.fm API

PHPMaster.com: Using the Last.fm API
New on PHPMaster.com today there's a tutorial showing you how to work with the Last.fm API from your PHP applications (a REST-based service). Last.fm is a social music site and recommendation service that takes what you already listen to and suggests other artists/songs you might like.If you are building a site for a band or artist and you want to make it more social using Last.fm, it's a must to use their API. In this way artists and fans can become connected and fans can stay up to date on concerts and...

Community News: Latest PECL Releases for 09.18.2012

Community News: Latest PECL Releases for 09.18.2012
Latest PECL Releases: stomp 1.0.4 svm 0.1.8 timezonedb 2012.6 msgpack 0.5.2 xcommerce 1.0.3 yaf 2.2.2 leveldb 0.1.0

Using Xdebug in MAMP

Using Xdebug in MAMP
My current web development environment basically consists of a Macbook Pro running Mountain Lion, PHPStorm 5.0 and Virtual Box running one ore more virtual Ubuntu Servers with everything needed. Correctly setting up a linux guest OS in Virtual Box with shared folders shouldn't be but is sometimes a bit of a headache. (Even though it does have many advantages.) Others choose not to use virtual servers and instead go for AMAMP when using OS X. MAMP is a full local server environment including Apache, PHP...

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