PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 4761 to 4780 of 6889

NetTuts.com: Why You're a Bad PHP Programmer

NetTuts.com: Why You're a Bad PHP Programmer
On NetTuts.com today there's a new (slightly inflammatory) post about why you're a bad PHP programmer - really why some of the practices you follow might be in the "bad things to do" playbook.We all have our bad habits. In this article, we'll go over a list of bad practices that are worth examining, reevaluating, and correcting immediately.In his list of things to avoid are suggestions like: not planning before coding opting for brevity over clarity no coding standards code duplication practicing "Not...

DZone.com: Video: PHP 5.3.1, MongoDB and Lithium on Windows 7 / IIS 7

DZone.com: Video: PHP 5.3.1, MongoDB and Lithium on Windows 7 / IIS 7
On DZone.com there's a new post linking to a screencast from Jon Adams about using Lithium, MongoDB and PHP 5.3.1 in IIS (Windows 7).A screencast demonstrating how to quickly get up and running with PHP 5.3.1 and MongoDB on Windows 7 and IIS 7 and getting started with Lithium, the most RAD framework for PHP 5.3+.The actual screencast is about a year old, but the topic is interesting enough to bring back up. Lithium has been called the "framework for people who hate frameworks" and focuses on using...

QA Teams, Truth or Myth?

QA Teams, Truth or Myth?
This article was originally published inAphp|architect inAMay 2009 and I published it mostly as it appeared in theAmagazine shy of the odd formatting to fit the blog format better. - In the last couple of years, there seems to be a growing trend in the PHP world where application and library developers put out claims that their piece of code is high-quality and thoroughly tested. Indeed, oftenAthis is true, but how can you really guarantee quality like this?

Community News: PHP UK Conference 2011 Almost Sold Out!

Community News: PHP UK Conference 2011 Almost Sold Out!
As is mentioned by the PHP UK Conference organizers, this year's even is almost sold out, so you should get your tickets while you still can!PHP UK Conference 2011 is PHP London's sixth annual conference. [...] The PHP UK Conference 2011 is powered by PHP London, a limited company of the UK. The conference planning committee is made of up the PHP London executive committee and additional volunteer members.The ticket price for this single-day conference (with a full day packed with sessions on topics like...

Community News: Latest PEAR Releases for 02.21.2011

Community News: Latest PEAR Releases for 02.21.2011
Latest PEAR Releases: HTTP_Request2 0.6.0 FSM 1.3.1 System_Daemon 1.0.0RC1

PHP and setlocale - getting more locales than English to work

PHP and setlocale - getting more locales than English to work
Copyright A 2011 http://www.prodevtips.com. Visit the original article at http://www.prodevtips.com/2011/02/21/php-and-setlocale-getting-more-locales-than-english-to-work/.The following is required to get for instance Swedish to work:... Read More

PHP-GTK installer for windows

PHP-GTK installer for windows
A PHP-GTK installer for Windows, it includes PHP-GTK (PHP 5.3 + php-gtk snap + cairo),PHP Extensions, Some Gtk Locales, File Associations and demo scripts You can install only PHP-GTK core files, the full install or choose what to install. Made with Inno Setup, questions, suggestions and feature requests are welcomeread more

Using Horde_Xml_Element to quickly generate XML from arrays

Using Horde_Xml_Element to quickly generate XML from arrays
Horde_Xml_Element gives you a quick shortcut for taking PHP arrays and turning them into XML.

Symfony - subfolders for partials

Symfony - subfolders for partials
Symfony 1.2 - 1.4 expects all partials to follow this convention: templates/_partial.php What happens when you need to organize your partials in subfolder? I tried a number of aoSymfunkya avenues. Feel free to skip to the solution. Avenues Explored I first try the call the include_partial helper with aosubfolder/partiala, but that results in Symfony attempting to find the partial in the aosubfoldera module. Alright, so I try aomodule/subfolder/partiala, but that results in Symfony looking for...

PHP on Azure and you in Vegas

PHP on Azure and you in Vegas
If you're developing apps in PHP and you want a challenge that will get you some places, be sure to check out the PHP on Azure contest. Build an app with PHP, deploy it to Windows Azure and participate in a contest with a killer prize: an all-in trip to Las Vegas!The rules are simple:your app has to be written in PHPpreferably own development appuse as much as Windows Azure servicesblog about overcoming this challenge (good/bad/ugly) A jury will review your app and give you points on implementation,...

PECL MogileFs 0.8.1 released

PECL MogileFs 0.8.1 released
On Wednesday I 0.8.1 of PECL MogileFs has been released. The new version features a few important changes and fixes: Changing timeout parameter for MogileFs::connect() to float to allow specifying microseconds. This is an important change if you want to do connection pooling for your trackers in PHP. You can now limit the time the client tries to connect to a tracker and connect to an alternative one if this fails Connect timeout does not set read timeout. This change became necessary with the better...

ZendCon Sessions Episode 038: Reusable Bootstrap Resources with Zend_Application

ZendCon Sessions Episode 038: Reusable Bootstrap Resources with Zend_Application
This session demonstrates how to build configurable and reusable bootstrap resources powered entirely by application.ini. Covers basic and advanced bootstrapping techniques, sharing bootstrap resources between applications, and accessing resources from within your applications.

How to enable Xdebug in WebMatrix

How to enable Xdebug in WebMatrix
Xdebug is a very popular PHP extension that helps with debugging and profiling of PHP scripts by providing a lot of valuable debug information. Microsoft WebMatrix is a development tool for building web applications. When WebMatrix is used to build or modify a PHP-based web application the debugging tasks can be greatly simplified if Xdebug extension is used. This post explains how to install and use Xdebug extension with WebMatrix. Step 1: Enable PHP in WebMatrix from the site aoSettingsa page: Note...

SpeckBoy.com: Getting Started with CRUD In PHP

SpeckBoy.com: Getting Started with CRUD In PHP
On SpeckBoy.com there's a new tutorial posted that introduces you to the concept of CRUD - Create, Read, Update, Delete - in the database interface for your application. Technically CRUD can be applied to any sort of data store, but they chose to go with a MySQL-based example. It has become a common necessity for website owners to collect data and manage it properly. Creating a MySQL CRUD class allows you to conveniently create, read, update and delete entries for any of your projects, indifferent of how...

Zend Developer Zone: Podcast: Interview with Mike Pavlak

Zend Developer Zone: Podcast: Interview with Mike Pavlak
On the Zend Developer Zone there's a recent post of an interview with Mike Pavlak, a Solutions Consultant and IBM Series i expert, as interviewed in a podcast by Kevin Schroeder of Zend.In this podcast Mike talks a little bit about where he's come from, the history of PHP on the i and, what I think is most interesting, what it is that PHP developers can learn from the "old-school" RPG developers and vice versa.Mike also talks about one of his favorite parts of his job - being able to go out and give...

PHP: a want transparent master slave load balancing in mysqlnd?

PHP: a want transparent master slave load balancing in mysqlnd?
Are you interested in a master slave load balancing plugin for mysqlnd? It could have two operational modes. The automatic mode would operate transparent from an applications point of view. The manual mode would give you full control over all decisions. Automatic mode is for install and forget when ...

Symfony Blog: Symfony Live Unconference

Symfony Blog: Symfony Live Unconference
On the Symfony blog today Stefan Koopmanschap has announced the Symfony Live Unconference that will be happening at the same time as the second day of the Symfony Live Paris event.It is with great pleasure that I present to you the Symfony Live Unconference. The Unconference will take place parallel to the second day of Symfony Live 2011 in Paris, and is sponsored by Interlutions and my own company Ingewikkeld.The event opens the floor to anyone wanting to come and present on their topic - something...

Web Builder Zone: Can you use PHP without frameworks nowadays?

Web Builder Zone: Can you use PHP without frameworks nowadays?
On the Web Builder Zone today Giorgio Sironi has posed a question for all PHP developers out there - is it possible to (effectively) use PHP without a framework these days?In the same days [of the PHP Barcelona Conference], I attended Matteo Vaccari's talk at Webtech 2010. It was in Italian, but the translation would sound like Framework-free web programming. The context was the Java platform, where frameworks are even more invasive than in PHP. In that talk, I learned some interesting points which are...

Contributing to PEAR: Taking over packages

Contributing to PEAR: Taking over packages
One of the more frequent questions I see on the mailing lists and IRC is, "How do I take over a package?". Very often people start to use a PEAR package and then at some point encounter either a bug or they miss a certain feature. The package's state however is inactive or flat unmaintained.Offer helpThe first step is to offer your help. And the easiest way to help is to report bugs or open feature requests.A great bug report or feature request includes: Accurate problem description. A proposed...

StackOverflow.com: Optimizing Kohana-based Websites for Speed and Scalability

StackOverflow.com: Optimizing Kohana-based Websites for Speed and Scalability
On StackOverflow recently a question was asked about how to tweak and tune the performance of a Kohana-powered website. The result was a detailed answer from Pascal Martin that can be applied to just about any kind of web application out there, not just ones written in PHP.Here are some points that come to my mind when talking about performances, scalability, PHP, ...First of all, there are many aspects/questions that are to consider : configuration of the server (both PHP, MySQL, and system) ; you might...

Latest PHP Tweets