PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 161 to 180 of 242

Mike Willbanks's Blog: Building and Maintaining a PEAR Server with Pirum

Mike Willbanks's Blog: Building and Maintaining a PEAR Server with Pirum
In a new post to his blog Mike Willbanks shows you how to build and maintain a PEAR server with Phirum.Pirum is a simple PEAR channel server manager that was built by Fabien Potencier. The Pirum project allows you to easily setup a PEAR channel and publish your own packages quickly. This quick blog post / article will get you going with it in no time.He shows you how to install Phirum (ironicly from a PEAR channel) and how to create the XML to define the PEAR service. Running Phirum will generate a few...

ZendCon Sessions Episode 037: Why MVC is not an Application Architecture

ZendCon Sessions Episode 037: Why MVC is not an Application Architecture
Why MVC is not an application architecture and how this should affect your code. Pretty much every PHP framework is based on MVC . We will explore what MVC was originally meant to be and how it is used (and abused) in web applications these days. We will find out where the model hides, and how to organize an application's business logic and clearly separate concerns. As a bonus, unit testing will become a lot easier.

Derick Rethans' Blog: Debugging Variables

Derick Rethans' Blog: Debugging Variables
Derick Rethans has a new post to his blog today looking at a way you can dig inside of a variable that might be causing you trouble with the help of the debug_zval_dump method - a PHP function that dumps a string representation of an internal zend value directly to the standard output method (usually an "echo").The internal representation of a PHP variable container (called zval), contains the type and value of a variable, but also whether it is a reference and what its refcount is. Due to PHP's...

Karsten Dambekalns' Blog: PHP, Xdebug and PhpStorm - working!

Karsten Dambekalns' Blog: PHP, Xdebug and PhpStorm - working!
Karsten Dambekalns has a new post to his blog today about how he was able to get the PHP IDE PHPStorm and XDebug working together to do some debugging in his application.PhpStorm had it's share of trouble as well [with debugging], but yesterday I experienced a working debug session. Just like that, deep variable inspection and stepping through the code just worked. Today I looked into CLI debugging because Robert needed that for some complicated FLOW3 task. Also works, although it requires one step that...

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:Community News: XHP Released by Facebook (XML in PHP) Blue Parabola Blog: Lies, Damn Lies, and Statistics - Zend's Drupal Benchmarks Christian Flickinger's Blog: WinCache, Apache and a pretty graph! Brian Swan's Blog: SQL Server Driver for PHP: Understanding Windows Authentication Ibuildings Blog: Productivity in PHP from a fun perspective Internet.com: Passing Data Between PHP and JavaScript Using JSON (Video) Xebee Blog: Test Driven...

Debugging Variables

Debugging Variables
Debugging Variables London, UK Thursday, February 10th 2011, 09:12 GMT Sometimes you want to inspect the contents of variables more closely, by looking at its internal properties. For this, PHP has the debug_zval_dump function. The internal representation of a PHP variable container (called zval), contains the type and value of a variable, but also whether it is a reference and what its refcount is. Due to PHP's copy-on-write policy, one specific zval container can be used by multiple variables at the...

Building and Maintaining a PEAR Server with Pirum

Building and Maintaining a PEAR Server with Pirum
Pirum is a simple PEAR channel server manager that was built by Fabien Potencier. The Pirum project allows you to easily setup a PEAR channel and publish your own packages quickly. This quick blog post / article will get you going with it in no time. Getting Started There are a few things that you must have already to get going on this exercise (besides PHP and a Web Server *Note: you can do it without these): PEAR SSH access Installing Pirum To install Pirum we are simply going to be running a few...

Creating Multi-Language Web Applications with Zend_Translate

Creating Multi-Language Web Applications with Zend_Translate
If you're a Web developer building an application for global consumption, it's important to build in a framework for localization right from the start. This article will introduce you to Zend_Translate, and demonstrate how you can use it to add multi-language support to your PHP application.

MySQL Performance Blog: Sample datasets for benchmarking and testing

MySQL Performance Blog: Sample datasets for benchmarking and testing
In a recent post to the MySQL Performance Blog, there's a pointer to a few resources you can use if you need some sample datasets to run your application against - everything from airline flight information to energy usage data.Sometimes you just need some data to test and stress things. But randomly generated data is awful - it doesn't have realistic distributions, and it isn't easy to understand whether your results are meaningful and correct. Real or quasi-real data is best. Whether you're looking for...

PHPBuilder.com: Top 10 phpMyAdmin Tips and Tricks You May Not Know

PHPBuilder.com: Top 10 phpMyAdmin Tips and Tricks You May Not Know
In this new article on PHPBuilder.com today, they share ten handy tips that you might not have known you could do with the phpMyAdmin tool.Despite approaching its 12th birthday, phpMyAdmin is still under active development, with at least one significant version released every year since the project's inception. In fact even after almost a decade of use I still marvel over discovering features which I had no idea existed. In this article I thought I'd highlight 10 useful phpMyAdmin features which may have...

Zend Developer Zone: ZendCon Sessions Episode 036: "Pragmatic Guide to Git"

Zend Developer Zone: ZendCon Sessions Episode 036: "Pragmatic Guide to Git"
On the Zend Developer Zone the latest episode of their "ZendCon Sessions" podcast series has been posted. This time it's Travis Swicegood's presentation, the Pragmatic Guide to Git.The ZendCon Sessions are live recordings of sessions that have been given at previous Zend Conferences. Combined with the slides, they can be the next best thing to having attended the conference itself. [...] This episode of The ZendCon Sessions was recorded live at ZendCon 2010 in Santa Clara, CA and features Travis...

Tom Van Herreweghe's Blog: Running Zend Framework modules from a Phar file

Tom Van Herreweghe's Blog: Running Zend Framework modules from a Phar file
In a recent post to his blog Tom Van Herreweghe shares his method for running Zend Framework modules from a phar file, a simple archiving method native to PHP that makes it simpler to group and package related files.Using Zend Framework as an MVC application is probably the most common usage examples for Zend Framework. When you create such an MVC application, you will probably have heard about modules: reusable components of your application. [...] In my case, I usually just copy and paste the module...

Project: Google2Piwik - From Google Analytics to Piwik (Open Source Analytics)

Project: Google2Piwik - From Google Analytics to Piwik (Open Source Analytics)
Dominik Jendroszczyk passed along a tip about a tool that's been released to help make transitioning from the proprietary Google Analytics systems over to the Piwik open source analytics option simple - Google2Piwik.More and more users are turning away from Google Analytics (GA) as a provider of web measurement solutions on security, independence and functionality grounds. One problem they run into is that after years of using Google's product they have a considerable inventory of data about their...

Brian Swan's Blog: SQL Server Driver for PHP Connection Options: ReturnDatesAsStrings

Brian Swan's Blog: SQL Server Driver for PHP Connection Options: ReturnDatesAsStrings
Brian Swan has a new post to his blog today looking at one of the connection options for the SQL Server driver in PHP - the "ReturnDatesAsStrings" setting that can make handling date and time information simpler for PHP.This is short post to address a frustration I've seen mentioned on Twitter and in forums a lot: By default, the SQL Server Driver for PHP returns datetime columns as PHP DateTime objects, not strings. This can be especially frustrating if you are not aware of the ReturnDatesAsStrings...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Cisco IP Phone Framework Ssearch URL Normalizer Read Text Files PDO Paginator GTK Dialogs XHaffman IsSetAnd

PHP Gurus in Montreal - I'm looking for 3 of them!

PHP Gurus in Montreal - I'm looking for 3 of them!
It's been quite while since my last post and just realized that, my last post was about the very same thing: Looking for PHP gurus. You are: - Living in or around Montreal - No relocation or telecommute for now, sorrya - A PHP and Javascript Guru with at least 3+ years of hands on experience - Available in about a month - Looking for a real technical challenge on a high traffic e-commerce website - I'm talking about 100M+ PV This is a permanent position at a reputable Montreal company of 15 years. The...

Brandon Savage's Blog: The Five Tools I Can't Develop Without

Brandon Savage's Blog: The Five Tools I Can't Develop Without
Brandon Savage has a new post to his blog today with a list of five tools he can't live without in his day-to-day development work. These range from the physical hardware under his fingertips down to software that helps get the job done.Every developer has a toolkit of favorite tools and applications that help them develop more effectively. Being individuals, developers often differ (and in some cases, argue) about the tools they use. One of the most frequent questions I'm asked is "what are the tools...

Speaking at POSSCON 2011

Speaking at POSSCON 2011
I am thrilled to announce that I will be speaking this March at the 4th annual Palmetto Open Source Software Conference in Columbia, SC. It's my first time to the conference, and I'm really excited to be a part of it. During the conference, I'll be doing two talks. aoDeveloping Easily Deployable PHP Applicationsa will be featured on the technical track, which is a talk centering around all the things we do at Sugar to build an app that deployed on several different platforms. aoSugarCRM - Your next...

Kevin Schroeder's Blog: Objections to dynamic typing

Kevin Schroeder's Blog: Objections to dynamic typing
Kevin Schroeder has a new post to his blog today about dynamic typing (a big part of PHP's variable handling) and how it has nothing to do with scalability in reply to some comments about how using them can hinder the performance of an application.Every once in a while I inject my opinions into places where they are not welcome. I have heard from people in the staticly-typed realm of how amateur dynamic typing is. Some people are interested in understanding how to use dynamic typing, others, not so much....

Rafael Dohms' Blog: Managing Test Users in Facebook

Rafael Dohms' Blog: Managing Test Users in Facebook
In a recent post to his blog Rafael Dohms has shared a mini-application he's developed to work with his test users on Facebook when developing his applications - his Facebook Test User Manager.Its possible to create up to 100 test users per app, creation allows you to choose whether the user already should have the application installed and which permissions you want them to have, using API calls. You can also remove users, list all of your app's test users and even create friend connections between them...