PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 4061 to 4080 of 6889

Matthew Weier O'Phinney's Blog: Backported ZF2 Autoloaders

Matthew Weier O'Phinney's Blog: Backported ZF2 Autoloaders
In a new post Matthew Weier O'Phinney talks about autoloaders in the Zend Framework and the changes they've made from ZF1 to ZF2. He also includes a link to a package you can try out if you'd like to backport the ZF2 autoloaders to your ZF1 application. Interestingly, I've had quite some number of folks ask if they can use the new autoloaders in their Zend Framework 1 development. The short answer is "yes," assuming you're running PHP 5.3 already. If not, however, until today, the answer has been "no."...

Keith Casey's Blog: php|tek 2011 Hackathon

Keith Casey's Blog: php|tek 2011 Hackathon
Keith Casey has a new post to his blog today talking about an event happening at this year's php|tek conference, a hackathon in the after-hours of the second conference day (the 26th for those keeping track).So I'm proud to say that at php|tek this year, we've managed to gather a bunch of these people to come to show what they're building at our third annual Hackathon. On Thursday night (May 26th), we'll have over a dozen projects represented by some of the best and brightest out there. Even better,...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Create Recurring Payments Profile Mutex jqmPhp PHP One Line Enum ROW Simple Form MySQL Function Class PHP Sweet PDO SQL class PHP Eastern Christofides heuristic IPv6Net Database class extending PDO IPv6 Net

Voices of the ElePHPant: Interview with Giorgio Sironi

Voices of the ElePHPant: Interview with Giorgio Sironi
The Voices of the ElePHPant podcast has posted their latest interview with a member of the PHP community today - Giorgio Sironi.Cal's "three questions" for Giorgio about his work in unit testing: Can you quickly define what "designing for testability" and how it's different from normal application design? Can you define the "take a shower" methodology as it relates to TDD? Can you talk a little bit about test maintainability and what do you do to make sure your tests are maintainable? You can listen to...

Zend Developer Zone: Monday's Inspirational Moment (ok, hour)

Zend Developer Zone: Monday's Inspirational Moment (ok, hour)
On the Zend Developer Zone today Cal Evans points out a podcast he thinks the software developers out there should give a listen to - SitePoint's latest "Six Pixels of Seperation" episode, How to Get Serious About Your Creativity.The interview with Steven was Episode #251 of Six Pixels, "How to Get Serious About Your Creativity". I really enjoyed the episode and since creativity is a big part of software development, I think you will too.As with most podcasts, you can either listen to the episode via an...

Padraic Brady's Blog: CodeIgniter 2.0.2: Cross-Site Scripting (XSS) Fixes And Recommendations

Padraic Brady's Blog: CodeIgniter 2.0.2: Cross-Site Scripting (XSS) Fixes And Recommendations
Padraic Brady has a new post looking at a cross-site scripting issue he came across when working with CodeIgniter 2.0.2 and some fixes and recommendations he has about correcting the situation.EllisLabs' news release for CodeIgniter 2.0.2 makes mention of "a small vulnerability". This small vulnerability is mentioned no where else (not even the actual changelog for 2.0.2). In reality, I reported seven distinct vulnerabilities across two classes. These vulnerabilities might allow an attacker to inject...

Lorna Mitchell's Blog: PHP OAuth Provider: Initial Requirements

Lorna Mitchell's Blog: PHP OAuth Provider: Initial Requirements
Lorna Mitchell has a quick post related to some of the OAuth work she's done on both sides, consumer and provider. This latest post relates to the OAuth pages and endpoints that are needed as a part of the authentication process.This article uses the pecl_oauth extension and builds on Rasmus' OAuth Provider post. [...] OAuth has a little more baggage with it than just passing a username and password to an API.She lists the five things you'll need for your service and talks a bit about the registration...

More Exposure for your (Guest) Authors

More Exposure for your (Guest) Authors
The last blog post about the Google Panda update was written by Michele, a new author for the Web Development Blog. Because she is the first author beside me, we thought it's important to provide some information about Michele below each blog post. We explain in this aobeginnera WordPress tutorial how-to place the author's biography [...]

Lars Strojny's Blog: Dependency Injection Container Refactorings, Part Two

Lars Strojny's Blog: Dependency Injection Container Refactorings, Part Two
Lars Strojny has posted the second part of his look at dependency injection and the refactoring it makes possible. If you'd like to start from the beginning, you can read about part one here.He breaks it up into two sections (really three, but he advises to ignore the third): Introducing a parameter in to the dependency injection container's configuration Setting it up to allow for checks against the environment (development, production, etc) Code samples and example XML configurations are included for...

DZone.com: How to send emails from PHP on Windows

DZone.com: How to send emails from PHP on Windows
On the PHP on Windows site (a part of DZone.com) Svetoslav Marinov has a quick new post looking at how you can set up your Windows PHP installation to be able to send emails similar to its linux cousins.You'll need a server that you can use SMTP on to send the emails to, but outside of that, the setup is pretty painless. He recommends using the sendmail for Windows tool to do the backend lifting. He includes the settings, both for sendmail and PHP, and configuration changes you'll need to get it all...

Backported ZF2 Autoloaders

In the past six weeks, I've delivered both a webinar and a tutorial on Zend Framework 2 development patterns. The first pattern I've explored is our new suite of autoloaders, which are aimed at both performance and rapid application development -- the latter has always been true, as we've followed PEAR standards, but the former has been elusive within the 1.X series. Interestingly, I've had quite some number of folks ask if they can use the new autoloaders in their Zend Framework 1 development. The...

php|tek 2011 Hackathon

php|tek 2011 Hackathon
If you haven't figured out by now, I attend quite a few conferences and catch a lot of presentations from numerous speakers. I've found that most presenters have a sweet spot. They're good at expressing a concept but don't get into the code. Others can build ridiculously powerful applications but couldn't describe the concept if their lives depended on it. In the middle, there's a special kind of person. They're the ones that can explain a concept and whip up some demo code. Or alternatively, they can...

Community News: Latest PECL Releases for 05.10.2011

Community News: Latest PECL Releases for 05.10.2011
Latest PECL Releases: txforward 1.0.7 pecl_http 1.7.1 PDO_CUBRID 8.4.0.0001 CUBRID 8.4.0.0001

CodeIgniter 2.0.2: Cross-Site Scripting (XSS) Fixes And Recommendations

CodeIgniter 2.0.2: Cross-Site Scripting (XSS) Fixes And Recommendations
As many of my readers know, I have a keen dislike for regular expression based html sanitisation. Regular expressions simply do not understand html's nested nature and the numerous possible html/CSS standards it must abide by. The result is that far too many developers try to program this understanding (and unfortunately their lack of comprehensive understanding) into home grown sanitisers using as little code and tests as possible.A It's a horrendous and reprehensible practice that has created a large...

PHP OAuth Provider: Initial Requirements

PHP OAuth Provider: Initial Requirements
I've been working with OAuth, as a provider and consumer, and there isn't a lot of documentation around it for PHP at the moment so I'm sharing my experience in this series of articles. This relates to the stable OAuth 1.0a spec, however OAuth2 has already started to be adopted (and differs greatly). This article uses the pecl_oauth extension and builds on Rasmus' OAuth Provider post. OAuth Pages and Endpoints OAuth has a little more baggage with it than just passing a username and password to an API....

Monday's Inspirational Moment (ok, hour)

Monday's Inspirational Moment (ok, hour)
I am a podcast junkie, maybe that is why I keep starting them. I listen to a lot of podcasts covering a variety of topics. One of them recently posted an episode I enjoyed so much, I thought I would share it with you. Click on inside, I've got the details and links.

DZone.com: A Mockery Review

DZone.com: A Mockery Review
On the Web Builder Zone (a part of DZone.com) there's a recent post from Giorgio Sironi reviewing the Mockery library, a mock object framework created by Padraic Brady.Mockery is a mock object framework (more properly Test Double framework) from @padraicb, independent from testing frameworks like PHPUnit. It can be used to quickly prepare Mocks, Stubs and other Test Doubles to use inside your unit tests. I've tried Mockery via a PEAR installation and I must say its expressive power is higher than that of...

Query7.com: Kohana 3.1 Wiki Tutorial

Query7.com: Kohana 3.1 Wiki Tutorial
On the Query7.com blog today Logan shows you how to create a simple wiki with the help of the Kohana framework, a HMVC PHP5 framework that includes several tools (including UTF-8 suport and a cascading filesystem) to make a developer's life easier.In this tutorial you will learn how to create a simple wiki using the PHP framework Kohana version 3.1. Several years ago Siddharta Govindaraj created a screencast demonstrating how to create a wiki using Django, this is essentially the Kohana version of that....

Webshell

Webshell
Webshell is a console-based, JavaScripty web client utility that is great for consuming, debugging and interacting with APIs. I use Firefox as my primary browser. The main reason I've been faithful to Mozilla is my set of add-ons. I use Firebug regularly, and I'm not sure what I'd do without JSONovich. Last year, as I built Gimme Bar's internal API, I found myself using Curl, extensively, and occasionally Poster, to test and debug my code. These two tools have allowed me to interact with HTTP, but not...

Gonzalo Ayuso's Blog: Real time monitoring PHP applications with websockets and node.js

Gonzalo Ayuso's Blog: Real time monitoring PHP applications with websockets and node.js
Gonzalo Ayuso has a new post to his blog today looking at a method you can use for real-time monitoring of your PHP applications with a combination of websockets and Node.js. The trick is to handle the PHP errors and send them over to a Node.js server for processing.The inspection of the error logs is a common way to detect errors and bugs. We also can show errors on-screen within our developement server, or we even can use great tools like firePHP to show our PHP errors and warnings inside our firebug...

Latest PHP Tweets