PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 21 to 40 of 246

Lorna Mitchell's Blog:

Lorna Mitchell's Blog:
In a quick post to her blog Lorna Mitchell mentions a deprecated method in pecl_http that could cause problems for you down the road - addRawPostData.I'm a big fan of pecl_http, which I use quite often as I work so regularly with APIs and on systems where I can get it installed, it's much nicer than PHP's curl extension. Recently though I've been often seeing output which reads: Function HttpRequest::addRawPostData() is deprecatedThe alternative is to use the "setBody()" method on the HttpRequest object...

Phil Sturgeon's Blog: What happens next?

Phil Sturgeon's Blog: What happens next?
In a response to some of the things said in this post to the CodeIgniter blog, Phil Sturgeon has posted some thoughts of his own about how the company (EllisLab) is currently handling the CodeIgniter framework and what kind of future he sees out there for it.Times have been hard for the developers of CodeIgniter - EllisLab and they have addressed this in a few ways: A spot on the ExpressionEngine Podcast, a few articles explaining the future of EllisLab and ExpressionEngine and how they plan to take...

Speed Up Your Website With PHP Buffer Flushing

Speed Up Your Website With PHP Buffer Flushing
PHP output buffering is normally enabled by default. In older versions of PHP, a string would be sent to your browser every time the interpreter encountered an echo statement or text outside the PHP delimiters. Output buffering makes this process quicker and more efficient. The buffer is essentially a big memory-resident string. When text is output, it's appended to the buffer rather than returned to the browser immediately. The buffer is then aoflusheda, i.e. its contents are transmitted and the string...

Harrie Verveer's Blog: The PHP community: not just about tree hugging geeks

Harrie Verveer's Blog: The PHP community: not just about tree hugging geeks
Harrie Verveer has a new post to his blog today talking about how the PHP community is "not just about tree hugging geeks" and good things about the community that is has to offer companies and developers alike.every once in a while I hear some plea for the great PHP community that makes me a bit nauseous. "Sharing code, knowledge, elePHPants, it's all so fun to share and be part of this great club of lovely people! I share my project with you and you share your project with me. And then we hug!...

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:Brandon Savage's Blog: Book Review: PHP Team Development WebReference.com: Review: phpFox, a Social Networking CMS with all the Bells and Whistles Community News: Appcelerator Now Includes PHP Support Giorgio Sironi's Blog: Php login with Zend_Auth Symfony Blog: Why will Symfony 2.0 finally use PHP 5.3? PHPEveryDay.com: Zend Framework Basic Tutorial PHP 10.0 Blog: Zend Server PHP sources Web Development Blog: Integrate your MailChimp...

Doing the Twitter OAuth Mambo is easy with Zend_Oath

Doing the Twitter OAuth Mambo is easy with Zend_Oath
Joey Rivera posted a tutorial on his blog recently discussing how to authenticate with the Twitter API using Zend_Oauth. Click on in for all the details, facts and probably an opinion or two.

Accelerate scripts running multiple tasks in parallel using asynchronous programming: Unusual Site Speedup Techniques: Part 3

Accelerate scripts running multiple tasks in parallel using asynchronous programming: Unusual Site Speedup Techniques: Part 3
Accelerate scripts running multiple tasks in parallel using asynchronous programming: Unusual Site Speedup Techniques: Part 3 By Manuel Lemos Asynchronous programming allows developers to write faster code by running multiple parallel tasks at the same time. This contrasts with the traditional synchronous programming on which programs perform a task and do nothing else besides waiting for the task to finish before proceeding to the next task. This article explains better what is asynchronous...

Deprecated Methods in Pecl_Http

Deprecated Methods in Pecl_Http
I'm a big fan of pecl_http, which I use quite often as I work so regularly with APIs and on systems where I can get it installed, it's much nicer than PHP's curl extension. Recently though I've been often seeing output which reads: Function HttpRequest::addRawPostData() is deprecated It isn't obvious from the PHP manual page what I ought to do instead, however further inspection shows that it is recommended to use setBody() instead. This can be used in exactly the same way, and my code seems to work...

Boycott NuSphere. They are spammy spammers

Boycott NuSphere. They are spammy spammers
It took a lot for me to finally write this post. I tweeted about it a while back. It seems NuSphere needs more business. They have resorted to spamming people to promote their PhpED product. I have gotten emails to email addresses that:I know are not on any mailing listAre on web pages as plain mailto: anchor tags for good reasons.In one case, it was the security@phorum.org address we have on the site to make it easy for people to report any security related issues. We get all kind of spam because of...

Test.ical.ly Blog: What is a good software architecture in a nutshell?

Test.ical.ly Blog: What is a good software architecture in a nutshell?
On the Test.ical.ly blog there's a recent post asking about good software architecture and how you could define it simply without having to muck around with all of the details it tends to conjure up.What is a good architecture and why are there apparently two opposing trenches supporting quality on the one side and speed of development on the other side? After having had enough time to think about this whilst flying to Spain I came to the conclusion that Nils question whether it would be better to start...

Brooklyn Beta

Brooklyn Beta
Last week, many of the Web's most influential developers and designers converged on a seemingly unremarkable art space (nAe factory for novelty invisible dog leashes) in Brooklyn for the first of what I hope will become a long-standing conference tradition: Brooklyn Beta. Despite having personally helped organize several other conferences in the past, Brooklyn Beta has easily earned a spot at the top of my list of favourite events in my career. I've been involved with planning this event nearly since...

LogicPool.com: List of PHP and MySQL Code Generators

LogicPool.com: List of PHP and MySQL Code Generators
On the LogicPool site there's a new post with a list of PHP+MySQL code generators you can use if there's not a specific framework involved in your application (most of those come with code generation tools already).Some of these tools can rapidly build a fully functional application, but there's more to most useful applications than simply displaying a list of fields for users to fill out and viewing the results from an admin only accessible area. Most applications will need tweaks that can be small to...

ZendCon 2010!

As I write this, ZendCon begins in less than a week. I have the honor and pleasure to be speaking there again, for the sixth year running. Continue reading "ZendCon 2010!"

Comparing Benchmark Tools

Comparing Benchmark Tools
As I noted last week, I have moved my framework benchmarking project to GitHub. As part of the move, I updated the project to allow benchmarking using any of three tools: Acme http_load, Apache ab, or Joedog siege. (For reference, the old project will remain at GoogleCode.) I thought it might be interesting to see [...]

Zend Framework application's PHPUnit suite 3x faster

Zend Framework application's PHPUnit suite 3x faster
My regular readers may have already noticed I don't even dare writing code without TDD/BDD-ing it from left to right. In my Zend Framework-based project, we currently have 600+ PHPUnit test cases, most of them for models and controllers, but quite some also for view helpers, bootstrap and even some views. The whole suite is taking around 90 seconds to run on my machine against a MySQL database (modelled with Zend_Db* in an active record/table data gateway manner).In this post I'll be showing how I...

CodeIgniter.com Blog: What's Happening Now?

CodeIgniter.com Blog: What's Happening Now?
If you've been wondering what the latest happenings are with the CodeIgniter framework but haven't been able to find much outside of a few blog posts and email threads floating around, you're in luck! They've just posted a great update to the main CodeIgniter site about the framework and its relation, ExpressionEngine.I'd like to give you an update on what's happening with CodeIgniter. 2.0's code has been stable and in use by ExpressionEngine and MojoMotor for many months [...] CodeIgniter has always...

Lets talk about JSON in Symfony2

Lets talk about JSON in Symfony2
So the current project I am working on at Liip is based on Symfony2. The first sprint went surprisingly smooth. The second sprint we are currently in now "fixed" this growing perception that this pre alpha code just might be stable already. Anyway, we knew what we were getting into but still felt it was the best way to go, no regrets. The main source of trouble is the fact that we wanted to make use of DoctrineUserBundle, but load the views via JSON. Unfortunately right now there are quite a few issues...

Ibuildings techPortal: DPCRadio: Plant Pyrus in your system - A guide to a plugin system

Ibuildings techPortal: DPCRadio: Plant Pyrus in your system - A guide to a plugin system
New on the Ibuildings techPortal today they've posted the latest DPCRadio episode as recorded at the Dutch PHP Conference 2010 - Helgi Thormar Thobjoernsson's talk "Plant Pyrus in your system - A guide to a plugin system".One of the biggest parts of any plugin system is the part that deals with discovery, installation, upgrading, dependency handling, infrastructure and other equally boring things. An essential part of any plugin system yet everyone dreads writing it, and few actually take on the task of...

SitePoint PHP Blog: 3 Lightweight Alternatives to phpMyAdmin

SitePoint PHP Blog: 3 Lightweight Alternatives to phpMyAdmin
On the SitePoint PHP blog, there's a new post offering your three more lightweight database management solutions than the typical phpMyAdmin install.For much of the time, developers just want to check some data, alter a few records, or back up the database. The phpMyAdmin and MonoQL zipped distributions range from 2MB to 7MB, and they're overkill for most day-to-day administration. You're using a sledgehammer to crack a peanut. Here are three lightweight MySQL administration alternatives you should...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Yahoo Search API Client (BOSS) Localized Date/Time Strings Smart File Cache Salt Password Class SQL Bulk Importer Simple Time Pagination with density SimpleDate Simple Date XML-2-Array System monitor and Throttle Geo Locator Royal Mail Postal Barcode