PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

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

Interview with Michelangelo Van Dam

Interview with Michelangelo Van Dam
Blog:Ahttp://www.dragonbe.com/ Twitter:A@DragonBe Show Notes: http://www.phpbenelux.eu http://conference.phpbenelux.eu/2012/ A Sponsored by: Engine Yard

Community News: True North PHP Conference 2012 Announced!

Community News: True North PHP Conference 2012 Announced!
A new PHP conference has just been announced to the community - the True North PHP Conference (2012). The event will be held in Toronto, Ontario November 2nd and 3rd and is currently running their open Call for Papers.We are firm believers that the PHP community is second to none. We also believe that Toronto has an awesome PHP community and deserves an equally awesome conference. Those beliefs are what inspired us to create True North PHP, a conference designed to showcase Toronto's talent and give back...

Matt Cockayne: Bootstrapping ZF2 Forms

Matt Cockayne: Bootstrapping ZF2 Forms
In this recent post to his site, Matt Cockayne shows you how to bootstrap your forms in a Zend Framework 2 application (as defined in a class).A brand spanking new Forms component has been rolled out with ZF2. The long and the short of this new component meant that I had the opportunity to hand roll a new way of making my forms work with Twitter Bootstrap. So, a little tinkering, a quick pull request to ZF2 to allow the definition of arbitrary options and I came up with some useful View Helpers that can...

Reddit.com: An interesting negative take on Dependency Injection

Reddit.com: An interesting negative take on Dependency Injection
In this recent post to Reddit.com there's some commentary about an older article sharing a negative spin on dependency injection and how it could cause more trouble that it's worth.The attitude of these pattern junkies doesn't work with me. *I* will decide whether or not I will use a particular design pattern, and *I* will decide how I implement it. This usually means that I don't use design patterns at all, and those that I do use are implemented in my own unique way. Because of this I am widely...

EngineYard.com: Chicks that Rip: Elizabeth Smith

EngineYard.com: Chicks that Rip: Elizabeth Smith
In the newest post in their "Chicks that Rip" series of podcasts spotlighting women in technology, Elizabeth Naramore interviews Elizabeth Smith, a member of the PHP community about her involvement in a few different projects (and her work).[In this episode] Elizabeth Naramore interviews Elizabeth Smith of mojoLive about working on PHP for Windows and starting phpmentoring.orgThey talk about her move from dance to programming, the work she does on PHP and Windows, issues she sees in the PHP core code,...

What Generators Can Do For You

What Generators Can Do For You
The concept of generators was recently proposed for addition in PHP's core (Possibly for 5.5.0). While I believe that this is a great tool, it appears that many PHP developers aren't familiar with the concept of generators. So I thought I would take a little time and explain some of how it works, and how it can be used to greatly simplify code.Read more A

MaltBlue.com: Why Kohana is an Excellent Alternative to Zend Framework

MaltBlue.com: Why Kohana is an Excellent Alternative to Zend Framework
On MaltBlue.com today Matt has a new article posted describing why he thinks Kohana is a good alternative to the Zend Framework in some projects.recently I've been doing a lot of research in to some of the best PHP frameworks and codebases, including Symfony 1 & Symfony 2, Drupal, CakePHP and Kohana for a technical documentation project that I've been working on. [...] Well, to say the least, I was really surprised at just how simple, lightweight and easy Kohana is to use. Wow, what a true breath of...

PHPMaster.com: An Introduction to Mock Object Testing

PHPMaster.com: An Introduction to Mock Object Testing
In this new tutorial on PHPMaster.com Jose Asuncion walks you through the use of mock objects in your unit testing.If you are part of a development team, more often than not your code will also depend on code written by your teammates. But what if their code isn't available at the moment - say, your teammate hasn't finished writing it yet? Or, what if the code you need requires other external dependencies that are hard to set up? And what if you cannot test code because of other factors beyond your...

Anthony Ferrara: Is Autoloading A Good Solution?

Anthony Ferrara: Is Autoloading A Good Solution?
In his most recent post Anthony Ferrara takes a look at autoloading - mostly asking the question of whether the problems it has really outweigh the benefits.The real problem that autoloaders solve is to load dependencies. [...] The normal logic that's used to justify autoloading over manual dependency loading in production is that it only loads the classes you need. Therefore you save the parsing costs of classes that you don't need. But surely that additional run-time loading has costs. So I decided to...

Engine Yard: Introducing Lithium: The simple, fast and flexible PHP framework

Engine Yard: Introducing Lithium: The simple, fast and flexible PHP framework
For those that have heard about the Lithium PHP framework but haven't gotten a chance to get into it, Engine Yard is hosting a webinar just for you. Nate Abele, one of the core developers for the framework, will be presenting an introduction to the framework on July 26th.Lithium is a framework for PHP 5.3+ that is focused on quality, speed, and flexibility. It's a set of no-nonsense philosophies and tools that enable you to build better applications, in less time, without sacrificing quality or...

Is Autoloading A Good Solution?

Is Autoloading A Good Solution?
One of the most powerful changes that PHP5 brought to the table was the ability toAautoloadAclasses. It's such a useful tool that it was the first standard the FIG group put forth. Almost every single major PHP framework and library uses an autoloader to include its classes. It always felt somewhat wrong to me to autoload in production at runtime. So I decided to give it a bit more exporation...Read more A

Marco Tabini: Duck blinds

Marco Tabini: Duck blinds
In this new post Marco Tabini gives his take on "language haters" and how it's less about the language and more about what you do with it.The reason why I'm here is that, on occasion, a person decides that it's time write Yet Another PHP Bashing Post. Typically, this is followed by a bunch of Posts Defending PHP. [...] Saying that PHP is horrible or great is no more useful than saying that a hammer is horrible or great (regardless of the number of claws it comes with). [...] The real question is whether...

Evan Coury: Introduction to the Zend Framework 2 ServiceManager

Evan Coury: Introduction to the Zend Framework 2 ServiceManager
Evan Coury has posted a quick guide to one of the major features of the Zend Framework 2 project so far - the ServiceManager. He introduces the component and talks about some of its key features.So, what is the ServiceManager? Basically it's a registry, or container (the proper term is service locator) to hold various objects needed by your application, allowing you to easily practice Inversion of Control. The service manager holds just the information needed to lazily instantiate these objects as...

Site News: Popular Posts for the Week of 07.20.2012

Site News: Popular Posts for the Week of 07.20.2012
Popular posts from PHPDeveloper.org for the past week:Derick Rethans' Blog: What is PHP doing? Reddit.com: History Lesson: What PHP coding was like in 1996 Community News: Atlanta PHP & Atlanta MongoDB Host Derick Rethans Web and PHP Development: Laravel vs Codeigniter PHPMaster.com: Reusing Implementation - a Walk-through of Inheritance, Composition, and Delegation PHPEasy.co.uk: Design Patterns - The Singleton Pattern NetTuts.com: Test-Driven Development in PHP: First Steps Site News: Popular Posts for...

PHP.net: PHP 5.4.5 and PHP 5.3.15 released!

PHP.net: PHP 5.4.5 and PHP 5.3.15 released!
The PHP project has just released the latest versions of the language - PHP 5.3.15 and PHP 5.4.5 - with the major of updates being security and bugfix related.The PHP development team would like to announce the immediate availability of PHP 5.4.5 and PHP 5.3.15. This release fixes over 30 bugs and includes a fix for a security related overflow issue in the stream implementation. All users of PHP are encouraged to upgrade to PHP 5.4.5 or PHP 5.3.15. For source downloads of PHP 5.4.5 and PHP 5.3.15 please...

PHP 5.4.5 and PHP 5.3.15 released!

PHP 5.4.5 and PHP 5.3.15 released!
The PHP development team would like to announce the immediate availability of PHP 5.4.5 and PHP 5.3.15. This release fixes over 30 bugs and includes a fix for a security related overflow issue in the stream implementation. All users of PHP are encouraged to upgrade to PHP 5.4.5 or PHP 5.3.15. For source downloads of PHP 5.4.5 and PHP 5.3.15 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes are recorded in the ChangeLog.

Evan Coury: Environment-specific configuration in Zend Framework 2

Evan Coury: Environment-specific configuration in Zend Framework 2
Evan Coury has a new post looking at setting up environment specific configurations in a Zend Framework 2 application letting you switch between configs based on an environment variable.So you're all excited to try out ZF2. You clone the skeleton, install some modules, maybe even follow Rob Allen's excellent ZF2 tutorial, and finally, start building your application. Now, if you're a former ZF1 user or refugee from another framework, you might be troubled at this point by the fact that, at first glance,...

Anthony Ferrara: The Anatomy Of Equals - Opcode Analysis

Anthony Ferrara: The Anatomy Of Equals - Opcode Analysis
Anthony Ferrara has a new post today getting into the details of how "equals" works in PHP at the opcode level. He focuses on the answer to a question he received:I was asked an interesting question via email yesterday. The question is fairly simple. The answer, not so much... So, rather than reply in an email, I figured that I'd write a post about it instead. The question, simply stated, is: "When comparing a float to an integer using ==, where does the conversion happen?"He starts with a super simple...

Lorna Mitchell: PHP 5.4 Benchmarks

Lorna Mitchell: PHP 5.4 Benchmarks
In this quick post to her site, Lorna Mitchell shares some of the benchmark results she found when doing some tests with the latest version of PHP - 5.4.Today I'm giving my first ever talk at OSCON - about PHP 5.4 (I'll also be giving my second ever talk at OSCON, about RESTful services; it's a busy day!). My talk includes some benchmarks which I thought I'd also share here. [...] This graph shows the performance of four versions of PHP (because the bench.php script that lives in the php source tree...

PHPMaster.com: Database Interaction Made Easy with NotORM

PHPMaster.com: Database Interaction Made Easy with NotORM
On PHPMaster.com today there's a new tutorial showing you how to use the NotORM tool to work with your database:Object Relational Mappers (ORMs) are cool. They help you to rapidly create your application without worrying about writing raw SQL queries. The idea is to simplify database interaction and avoid possible errors in writing complex queries. In fact, modern ORMs can generate Models/Entities from the database, and vise versa. But the reality of working with any ORM is that using it is only simple...