PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 1 to 20 of 186

Joshua Thijssen's Blog: Using vagrant and puppet to setup your symfony2 environment

Joshua Thijssen's Blog: Using vagrant and puppet to setup your symfony2 environment
In his most recent post Joshua Theijssen shows you how to set up a complete Symfony2 environment, automated with the help of Puppet and Vagrant.Together with other tools, setting up a complete development environment with just a single command is not only reality, but it's becoming for a lot of developers a daily practice. But even for open source projects like joind.in and protalk.me are seeing the benefits of having "development environment on the fly". New contributors don't have to spend a lot of...

James Fuller's Blog: Why can't someone just make a good IDE for PHP?

James Fuller's Blog: Why can't someone just make a good IDE for PHP?
James Fuller has posted some of his thoughts about the state of IDEs for PHP (text editors too!) and some of his recent experiences trying to find one that fits his needs.I think the first "IDE" I ever used for web development would have to be Adobe Dreamweaver (nee Macromedia). Ok, so maybe it was Microsoft FrontPage, but that shouldn't really count. [...] This post is about my experience moving away from the oft-maligned program and some lessons learned in my quest for the perfect IDE.He tried out...

Matthew Weier O'Phinney's Blog: On Visibility in OOP

Matthew Weier O'Phinney's Blog: On Visibility in OOP
Matthew Weier O'Phinney has a new post to his blog today looking at visibility in OOP in PHP - less about the features the language offers and more about the theory of their use.I'm a big proponent of object oriented programming. OOP done right helps ease code maintenance and enables code re-use. Starting in PHP, OOP enthusiasts got a whole bunch of new tools, and new tools keep coming into the language for us with each minor release. One feature that has had a huge impact on frameworks and libraries has...

DZone.com: How to Build PHP 5.4 Applications with Visual Studio

DZone.com: How to Build PHP 5.4 Applications with Visual Studio
On Dzone.com today there's a new post showing you how to build PHP applications with Visual Studio based on PHP project templates.Developing web applications with PHP is cool, especially when you have the right development tools and even with more features added in PHP 5.4. But each time I left the comfort of Intellisense in Visual Studio to develop PHP applications using Zend or Netbeans for PHP, I was not always satisfied with those IDEs' code complete features. Thus, I decided to search for any...

Site News: Popular Posts for the Week of 06.29.2012

Site News: Popular Posts for the Week of 06.29.2012
Popular posts from PHPDeveloper.org for the past week:PHP-Tip-a-Day: PHP Tutorial: King Floyd and the Seventeen Princes - A Tale of the Observer Pattern Mayflower Blog: Software Architecture Decisions - How to do it Wrong the Hard & Easy Way CodeDevelopr.com: 50 Web Developer Documentation Manuals You Need To Know About Robert Basic's Blog: Using the new autoloaders from Zend Framework 1.12 PHPMaster.com: Multi-Factor Authentication with PHP and Twilio Jeremy Cook's Blog: Normalising DateTimes with...

PHP solves problems. Oh, and you can program with it too!

PHP solves problems. Oh, and you can program with it too!
I'd like to point your attention to one particular comment on Jeff Atwood's new aoPHP sucks!a blog post, a comment by Adam Victor Nazareth Brandizzi: I am a Java programmer at work (could be no more corporate-y) and a Python developer in my projects (could be no more hipster) but I admire PHP and its ability of solving problems. It grows because, some times, some poor soul wants to create an online encyclopaedia, or some teacher needs an online teaching platform, or someone wants to write a blog. Those...

On Visibility in OOP

On Visibility in OOP
I'm a big proponent of object oriented programming. OOP done right helps ease code maintenance and enables code re-use. Starting in PHP, OOP enthusiasts got a whole bunch of new tools, and new tools keep coming into the language for us with each minor release. One feature that has had a huge impact on frameworks and libraries has been available since the earliest PHP 5 versions: visibility.

NetTuts.com: Build Web Apps from Scratch with Laravel - The Eloquent ORM

NetTuts.com: Build Web Apps from Scratch with Laravel - The Eloquent ORM
In the second part of their series looking at the Laravel PHP framework and creating your first application with it. In part one you got a brief introduction to creating and configuring an application. In part two they dig a little deeper and talk about Laravel's ORM functionality.In this Nettuts+ mini-series, we'll build a web application from scratch, while diving into a great new PHP framework that's rapidly picking up steam, called Laravel. In this lesson, we'll be working on an integral part of any...

PHPMaster.com: Managing Class Dependencies: Dependency Injection, Service Locators & Factories, Pt 2

PHPMaster.com: Managing Class Dependencies: Dependency Injection, Service Locators & Factories, Pt 2
PHPMaster.com has posted the second part of Alejandro Gervasio's series looking at dependency injection, service locators and factories. In this new part of the series, he picks back up with his look at these patterns and how they can reduce your dependencies on things like "new" even more.While it's fair to admit that factories do have a neat niche in a number of special use cases, I'm not so merciless as to condemn Service Locators and plain Dependency Injection to an unfair exile. In this final part...

MaltBlue.com: 4 Keys to a Great Software Development Methodology

MaltBlue.com: 4 Keys to a Great Software Development Methodology
On the MaltBlue.com blog Matt has posted four different keys he sees to making a good software development environment and make for happier developers (and managers).A lot of the time when we're developing applications they're likely to be based around customizing or extending an existing application, such as WordPress, Joomla, Oxid eSales et al. In these cases, there's a clear set of rules and guidelines to work with. [...] But what about when we're building our own applications, bespoke ones, from...

Cal Evans' Blog: Setting Up a (FREE) WordPress Development Site

Cal Evans' Blog: Setting Up a (FREE) WordPress Development Site
In this new post to his blog, Cal Evans shows developers (and non-developers) how they can set up a free WordPress blog with the help of the phpcloud.com and phpfog.com hosted services.Everyone however, experiments. Whether it's a new theme or a new plugin, you really, really need someplace to test things. one of the worst thing you can do is what I do with this blog, just install things and play with them in production. [...] There is a solution though, actually, I'll present you with two. One for PHP...

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:Martin Sikora's Blog: Symfony 1.4 on shared webhosting Shay Ben Moshe's Blog: PDO Persistent Connection Analysis Anthony Ferrara's Blog: In Response To: Building Secured Web Applications Using PHP - The Basics Elated.com: Object-Oriented PHP: Autoloading, Serializing, and Querying Objects PHP.net: PHP Documentation Update PHP.net: PHP 5.4 alpha1 Released Chris Shiflett's Blog: Sorting Multi-Dimensional Arrays in PHP Ibuildings techPortal:...

PECL/mysqlnd_ms 1.4: A failover standby using weighted/prioritized load balancing

PECL/mysqlnd_ms 1.4: A failover standby using weighted/prioritized load balancing
Some people speak incredibly fast, others make you fall asleep listening. If you have a heterogenous MySQL cluster with differently sized machines, some will be able to answer questions faster than others. PECL/mysqlnd_ms 1.4, the PHP MySQL replication plugin, allows you to assign more requests to the faster ones than to the others. Cluster nodes can be given a weight, a priority for load balancing. For example, a node given a weight of two will get twice as many requests in the average as a node...

Jeremy Cook's Blog: Normalising DateTimes with Doctrine Events

Jeremy Cook's Blog: Normalising DateTimes with Doctrine Events
Jeremy Cook has written up a new post showing you a method for normalizing the date and time information in your application (DateTime) with the help of Doctrine's own event listeners.The solution we hit on was to leverage Doctrine's system of event listeners to help us do the work. Doctrine allows you to register listeners with the entity manager that are called whenever certain events occur. We created an event listener that is triggered on the onFlush event.Code is included for the event listener they...

Zend: Results from "Zend Developer Pulse" 2012 Survey Posted

Zend: Results from "Zend Developer Pulse" 2012 Survey Posted
Zend has published the results of their "Developer Pulse" survey for 2012 - the product of a survey of over three thousand developers across the PHP community.The summer 2012 edition of the Zend Developer Pulseā„¢ survey shows that PHP is gaining prominence as a cloud application development language of choice. The combination of speed and ease of use enables developers to build and deploy PHP-based cloud applications quickly: more than half the developers surveyed indicated that the apps they are...

Northeast PHP Conference

Northeast PHP Conference
The Northeast PHP conference is a two day event coordinated by three PHP user groups in the northeast region: Boston PHP, Atlantic Canada PHP, and Vermont PHP. The entire event is being organized organized by community volunteers and members just like you. We are completely non profit, and open source. There will be nothing quite like it. With two fun-filled days full of great topics from over 40 experts, it's like three years of Meetups jam packed into two days! Check out the Northeast PHP...

James Morris' Blog: Parsing HTML with DOMDocument and DOMXPath::Query

James Morris' Blog: Parsing HTML with DOMDocument and DOMXPath::Query
In the latest post to his blog James Morris looks at using XPath's query() function to locate pieces of data in your XML.The other day I needed to do some html scraping to trim out some repeated data stuck inside nested divs and produce a simplified array of said data. My first port of call was SimpleXML which I have used many times. However this time, the son of a bitch just wouldn't work with me and kept on throwing up parsing errors. I lost my patience with it and decided to give DomDocument and...

DZone.com: The Duck is a Lie

DZone.com: The Duck is a Lie
In this recent post to DZone.com Giorgio Sironi looks at duck typing and compares it in a few different languages (PHP, Ruby and Java). "Duck typing" is where the methods/functions define the structure or common interface rather than being functional.What follows is my experience with Java, PHP and Ruby. I mainly use PHP as a dynamic language that supports duck typing but also the definition of Java-like interfaces, but does not force any of the two approaches as you can define interfaces whose method...

Community News: Northeast PHP Conference Tickets on Sale Tomorrow!

Community News: Northeast PHP Conference Tickets on Sale Tomorrow!
As Bradley Holt mentions in this new post to his blog, the tickets for the Northeast PHP Conference will be going on sale this Thursday (June 28th) for $99 USD.The conference will be taking place on Saturday, August 11th and Sunday, August 12th at Microsoft's NERD Center in Cambridge, MA and will feature talks from dozens of speakers across four tracks. This event is being organized by Boston PHP (a non-profit organization) and other user groups from the northeast region - it is completely...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Galaxy Loader PHP Editor PhpEditor MySQL PHP data manipulation Extended Generic Pager Easy SMTP Mail Class FTP Fer get host and keywords from url Number to Arabic Error Fields