PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 3441 to 3460 of 6889

Some notes from Desktop Summit 2011

Some notes from Desktop Summit 2011
As usual, Desktop Summit 2011 has been a lot of fun. I've been to most of the GUADEC and aKademy free desktop events in the past few years, but this was the first time I didn't give a talk. Even that way, it was definitely worth spending a week in Berlin. While much of the corporate involvement around the desktops has evaporated through some recent events, this seems to have given the developers lots more creative freedom. I've seen many very promising concepts from both communities.Here are some things...

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:WebReference.com: Build Your Own PHP Web Mailer TutToaster.com: How to create a forum in PHP from scratch TheseDays.com: An Easy Way to Detect Mobile Devices Jeremy Cook's Blog: Recursive Closures in PHP 5.3 Giulio Pons' Blog: Send push notification to iPhone with PHP and pushme.to PHP-GTK Blog: How to: PHP 5.3 with PHP-GTK and Cairo on Linux Mint 9 Cal Evans' Blog: 5 PHP twitter accounts that have replaced my feed reader Zend Developer...

Cli parsing in FlexyFramework, PEAR Console_GetArg

Cli parsing in FlexyFramework, PEAR Console_GetArg
Article originally from rooJSolutions blog AAnd another rare article get's published, I've been slacking off posting recently. As I've been busy getting some interesting sites online. The biggest being a rather fun viral advertising campaign on facebook www.facebook.com/deargoodboy. Which I ended up project managing, after originally only committing to do the facebook integration.Anyway back to the open source stuff. One of the tasks I've had on my todo list for a while is revamping the CLI handling of...

Feminist Consciousness, or Escaping the Matrix

Feminist Consciousness, or Escaping the Matrix
Feminist Consciousness, or Escaping the Matrix: gamesandtrips: Developing feminist consciousness-the awareness of the sexist systems of oppression-is very difficult at first because sexist oppression is so built into culture, into life, into the most mundane and exalted things, in a word, so ubiquitous, that one is tempted to believe that this is how hasa

Tom Jowitt's Blog: Streamlined PHP Development - Part III

Tom Jowitt's Blog: Streamlined PHP Development - Part III
Tom Jowitt has posted his third part in his "streamlined PHP development" series today focusing on working with databases and setting it up with your automated deployment system (parts one and two).In the first two parts of this series we covered setting up the server and an introduction to Phing. This post will cover managing our database code with dbdeploy and Phing.He points out that there's no "silver bullet" when it comes to automated database management but he's found dbdeploy as a good tool for...

PHP Base-62 encoding

PHP Base-62 encoding
There's a really horrible bug (though they won't call it that!) in Apache's mod_rewrite that means that urlencoded inputs in rewrites get unescaped in their transformation to output patterns. The bug actually remains unfixed, though a workaround first appeared in Apache 2.2.12 (which wasn't all that long ago). Put it like this: if you're not using the [B] flag in your mod_rewrite rules, your site is probably only working due to blind luck. With that in mind, a few years ago I spent ages looking for a...

PHPBuilder.com: Smarty PHP Template Engine: Building PHP Apps in a Flash

PHPBuilder.com: Smarty PHP Template Engine: Building PHP Apps in a Flash
On PHPBuilder.com today there's a new tutorial from Octavia Anghel introducing you to Smarty, a PHP-based templating engine that can make creating the layouts and output of your site simpler and easier to reuse.Smarty is a template engine for PHP whose main goal is to facilitate a very useful way to separate the business logic from the presentation logic. This article introduces Smarty and demonstrates how to install the template, create an application from scratch and interact with a...

Slawek Lukasiewicz's Blog: Throwing Exception with Type Hinting Failed

Slawek Lukasiewicz's Blog: Throwing Exception with Type Hinting Failed
Slawek Lukasiewicz has a helpful hint posted to his blog today about handling type hinting failures in a what he sees as a "more correct" way than just throwing an error - throwing an exception when the hinting criteria's not met.One of the most annoying behavior of PHP type hinting feature is triggering error instead of throwing exception when instance type is invalid.By default, a failure generates a "catchable error" that, thanks to the custom error handling methods PHP includes, can be correctly...

Anthony Ferrara's Blog: On Optimization in PHP

Anthony Ferrara's Blog: On Optimization in PHP
Anthony Ferrara has a new post to his blog today looking at something that's constantly a focus of user-facing applications, PHP ones or otherwise - application optimization. He specifically discusses handling it in PHP and some things to keep an eye out for.When it comes to optimization, there are two competing viewpoints in the PHP community. Some say that optimization should only ever be an after thought and to avoid premature optimization at all costs. Others will say that this is impractical, and...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Color Namer Gamify Best CAPTCHA police Cifrador Simple CSV transpose zbase32 Grid class HHO Text Counter ADV_FTP phpSVG Files

Rafael Dohms' Blog: PHP Development in the Cloud by Ivo Jansch and Vito Chin

Rafael Dohms' Blog: PHP Development in the Cloud by Ivo Jansch and Vito Chin
Rafael Dohms has posted a review of a book from Ivo Jansch and Vito Chin - "PHP Development in the Cloud", a guide to some considerations about running PHP applications on cloud-based platforms.Cloud computing is finally reaching a point of maturity and leaving its early "hype" years behind. Ivo and Vito do a very good job of bringing the topic into a PHP developer's world in a very concise and objective manner, without leaving important platforms and concepts behind.He briefly mentions the book's...

Superdit.com: Google Web Seach With ExtJS Grid and PHP

Superdit.com: Google Web Seach With ExtJS Grid and PHP
From Superdit.com there's a tutorial showing you how to display search results in an ExtJS grid as pulled from Google's API. The article's from the beginning of the year, but it's a good self-contained example of using ExtJS to automatically pull in data produced from the backend.This time I want to make a simple example in displaying google web search result in ExtJS grid, other ExtJS component that can be used to displaying this result is dataview, but grid is more common in displaying data in ExtJS....

Bertrand Mansion's Blog: PHP with Itnl and Gettext on OSX Lion

Bertrand Mansion's Blog: PHP with Itnl and Gettext on OSX Lion
Bertrand Mansion has a recent post to his blog looking at repairing missing functionality in the latest OS X update (Lion) with the intl extension and gettext (not installed by default).Mac OSX Lion ships with PHP 5.3.6. [...] These are all very good solutions, but since I prefer to travel light and the version in Lion already comes with a lot of useful extensions, I preferred to go with it.He shows how to update the default Lion PHP install to include some of the things he needed for his development...

Sameer Borate's Blog: Checking your site for malicious changes

Sameer Borate's Blog: Checking your site for malicious changes
Sameer Borate, in the wake of having security issues with his site, has posted a hint you could use to help detect when something has changed in important files in your application by checking their hash.Today a couple of hours back my site got compromised. Not much changes to the code, but the .htacces was changed and some code [...] was added to the .htaccess file, which redirected the traffic coming from search engines to a malware site. It has now been removed and to prevent any such changes to the...

Martin Sikora's Blog: Storing arrays using JSON, serialize and var_export

Martin Sikora's Blog: Storing arrays using JSON, serialize and var_export
Martin Sikora was working on an application that used a large dataset (in an array) and found some interesting things in regards to PHP's resulting loading time and saving time in four different types of arrays.Recently I was dealing with precessing and storing large arrays in PHP (around 100 000 items) and I found out some quiet surprising facts that are very useful in performance critical applications. [...] When I started looking for some benchmark I found article Cache a large array: JSON, serialize...

Bradley Holt's Blog: The Case For Rapid Release Cycles

Bradley Holt's Blog: The Case For Rapid Release Cycles
Bradley Holt has a new post to his blog today talking about something he's a fan of in his development processes - rapid release cycles - and how something like the Zend Framework could benefit from it.There has been some discussion recently on the Zend Framework mailing list around release cycles. I proposed a release cycle of six months for major versions (someone else suggested eighteen months, which may be more reasonable for a framework). Rapid releases allow one to accelerate the cycle of building,...

Community News: Latest PECL Releases for 08.09.2011

Community News: Latest PECL Releases for 08.09.2011
Latest PECL Releases: lua 1.0.0 CUBRID 8.4.0.0003 CUBRID 8.3.1.0007 uploadprogress 1.0.3

The Case For Rapid Release Cycles

The Case For Rapid Release Cycles
There has been some discussion recently on the Zend Framework mailing list around release cycles. I proposed a release cycle of six months for major versions (someone else suggested eighteen months, which may be more reasonable for a framework). Rapid releases allow one to accelerate the cycle of building, measuring, and learning. Gathering data from actual usage (measuring) provides an opportunity for learning that can be applied to the next release (building). Zend Framework 2.0 should be released...

Derick Rethans' Blog: Valgrinding shared modules

Derick Rethans' Blog: Valgrinding shared modules
In the process of some development he's been doing on various shared modules for PHP, Derick Rethans stumbled across an issue with using Valgrind to test his code:While testing whether I correctly free all memory with Valgrind, I ran into the issue where I couldn't see the stack frames of where the memory leaks occurred in the extensions, and once I even ran into a Valgrind bug. The reason why Valgrind could not show the function names belonging to the stack frames is because PHP had already unloaded the...

PHPBuilder.com: Back to Basics: Managing PHP Configuration php.ini Directives

PHPBuilder.com: Back to Basics: Managing PHP Configuration php.ini Directives
Jason Gilmore gets "back to basics" in a new tutorial with a look at managing configuration in your ini file to tune it to just what you need.While PHP's configuration capabilities are indeed powerful, the sheer breadth and different ways in which these configuration directives can be set are often confusing and downright intimidating to newcomers. So in this article it worth meandering from the typically intermediate-level discussion and instead offer some insight into PHP's configuration-specific...

Latest PHP Tweets