PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 41 to 60 of 248

Brian Moon Talks Frameworks.

Brian Moon Talks Frameworks.
The spilled beer had barely had time to dry on the floor at The PHP Community Conference last week before Brian Moon had already cranked out a blog post on everybody's favorite whipping boy, PHP Frameworks.

Evert Pot's Blog: Numeric string comparison in PHP

Evert Pot's Blog: Numeric string comparison in PHP
In this new post to his blog Evert Pot reminds you (the PHP developer) about the loose and strict typing checks that you need to do when checking the values of your variables and never just assume. PHP's loose typing tendencies can cause issues if you're not paying attention.As long as you make sure you always use strict checking (=== and !==) where you can, and fall back to the loose checks when you must. As a PHP developer, I think it's very important to understand and memorize exactly how these work,...

Community News: Dutch PHP Conference Announces Final Keynote Speaker - Aral Balkan

Community News: Dutch PHP Conference Announces Final Keynote Speaker - Aral Balkan
The Dutch PHP Conference has officially announced their final keynote speaker (finishing out the schedule) - Aral Balkan will be speaking on "The Art of the User Experience".We believe the schedule already has a lot to offer the way it is, but we still had one annoying "to be announced" slot on the Friday morning: the opening keynote! With only three weeks to go we are proud to announce that the DPC will be kicked off by one of the most talented speakers out there: Aral Balkan!He'll talk about making...

Community News: Latest PECL Releases for 04.26.2011

Community News: Latest PECL Releases for 04.26.2011
Latest PECL Releases: rrd 1.0.2 mysqlnd_ms 1.0.0 mysqlnd_ms 1.0.1 mogilefs 0.9.0

Mockery 0.7.1 Released - It's a Test Double Framework

Mockery 0.7.1 Released - It's a Test Double Framework
It's been up on the PEAR channel for a few days now, but Mockery 0.7.1 has been released. The successor to Mockery 0.6 has been brewing for a few months and represents a feature complete version of Mockery's Mock Objects implementation with a vastly expanded set of features and more than one bug fix . There has never been a better time to give it a whirl. Have a look at the README to see what Mockery is capable of and how to start using it in your unit tests today. The 0.7.1 version is the result...

Numeric string comparison in PHP

Numeric string comparison in PHP
Although PHP's loose comparison type juggling tends to invoke some negative responses, I don't think it has really ever worked against me, and works quite comfortably in my opinion. As long as you make sure you always use strict checking (=== and !==) where you can, and fall back to the loose checks when you must. As a PHP developer, I think it's very important to understand and memorize exactly how these work, whether you're writing new code, or maintaining existing code.A few days ago on PHP-internals...

JavaScript jobs for developers in the JavaScript Professionals directory

JavaScript jobs for developers in the JavaScript Professionals directory
JavaScript jobs for developers in the JavaScript Professionals directory By Manuel Lemos Maybe you are already aware, but in case you aren't, the JavaScript Professionals Directory was just launched. It is similar to the PHP professionals directory in PHPClasses site, except that it is dedicated to list JavaScript professionals available for hiring. Developers that sign-up there may get JavaScript job offers of their interest. It is a free service. Companies looking for JavaScript developers may also...

Integrating Markdown with Symfony

Integrating Markdown with Symfony
Context I needed to create a number of static help pages in three languages in a Symfony 1.4 application.AUsing the XLIFF translation files seemed absurd, since I knew that I will include a lot of html. As you know, XLIFF translation files are XML, and so any html needs to be converted to entities, which makes maintenance a pain. Also, loading the entire manual's XLIFF when requesting a single page is not optimal.AAnd so, I decided to create partials using the following structure:...

James Cohen's Blog: How to Avoid Character Encoding Problems in PHP

James Cohen's Blog: How to Avoid Character Encoding Problems in PHP
James Cohen has a recent post to his blog looking at a way you can avoid some of the character encoding problems in PHP that can come with working with multiple character sets.Character sets can be confusing at the best of times. This post aims to explain the potential problems and suggest solutions. Although this is applied to PHP and a typical LAMP stack you can apply the same principles to any multi-tier stack.He includes a "boring history" session (and recommends skipping if you just want the good...

Chris Roane's Blog: The Last Few Years: What a PHP Programmer Has Learned

Chris Roane's Blog: The Last Few Years: What a PHP Programmer Has Learned
Chris Roane has a new post to his Montana Programmer blog talking about some of the things he's learned over the past few years in his development work.Over the last few years I've become more familiar with multiple systems. I go over a few things that I've learned and the areas that I hope to improve upon over the next year.His list of technology (including SVN, Drupal, WordPress and things like mailing list software and linux) serve as a good example to the wider world of developers out there to not...

Community News: PHP Community Conference Wrapups

Community News: PHP Community Conference Wrapups
The PHP Community Conference has wrapped up and attendees are already starting to post about their experiences. Here's a list so far of the people that have summaries posted to their sites: Vid Luther (on the Zippy Kid blog) Zend Developer Zone Did you attend the conference and have you posted a summary of your own? let us know!

Leonid Mamchenkov's Blog: Disable and enable CakePHP plugins on the fly

Leonid Mamchenkov's Blog: Disable and enable CakePHP plugins on the fly
Leonid Mamchenkov has a quick post to his blog showing how to enable and disable (well, restrict from enabling) CakePHP plugins on the fly - no need to modify config files if you only need it for a certain request.I am currently working on a rather large project which is based on CakePHP framework. In order to simplify the task, I've broken down the whole application into a number of CakePHP plugins. Now, however, I want to enable/disable plugins on the fly. After a brief search around I couldn't find...

Zend Developer Zone: My Favorite Design Patterns

Zend Developer Zone: My Favorite Design Patterns
On the Zend Developer Zone there's a new article from Keith Casey where he talks about some of his favorite design patterns he's come across in his time as a developer - adapter, facade and decorator.Within the Design Patterns world, there are four main categories: Architectural, Structural, Creational, and Behavioral. Architectural patterns describe the system as a whole, Structural patterns describe the relationships between objects, Creational handle creating objects, and finally Behavioral describe...

PHP Frameworks

PHP Frameworks
Last week I spoke at and attended the first ever PHP Community Conference. It was very good. It was also very different from my normal conference. I usually go for very technical stuff. I don't often stop and smell the roses of the community or history of my chosen (by me or it I am not sure sometimes) profession. There was a lot of community at this one.One thing that seemed to be a hot topic at the conference was frameworks. CakeDC, the money behind CakePHP was the platinum sponsor. I chatted with...

Eran Galperin's Blog: Breaking Down The PayPal API

Eran Galperin's Blog: Breaking Down The PayPal API
In a recent post Eran Galperin takes a look at the PayPal API and breaks it down into smaller, easy to digest chunks to show you how to you can implement it in your application. Be warned, though - he mentions that it's the "among the worst API he's ever had to deal with" for several reasons.PayPal is the most popular platform for receiving online payments. The relative ease of opening a PayPal account and receiving payments compared to opening a merchant account for a traditional payment gateway is the...

PHP Community Conference wrapup

PHP Community Conference wrapup
What do you get when 150+ PHP programmers descend on Nashville, TN for a day? You get a programming ho-down! Click on in, I've got pix acause it did happen!

PHPBuilder.com: Use PDO to Access Just About Any Database from PHP

PHPBuilder.com: Use PDO to Access Just About Any Database from PHP
New on PHPBuilder.com there's a tutorial from Leidago Noabeb about using the PDO functionality that comes installed on many PHP platforms out there to access just about any database you might need to work work. This includes technology like MySQL, DB2, SQLite and PostgreSQL.PHP Data Objects, or "PDO" as it is commonly known, is a lightweight database abstraction layer that is arguably the best, at least in terms of speed. A great deal of this speed is owing to the fact that the PDO extension was compiled...

Community News: Latest PEAR Releases for 04.25.2011

Community News: Latest PEAR Releases for 04.25.2011
Latest PEAR Releases: Payment_DTA 1.4.1 Services_Amazon_S3 0.3.3 Net_DNS2 1.1.0

Gtk3 introspection updates and Unusable Unity..

Gtk3 introspection updates and Unusable Unity..
Article originally from rooJSolutions blogWell, as Gnome 3 is out, it has to be tested.ALuckilyAI've not got a huge deployment to sort out, but as I have a few applications that use Gtk, I thought it was about time I upgraded one of my machines to see what chaos I will have to deal with in the future.So it was one of my Ubuntu boxes that got the pleasure of a Natty and Gnome3 PPA upgrade. (I use debian on my other development box, which actually got destroyed last week with a complete disk failure,...

Breaking down the PayPal API

Breaking down the PayPal API
PayPal is the most popular platform for receiving online payments. The relative ease of opening a PayPal account and receiving payments compared to opening a merchant account for a traditional payment gateway is the number one reason, and another is the comprehensive API they provide for their payment services. Foreclosure: The PayPal API is amongst the worst I've ever had to deal with - inconsistencies, sometimes poor and conflicting documentation, unpredictable failures and account changes and major...