PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 5501 to 5520 of 6889

Mashable.com: 8 Experts Break Down the Pros and Cons of Coding With PHP

Mashable.com: 8 Experts Break Down the Pros and Cons of Coding With PHP
Mashable has posted the third part of their "PHP experts" series with a look at what the eight people on their panel think are some of the pros and cons about developing with PHP.In recent posts, our "PHP masters" gave helpful hints for beginners as well as some pointers for intermediate and advanced coders. For the last post in this series, we've turned to the same experts with some more general questions: What makes PHP a good language? What are some of PHP's drawbacks? And what are the best apps or...

Mike Willbanks' Blog: Android C2DM with PHP and Zend Framework

Mike Willbanks' Blog: Android C2DM with PHP and Zend Framework
In this new post to his blog Mike Willbanks shows how to use PHP - more specifically the Zend Framework - to send push notifications to an Andriod device via C2DM.So you've got a new fancy Android application and you want to be able to send push notifications to the phone. Either for synchronization purposes or for notifications. Since C2DM is fairly new and is currently in the labs it is rather difficult to find code that already handles sending out the notifications correctly. This article will go...

Lorna Mitchell's Blog: Google Analytics Accounts API

Lorna Mitchell's Blog: Google Analytics Accounts API
In this new post to her blog Lorna Mitchell looks at some of the work she's done to extract information out of the Google Analytics accounts API via an OAuth interface and parsed via SimpleXML.I'm using pecl_oauth to authenticate users against their google accounts (see my post about using OAuth from PHP), but even after I have a valid google user, working out which analytics accounts they have access to and how to refer to them is a puzzle in itself, so I thought I'd share what I learned.In her example...

Announcing The Zend Framework Bug Hunt Champions

Announcing The Zend Framework Bug Hunt Champions
In just 3 short days, contributors managed to resolve exactly 111 issues . Fitting though, if you think about it, since this is the 1.11 branch for Zend Framework: 111 issues, 1.11 branch release... I'd like to say we planned it that way, but alas, it was merely coincidental the way these numbers worked out.

Scalar Type Hints in PHP 5.3.99

Scalar Type Hints in PHP 5.3.99
PHP 5.3.99, which will hopefully be released as PHP 5.4 in less than six months, introduces the concept of optional strict type checking for scalars. In a nutshell, this means that PHP 5.3.99 introduces new syntax -- scalar type hints -- but no new semantics. The latter can either be implemented as an extension written in C/C++, in userland PHP code, or in a tool that statically analyzes the code. The code below shows how the Reflection API can be used to access the scalar type hint information in...

Johannes Schluter's Blog: More on scalar type hints in PHP trunk

Johannes Schluter's Blog: More on scalar type hints in PHP trunk
Johannes Schluter has posted a bit more information about the scalar type hinting that's been included in the main development line of the PHP language (trunk).Some time ago I wrote an article about the implementation of type hints for non-object types for PHP. Meanwhile many things happened and that implementation was replaced by a different one. Readers of my previous post might know that I have doubts about type hints in PHP.He shows some of the example syntax for the hinting and points out how, in...

PHP: Finally getting an ecosystem?

PHP: Finally getting an ecosystem?
One of my main concerns with PHP has been the lack of ecosystem. Almost all libraries and tools are written with a specific framework in mind, creating separate ecosystems around Drupal, Zend Framework, Midgard and others instead of an ecosystem benefiting all users of the language. There have been efforts at this, like PEAR before, but they have mostly stagnated. This is why I was really happy to see a post today on Planet PHP about the former eZ Components library entering Apache incubation as Zeta...

Kevin Schroeder's Blog: Building better PHP programmers, part 2

Kevin Schroeder's Blog: Building better PHP programmers, part 2
Kevin Schroeder has posted his second part of his thoughts on building better PHP programmers - things developers can do to move from the average to exceptional in their skills.I have no "findings", no "conclusions", but I have some thoughts on my continuing goal to help bad/nominal PHP programmers become better PHP programmers.He talks about the questions he asked in his previous post (like "is there a shortage of good programmers" and the requirements on memorizing) and some of the responses both for...

Community News: Latest PECL Releases for 11.23.2010

Community News: Latest PECL Releases for 11.23.2010
Latest PECL Releases: imagick 3.0.1 CUBRID 8.3.0.0003 intl 1.1.2

Apache Zeta Components [Was: eZ Components]

Apache Zeta Components [Was: eZ Components]
On many conferences I still hear stuff like "hey, what about eZ Components" and people often ask my, what the state of the migration of eZ Components to Apache Zeta Components is. To make it short: eZ Components are dead, long life Apache Zeta Components! To answer the questions in more detail, I just published a status update for Apache Zeta Components on the new website of Apache Zeta Components, where can find what we did in the past months and what is currently going on.

Google Analytics Accounts API

Google Analytics Accounts API
I'm working with Google Analytics at the moment, to pull information about web traffic from analytics into another system. Google have excellent APIs and that makes this job much easier. I'm using pecl_oauth to authenticate users against their google accounts (see my post about using OAuth from PHP), but even after I have a valid google user, working out which analytics accounts they have access to and how to refer to them is a puzzle in itself, so I thought I'd share what I learned.These examples use...

Drupal's audience priorities

Drupal's audience priorities
I've spoken a great deal recently about architectural priorities. In short, we as software developers cannot eat our cake and have it too. Improving flexibility in one area may hurt performance, while improving usability one another area may hinder flexibility. These trade-offs are not necessarily right or wrong, except in the context of the goals and purpose of the project with respect to its target audience. But what is Drupal's target audience, and how does that impact our architectural decisions?...

AJAX 2: New possibilities offered by XMLHttpRequest level 2 specification

AJAX 2: New possibilities offered by XMLHttpRequest level 2 specification
AJAX 2: New possibilities offered by XMLHttpRequest level 2 specification By Manuel Lemos AJAX applications are often implemented using the XMLHttpRequest JavaScript object. XMLHttpRequest is getting a new specification named Level 2. This post is just a quick note about another interesting article about what new specification brings and how you can take advantage of it in your AJAX applications.

SitePoint PHP Blog: Lightning-fast WordPress with PHP-FPM and nginx

SitePoint PHP Blog: Lightning-fast WordPress with PHP-FPM and nginx
New on the SitePoint PHP blog there's a tutorial combining WordPress and PHP-FPM/nginx to give you a high-performance version of your site.In this tutorial, I'll show how to build a server capable of withstanding a front-page Digg placement, step by step. This will mean your business stays online when it's most important-when everyone is looking. We'll go through the process of building a super-fast, bulletproof custom web server for WordPress. The technology stack we'll use is Ubuntu, nginx, PHP-FPM,...

Johannes Schluter's Blog: Changes in PHP trunk: No more extension for sqlite version 2

Johannes Schluter's Blog: Changes in PHP trunk: No more extension for sqlite version 2
Johannes Schluter has a quick new post to his blog today talking about parts of the sqllite extension that will be dropped from the core - the current sqlite_* methods and the pdo_sqlite driver.The issue there is that this depends on the SQLite 2 library which isn't supported by upstream anymore for a few years. It was a logical step therefore to remove this extension from PHP trunk. The support for the sqlite3 extension and the PDO_sqlite driver (same link as above, read it carefully), which use version...

How to install PHP PEAR and phploc on Windows

How to install PHP PEAR and phploc on Windows
PEAR (short for PHP Extension and Application Repository) is a framework and distribution system for reusable PHP components. In includes many useful tools and components that can be easily downloaded and installed by using PEAR package manager. This post describes how to install and configure PEAR package manager and then how to use it to install a PEAR package. An example PEAR package used in this post is phploc, whichAis a tool for measuring the size of PHP projects. Start by installing PHP on Windows...

CodeIgniter.com: CodeIgniter Community Branch NDA

CodeIgniter.com: CodeIgniter Community Branch NDA
On CodeIgniter.com today there's a new blog post hoping to clear up any confusion about the Community Branch of the framework and the NDA that would be required for those developers on the project.The confusion lies in the purpose of the NDA, and the scope of what it covers. The branch's development will not be under NDA, nor will discussions between the deputies and the community, how they receive code submissions, what they reveal to others about their own plans, and so on.The NDA does, however, cover...

Rob Allen's Blog: Some notes on SQL Server blobs with sqlsrv

Rob Allen's Blog: Some notes on SQL Server blobs with sqlsrv
In this new post to his blog, Rob Allen has posted notes on some of his experience in working with blobs with SQL Server using UTF-8.This turned out to be easy enough: Use ntext, nvarchar types in the database and add resources.db.params.driver_options.CharacterSet = "UTF-8" to your application.iniHe also includes some code to fix a problem he spotted with storing binary data into a varbinary field giving him an error about string translation. The fix came in the way of replacing the direct...

Raphael Stolt's Blog: Measuring & displaying Phing build times with buildhawk

Raphael Stolt's Blog: Measuring & displaying Phing build times with buildhawk
Raphael Stolt has a new blog post today looking at his method for measuing Phing build times with the help of a Ruby gem called buildhawk.Recently I installed a Ruby gem called buildhawk which allows to measure and display the build times of Rake driven builds. As I like the idea behind this tool a lot but mostly use Phing for build orchestration, it was time to explore the possibility to interconnect them both. In this blog post I'll show an implementation of an apposite Phing Logger gathering the...

SimasToleikis' Blog: New to PHP 5.4: Traits

SimasToleikis' Blog: New to PHP 5.4: Traits
Simas Toleikis has a new post to his blog looking at a feature that'll be included in PHP 5.4 - something developers have been wanting for a long time - traits.As a long-time internals.php mailing list reader I am going to tell you a small secret - the first alpha release for PHP 5.4 should be just around the corner. This release is packed with some welcome new language features, usual bug fixes followed by some performance and memory management improvements. One of the noteworthy language additions are...

Latest PHP Tweets