PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 5421 to 5440 of 6889

Site News: Popular Posts for the Week of 12.03.2010

Site News: Popular Posts for the Week of 12.03.2010
Popular posts from PHPDeveloper.org for the past week:Label Media Blog: Design Patterns in PHP - Factory method Satya Prakash's Blog: PHP is not Java Label Media Blog: Design Patterns in PHP - Strategy Pattern Chris Tankersley's Blog: Playing with Lithium OpenSky Blog: Inheritance in PHP, or why you want to use an Interface or an Abstract class... Sameer Borate's Blog: How not to create a Random string Till Klampaeckel's Blog: Tracking PHP errors Christoph Dorn's Blog: FirePHP 1.0 in 5 Steps DZone.com:...

Profiling with XHGui

Profiling with XHGui
Everyone wants a fast web site. Making one is a bit more difficult. Profiling code during development is easy, thanks to the excellent Xdebug extension (which also provides handy debugging tools), but this still leaves us blind in production, where we care the most. It's also frequently more than a little different than the development machine. Facebook faced a similar problem in their pre-HipHop days, and developed XHProf, a profiler lightweight enough to run on your production servers. It still adds...

Joshua Thijssen's Blog: Creating a traceroute program in PHP

Joshua Thijssen's Blog: Creating a traceroute program in PHP
Joshua Thijssen has a new post to his blog looking at taking a common unix tool - traceroute - and seeing if he could translate it into PHP where it could be called directly without the need for something like exec.Today i was reading upon this wonderful article about writing a trace-route program in Python in 40 lines. Even though trace-route is one of the many tools i use on day to day basis, i never really got into writing a version myself (something I like to do just to gain knowledge how things...

Bence Eros' Blog: Using Inheritance

Bence Eros' Blog: Using Inheritance
In this new post to his blog, Bence looks at how inheritance is commonly used in PHP applications and how, if not controlled carefully can be something that creates bad habits among PHP developers.In fact I think that using inheritance all the time is a very big mistake and makes your code hard to maintain and more hard to integrate (the latter is a mistake for application codes and a fatal mistake for libraries). The main problem with inheritance is that if you use it for coupling two classes, then a...

Tobias Schlitt's Blog: PHP library release survey

Tobias Schlitt's Blog: PHP library release survey
Tobias Schlitt has a new post to his blog about a survey the Apache Zeta Components project is running about how developers would like to receive the libraries they use in their code.The Apache Zeta Components project is currently discussing how to adjust the old eZ Components release process to the ASF guidelines. During this discussions, quite some ideas came up on how the process could be optimized. This brought my interest to how users of PHP libraries would actually like to obtain library code for...

PHPBuilder.com: Boost PHP Site Performance with Zend Framework Data Caching

PHPBuilder.com: Boost PHP Site Performance with Zend Framework Data Caching
New on PHPBuilder.com there's a tutorial from Jason Gilmore looking at caching data with Zend_Cache, a component of the popular Zend Framework. He focuses on how it can boost the speed and overall performance of your application (even if you don't use the Zend Framework!)Zend_Cache can be configured to cache several types of output, including the results of function calls, the results of object and static method calls, entire pages, and configuration data. You determine what data is cached using...

Developer.com: 10 Powerful PEAR Packages

Developer.com: 10 Powerful PEAR Packages
On Developer.com there's a new article with what they think are the top ten PEAR packages that every developer should know and use in their applications.PHP developers also have another community-driven treasure trove at their disposal, one which is host to almost 600 high-quality libraries yet never seems to garner the attention it deserves. I'm referring to the PHP Extension and Application Repository, better known as PEAR, and in this article I'll try to shine the spotlight just a bit brighter on this...

NETTUTS.com: Creating a Twitter OAuth Application

NETTUTS.com: Creating a Twitter OAuth Application
In a recent post to NETTUTS.com, there's a new tutorial that will walk you through the creation of a basic Twitter client that uses their OAuth system for authentication. All of the code is provided so you can follow along.OAuth can be a tricky concept to wrap your head around at first, but with the Twitter API now requiring its use, it is something you need to understand before creating a Twitter application. This tutorial will introduce you to OAuth, and walk you through the process of creating a basic...

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: Why Great Development Tools Don't Seem To Be Written In PHP PHP Women: PHPWomen Calendar 2010: On sale! ThinkPHP Blog: Developing desktop applications by using web technologies Piotr Walczyszyn's Blog: Configuring Eclipse PDT & Flash Builder 4 Plug-in for PHP/Flex development Juozas Kaziukenas' Blog: Service Layer in Web applications IBuildings techPortal: Profiling with XHProf Pablo Viquez's Blog: Zend_Log, FirePHP...

Stage 2: http:BL with Apache2 mod_perl

Stage 2: http:BL with Apache2 mod_perl
After my earlier post Referrer and Comment spammers are a PITA I came up with two mod_perl plugins to Apache and an "apache level" firewall.The reason for the apache-level firewall is two-fold.A There is no direct way for the Apache user to manipulate an iptables chain (as it doesn't run as root), and second; I was not happy with suid root access or other forms of message passing to a daemon which would manipulate the firewall for me.Architecture is thus, in httpd.conf place the following two...

PHP library release survey

PHP library release survey
The Apache Zeta Components project is currently discussing how to adjust the old eZ Components release process to the ASF guidelines. During this discussions, quite some ideas came up on how the process could be optimized. This brought my interest to how users of PHP libraries would actually like to obtain library code for their projects. I will publish the raw results of the survey later, so all of the PHP libraries and frameworks can benefit. So please take some minutes and fill out the form!

First-Class APIs

First-Class APIs
APIs are commonly an afterthought, like a hot tub awkwardly attached to a housea-aa shoehorned approach that produces a suboptimal app with scarce support that lacks documentation. In effect, APIs are the ugly stepchild of the Web. This is a sad reality that we are faced with, because many companies make their living consuming third-party APIs and mixing in their own data to create amazing and interesting mashups. In the initial phases of development, there is rarely enough money to develop the app and...

Protected: fun with arrays and requirement chains

Protected: fun with arrays and requirement chains
This post is password protected. To view it please enter your password below: Password:

DZone.com: Date and time in PHP 5

DZone.com: Date and time in PHP 5
New on the Web Builder Zone today, there's an article about DateTime in PHP5 from Giorgio Sironi introducing you to this very handy built-in feature.PHP has made some progress here as well, for example with the Standard Php Library and its interfaces. Though, the SPL is incomplete and oriented to performance more than to object-oriented programming: take a look at the SplStack and SplQueue implementation containing 20 different methods to get the idea. However a little gem is shipped with each PHP...

Dave Marshall's Blog: http://framework.zend.com/manual/en/zend.tool.html

Dave Marshall's Blog: http://framework.zend.com/manual/en/zend.tool.html
Dave Marshall has posted some of the notes he made when he ported an application from a language he didn't know (very well), Ruby, into PHP.I'm porting from a language I'm not familiar with, and I'm porting code that I don't necessarily understand! I've written a couple of rails apps, but they were very basic, and I have no real clue with the delicacies of the ruby language.He talks about the project - a migration tool - and how he had to work through things like the current file structure, converting...

Juozas Kaziukenas' Blog: Why I embrace PHP on Windows

Juozas Kaziukenas' Blog: Why I embrace PHP on Windows
In this new post to his blog Juozas Kaziukenas talks about why he "embraces PHP on Windows" over the more common LAMP sort of stack that PHP development has been known for.I have been getting this question a lot lately - why I care about PHP on Windows (and give talks about it) and don't just use Linux. Interestingly though, I use Linux for most of the clients I work for, but this is completely irrelevant. Let me get this straight - it's not about migrating working applications from X (usually Linux)...

Chris Shiflett's Blog: PHP Advent

Chris Shiflett's Blog: PHP Advent
Good news for all of the fans of the PHP Advent article series that comes around this time each year - Chris Shiflett has confirmed it'll be happening again this year.PHP Advent is our little way of showcasing some of the talented people who work with PHP in some form or fashion, and persuading them to share something they've learned during a busy month when they might otherwise keep quiet. We'll be publishing an article each day in December until Christmas.If you're new to the PHP Advent (or advent-type...

Zend Developer Zone: Mirroring the Zend Server Repositories

Zend Developer Zone: Mirroring the Zend Server Repositories
New on the Zend Developer Zone today is an article from Shahar Evron about mirroring Zend Server repositories to re-serve them out, either to a different community or as a part of your internal processes.There are several good reasons to mirror a Linux repository, be it the Zend repositories or any other repository. The most simple reason is sheer performance: if you need to install Zend Server on a number of machines, you can save a lot of valuable time by creating a local mirror of the repositories,...

Community News: Tek 2011 Conference & Call for Papers Announced!

Community News: Tek 2011 Conference & Call for Papers Announced!
The folks at php|architect have officially announced this year's "tek" conference happening May 24th through 27th in Chicago.Welcome! It's our pleasure to announce the next edition of php|tek, which will take place in Chicago, IL, between May 25 and 27, with a tutorial day on May 24.They've also announced the Call for Papers for the event that will remain open until December 17th (about 2 1/2 weeks from now). They're also offering 40 charter tickets available until Jan 11th at $700 (that's for both...

PHPClasses.org: Lately in PHP Podcast - Episode #7

PHPClasses.org: Lately in PHP Podcast - Episode #7
PHPClasses.org has posted the latest episode (episode #7) of their "Lately in PHP" podcast. In this new episode they touch on several recent technologies including mode_pagespeed, PHP 5.4 and Ajax 2.On this episode of Lately in PHP podcast, Manuel Lemos and Ernani Joppert discuss the proposal of using video card GPUs to accelerate PHP. They also comment on the upcoming release of PHP 5.3.4 expected for mid-December, as well the PHP 5.4 hold off debate that has been going on due mostly to the lack of...

Latest PHP Tweets