PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 81 to 100 of 242

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:Reddit.com: What everyone should know about strip_tags() Nelm.io Blog: Composer: Part 2 - Impact DZone.com: Social Comparison of PHP Frameworks Leasewebs Labs: Painless (well, less painful) migration to Symfony2 Joshua Thijssen's Blog: php 5.4 + htrouter: Your personal Apache 2.2 compatible server Zend PHP Certification Blog: PHP Sorting Functions Andrew Perkin's Site: Cakephp Video Tutorials (Authentication) Smashing Magazine: Create A...

PHP 5.4.10 and PHP 5.3.20 released!

PHP 5.4.10 and PHP 5.3.20 released!
The PHP development team announces the immediate availability of PHP 5.4.10 and PHP 5.3.20. These releases fix about 15 bugs. Please note that the PHP 5.3 series will enter an end of life cycle and receive only critical fixes as of March 2013. All users of PHP are encouraged to upgrade to PHP 5.4. For source downloads of PHP 5.4.10 and PHP 5.3.20 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes are recorded in the ChangeLog.

Polite Exceptions - Fixing the stepchild of API design

Polite Exceptions - Fixing the stepchild of API design
Every API has an visible, an invisibile and a hidden part. The visible part is obvious: public methods and properties but also constants and parameter values. That's the most visible part to any client (read: user) of your API. The invisible part is everything private, you can't really see it and - more important - you can't use it (except if you resort to reflection). The hidden part consists of all the protected symbols, as you can't really see them until you extend a class. The other hidden part are...

The Three Ugly Sisters

The Three Ugly Sisters
The Three Ugly Sisters are three classes of attacks which I've tried to highlight in 2012. You might also know them as Cross-Site Scripting, XML Injection, and Insufficient Server-Side Transport Layer Security (or Peerjacking). These three attacks are particularly ugly for PHP programmers, because each, in its own way, has a common advantage for attackersa-aPHP does not defend against them automatically, and they are poorly documented and poorly understood by programmers. This potent mix of default...

PHP 5.4.10 and PHP 5.3.20 released!

PHP 5.4.10 and PHP 5.3.20 released!
The PHP development team announces the immediate availability of PHP 5.4.10 and PHP 5.3.20. These releases fix about 15 bugs. Please note that the PHP 5.3 series will enter an end of life cycle and receive only critical fixes as of March 2013. All users of PHP are encouraged to upgrade to PHP 5.4.For source downloads of PHP 5.4.10 and PHP 5.3.20 please visit our downloads page, Windows binaries can be found on windows.php.net/download/.The list of changes are recorded in the ChangeLog.

php[tek] 2013 Conference

php[tek] 2013 Conference
We are pleased to announce that tek13 will be taking place this year again at it's traditional location in Chicago, IL. This year's dates are from May 14th - 17th, 2013. It will again be a 3-track conference with a focus on the community. The Call for Papers has been announced and will be running until January 15th, 2013. Conference registration will open on January 1st. We look forward to seeing many of you there this year!

Gonzalo Ayuso: Multiple inheritance with PHP and Traits

Gonzalo Ayuso: Multiple inheritance with PHP and Traits
Gonzalo Ayuso has a new post today showing how you can use traits in PHP to simulate a kind of multiple inheritance.Multiple inheritance isn't allowed in PHP. [It's not] possible with PHP (in Java is not possible either), but today we can do something similar (is not the exactly the same) with Traits. Let me explain that: Instead of classes we can create Traits.He includes a code example showing the creation of two traits, "Base1" and "Base2", that are implemented (via "use") and the calls to methods on...

Sherif Ramadan: Web Analytics with PHP and Google Visualization: Made Simple

Sherif Ramadan: Web Analytics with PHP and Google Visualization: Made Simple
in this new post to his site Sherif Ramadan shares a method for visualizing your website's visitor data with the help of the Google Visualization APIs and some geolocation.The web is a place where everyone is in your backyard. This can be both a blessing and a curse. How do you know where your website traffic is coming from and how much of it there is? [...] How was traffic led to your website in the first place and why? How long do people stick around and what do they like the most about your site?...

Problems compiling PHP 5.3.19 on Mountain Lion

Problems compiling PHP 5.3.19 on Mountain Lion
I had to add EXTRA_CFLAGS = -lstdc++ -lresolv to Makefile when trying to compile PHP 5.3.19 with: ./configure --prefix=/usr/local --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/private/etc --enable-cli --with-config-file-path=/usr/local/php/etc --with-libxml-dir=/usr --enable-xml --enable-exif --enable-ftp --with-gd --with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib --enable-gd-native-ttf --with-imap=/usr/local --with-imap-ssl --enable-magic-quotes --enable-mbstring...

Paul Jones: New Aura System Release, Including Aura.Framework and Aura.Demo

Paul Jones: New Aura System Release, Including Aura.Framework and Aura.Demo
The Aura framework project has released a set of updates to several of their packages including the main Aura.Framework and Aura.Demo functionality.Late last night we released version 1.0.0-beta4 of the full-stack system, which composes all the independent Aura packages into a coherent framework using the Aura.Framework package in a project skeleton. We have extracted the "hello world" portions into their own Aura.Demo package so that it can be removed or disabled when you begin your project. Download it...

Programming With Anthony - Logic

Programming With Anthony - Logic
This week's Programming With Anthony video is up! In it, we discuss the foundations of Boolean Logic and introduce some very interesting tools for analyzing logical constructs (including Truth Tables and De Morgan's Laws). So without any furtherAa due:Video:Ahttps://www.youtube.com/watch?v=udOU0gagZqgPlaylist:Ahttps://www.youtube.com/playlist?list=PLM-218uGSX3DQ3KsB5NJnuOqPqc5CW2kW&feature=view_all

Eric Holk: How Do We Read Code?

Eric Holk: How Do We Read Code?
There's an interesting post on Eric Holk's blog talking about how we read code - a look at the results from a psychology experiment that tracked the viewer's eye movement as they scanned through code (complete with video).The goal is to figure out some way of measuring what features in programming systems help programmers understand wht they are doing, and how this can be used to make systems that lead to higher quality software. Mike is currently running an experiment where he shows people several short...

Community News: php|tek 2013 Announced (with Open Call for Papers)

Community News: php|tek 2013 Announced (with Open Call for Papers)
php|architect has officially announced their php|tek conference for next year (2013) happening in Chicago, Illinois May 14th through 17th. Additionally, they've also opened their Call for Papers!So we've been hearing rumors that tek13 wasn't even going to happen this year. Nonsense! We've been extremely busy behind the scenes getting organized as we've been working on the transition of the PHP|architect brand from Blue Parabola to Musketeers.me. Eli, Sandy, Oscar, and Kevin are planning on carrying on...

Chris Hartjes: So You Want to Write Tests

Chris Hartjes: So You Want to Write Tests
Chris Hartjes has written up a new post for his site, So you want to write tests, giving a good overview of some of the things you'll need to consider when wanting to move into a more test-friendly development world.I often get asked for some advice on how to get started with writing tests for your PHP code. It's a fair question, since I am presenting myself as an expert-ninja-rockstar-sensei-opinionated-egomaniac on the topic. I often struggle with coming up with an answer that can fit into the 140...

Community News: Packagist Latest Releases for 12.19.2012

Community News: Packagist Latest Releases for 12.19.2012
Recent releases from the Packagist:doctrine/mongodb-odm (1.0.0-BETA7) doctrine/mongodb (1.0.0) cypresslab/gitelephant (0.9.6) icanboogie/http (1.0.2) lankit/datatables-bundle (v0.1.2, v0.1.1) mikehaertl/pdfable (1.0.1) mikehaertl/phpwkhtmltopdf (1.1.4) Respect/Data (0.1.7) pomander/pomander (0.1) rodgermd/janrain-bundle (v0.1) jeremykendall/phpctagger (0.0.1) dannykopping/spore (1.0.1) brianium/paratest (v0.3.2)

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
cGenPasswd Extractor Class cTemplate Davis Weather Persian-Date Simple Forms Basic Paginator One Hijri Year Calendar Gmail SMTP PHP URI PHP AJAX Voting Script QR Code Generate Syntax Check

aoDo This, Not Thata Now Available!

aoDo This, Not Thata Now Available!
The long wait is over! Do This, Not That: Object Oriented PHP is now available! If you've ever had to rewrite code that didn't pass code review, this book is for you. If you've ever wondered how to improve your PHP development skills, this book is for you. This book is for everybody who ever [...]

Being an Enabler

Being an Enabler
When you look around at user groups you will notice that many groups have aoleadersa or aomanagersa, this is usually the person who started the group and is not really calling the shots, but usually is giving direction to the group. This is an usual model and it works pretty well in most cases, however I have ran into situations where this causes some misconceptions. The first misconception is that the aoleadera is calling the shots. This usually comes along with the aomanager/leadera title, its what...

Node.js with Express.js in Business

Node.js with Express.js in Business
The fundamental processes behind business and software development are very different, and it's often the reason why getting the two working together can be challenging. In business, you're often able to test ideas quickly and without major costs, which means that an experimental approach to development is common. In software development, you aren't able to test your ideas as quickly, because you need things to be stable and that costs time and money. This means that software development depends on...

Some sharding support and cache locality optimization support for PHP MySQL driver

Some sharding support and cache locality optimization support for PHP MySQL driver
It is time for christmas presents: some sharding support and cache locality optimizations are coming with PECL/mysqlnd_ms 1.5. PECL/mysqlnd_ms is a plugin for the mysqlnd library. The plugin adds replication and load balancing support to any PHP MySQL API (mysql, mysqli, PDO_MySQL) if compiled to use the mysqlnd library. As a MySQL user you can choose between a wide variety of clustering solutions to scale-out. Your options range from eventual consistent solutions to strong consistent ones, from...