PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 121 to 140 of 250

Open Advice

Open Advice
I seem to have not blogged about this, but Open Advice, our book on Free and Open Source Software: what we wish we had known when we started, was published last month. The book was edited by Lydia Pintscher and includes essays from 42 authors, many of whom you'll recognize if you tend to go to FOSS conferences. The LWN book review concludes: Open Advice is a book that will be helpful to those who are new to FOSS, but, because of the individual voices, styles, and tones, it doesn't read like a "how to"....

PHP migrates to Git

PHP migrates to Git
The migration of the PHP source code from Subversion to Git is complete. You can clone or fork the source from our GitHub mirror, and we also now support pull requests made via GitHub. The source is also available via git.php.net, and full instructions on cloning the php-src tree can be found at php.net/git. One immediate benefit is that future PHP release tags will be signed by the PHP development team. We will be releasing GPG keys for verification purposes in the next few days. More information on the...

Hosted MySQL: Amazon RDS (and backups)

Hosted MySQL: Amazon RDS (and backups)
Among all the different technologies in our stack, we also use MySQL. While we still run MySQL (or Percona-Server) ourselves, we selected a managed solution to power parts of our production infrastructure: a Multi-AZ setup with Amazon's RDS. AZ is Amazon-speak for "availability zone", essentially a datacenter. RDS stands for: Relational Database Service.Judging from my experience with our own setups where EBS is in the mix, I have to say that Amazon does an outstanding job hiding these potential issues...

VIE and Create: an update

VIE and Create: an update
It is again time to write an update on the state of IKS's two main components for the semantic editing part of Decoupled Content Management: VIE is the base semantic interaction library that handles the site's content model through RDFa annotations and Backbone.js synchronization Create is a new kind of web editing interface built on top of that. As the IKS project has entered its fourth year, both of these projects have gained maturity and contributions from many IKS partners and early adopters. New UI...

Ryan Mauger's Blog: Controller Testing with the FlashMessenger in Zend Framework

Ryan Mauger's Blog: Controller Testing with the FlashMessenger in Zend Framework
Ryan Mauger has a new post to his blog today looking at doing some controller testing in a Zend Framework application and some issues he was with the FlashMessenger component.During a recent project, I encountered problems with the flash messenger not playing ball with PHPUnit. The problem, the FlashMessenger using a session namespace, and trying to start the session. Additionally to this problem, how do you test that the flash message is set as you'd expect (or not as the case may be). The answer to...

Brandon Savage's Blog: "PHP Playbook" Giveaway!

Brandon Savage's Blog: "PHP Playbook" Giveaway!
In this new post to his blog Brandon Savage mentions his book, the PHP Playbook (php|architect), and how he's giving away several free copies.When I started writing my book, I wanted to help PHP developers have a greater understanding of the tools, tips and tricks available when working as part of a team. That goal became The PHP Playbook. I'm excited that the book has been so well received, and I'm excited that I've finally received my promotional copies. So, in honor of that, I'm going to give some of...

Rob Allen's Blog: A list of ZF2 Events

Rob Allen's Blog: A list of ZF2 Events
In a reference sort of post, Rob Allen has listed out the events that are provided in the Zend Framework 2 "Application" functionality.Both the Module Manager and the MVC system use the Event Manger extensively in order to provide "hook points" for you to add your own code into the application flow. This is a list of the events triggered by each class during a standard request with the Skeleton Application.It's broken up into the three main chunks - Module Manager, Bootstrap and Application - with any...

PHP's Source Code for PHP Developers - Part 2 - Function Definitions

PHP's Source Code for PHP Developers - Part 2 - Function Definitions
Part 2 of the PHP's Source Code for PHP Developers series is up over on Nikic's Blog. AIn it, he discusses how internal PHP functions are defined, and how to figure out what they do. APart 3 will be back over here and will cover how variables work internally (The ZVAL). AEnjoy!

Pascal Opitz's Blog: An example of how to use Pimple DI with ZF 1.x

Pascal Opitz's Blog: An example of how to use Pimple DI with ZF 1.x
Pascal Opitz has a really quick post to his blog showing a snippet of code about using Pimple with the Zend Framework 1.After having had a look at Silex, and struggling with the somewhat cumbersome ini configurations and YADIF, I wanted to try out whether I could use Pimple as DI container for ZF 1.x Turns out I can, as you can just select Pimple to be the bootstrap container.Hsi example (gist of the code here) also shows how to subclass the container and add in some default settings objects into the...


Community News: phpDocumentor Merges with DocBlox for phpDocumentor 2!

Community News: phpDocumentor Merges with DocBlox for phpDocumentor 2!
As is mentioned in this new post to the DocBlox blog, there's been a major development between it and the phpDocumentor documentation generation tool - phpDocumentor 2 will be released soon, merging DocBlock and phpDocumentor into one tool!Announcing phpDocumentor 2 - the merging of the old (phpDocumentor) and the new (DocBlox). With the first alpha release of phpDocumentor (2.0.0a1), the new "Responsive" default template sports a new page layout, along with the useful layout improvements that the...

Site News: Popular Posts for the Week of 03.16.2012

Site News: Popular Posts for the Week of 03.16.2012
Popular posts from PHPDeveloper.org for the past week:Anthony Ferrara's Blog: Handling Plugins In PHP Pádraic Brady's Blog: XSS in PHP (Part 1): How Not to Use Htmlspecialchars Kevin Schroeder's Blog: My first stab at the Dependency Injection Container in Zend Framework 2 Smashing Magazine: Writing Unit Tests For WordPress Plugins Hari KT's Blog: Is there a design flaw for the Components or Packages made by Symfony2 and ZF2 Ralph Schindler's Blog: PHP Constructor Best Practices And The Prototype...

wetter.com - Relaunch with symfony2, Assetic, Varnish and Twig

wetter.com - Relaunch with symfony2, Assetic, Varnish and Twig
After a lot of hard work, on march 10 a complete rebuild of wetter.com went online. The site is #1 or #2 in germany for weather forecastsAsince yearsAwith millions of visits/day. It was built completely new on PHP 5.4, Symfony 2, MySQL, SolR, Varnish and NginX. The task to re-build the whole site from scratch was given to our partnerATFT (Tomorrow Focus Technologies)Awho invited 100 DAYS into the project to develop the symfony2 parts. This post describes the experiences we made when developing and...

Understanding PHP's internal function definitions (PHP's Source Code for PHP Developers - Part 2)

Understanding PHP's internal function definitions (PHP's Source Code for PHP Developers - Part 2)
Welcome to the second part of the aoPHP's Source Code For PHP Developersa series. In the previous part ircmaxell explained where you can find the PHP source code and how it is basically structured and also gave a small introduction to C (as that's the language PHP is written in). If you missed that post, you probably should read it before starting with this one.What we'll cover in this article is locating the definitions of internal functions in the PHP codebase, as well as understanding them.How to find...

Mailchimp Signup Form for WordPress

Mailchimp Signup Form for WordPress
For your website's newsletter is Mailchimp for sure one of the best email marketing systems online. They offer a great interface with many options to build email templates and subscription forms. There is also a plugin for Wordpress which works great out of the box. If you need to do some customization or integration work for your site or web application you need to use the API system. I wrote in the past an tutorial about how to use the Mailchimp API for your contact form script and today I show you how...

The IDEs of March

The IDEs of March
Last Year, Chris Shiflett started the aoIdeas of Marcha movement, and Jon Tangerine quickly coined the aoIdes of Marcha twist and some people followed him. This year, here we are again and while reading my twitter feed I saw Cal Evans' post with Jon Tangerine's line. Of course it was early and I read aoIDEsa. Since last year I defended the Ideas of March with why you should blog, and I still believe the reasons stand, this year I'll just make my own twist and talk about IDEs. Yes, its a shameless sorry...

aoPHP Playbooka Giveaway!

aoPHP Playbooka Giveaway!
When I started writing my book, I wanted to help PHP developers have a greater understanding of the tools, tips and tricks available when working as part of a team. That goal became The PHP Playbook. I'm excited that the book has been so well received, and I'm excited that I've finally received my promotional [...]

Reddit.com: Let's talk Character Encoding

Reddit.com: Let's talk Character Encoding
On Reddit.com there's a recent post with a growing discussion about character encodings in PHP applications (with some various recommendations).I would rather not have to convert these weird characters to the HTML character entities, if possible. I'd rather be able to use these characters directly on the web page. If this is for some reason a bad idea, let me know. This might be more of a general web design question (i already posted it there), but I figured it is still appropriate to post here as well...

Joseph Scott's Blog: Why PHP Strings Equal Zero

Joseph Scott's Blog: Why PHP Strings Equal Zero
Joseph Scott has a new post to his blog looking at "why PHP strings equal zero" - that when you use the "==" operator on a string to compare to zero, it's true.The issue of PHP strings equaling zero has come up a few times recently. [...] Running that will display Equals zero!, which at first glance probably doesn't make much sense. So what is going on here?He gets into the specifics of what's happening - a bit of type jugging, less strict comparison since it's the "==" versus "===" and how the PHP...

Community News: "Ideas of March" Blogging Refresh

Community News: "Ideas of March" Blogging Refresh
This time last year, several members of the PHP (and wider) community wrote up blog posts titled "The Ideas of March". The idea was to blog about blogging and try to kickstart others and encourage them to get back on to blogging again. Here's a list of the people who have posted so far: Wez Furlong Lorna Mitchell Cal Evans Chris Cornutt Tom Mairs Jason Lotito Drew McLellan Sean Coates Chris Shiflett Joshua Thijssen This list will be updated throughout the day as more posts show up.