PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 121 to 140 of 215

Looking forward to php|tek 2011

Looking forward to php|tek 2011
It's been a few months since I mentioned it, but php|tek 2011 is quickly closing in on us. I'll be attending with several of my fellow Synacorians as well as giving two sessions, Accessing Web Resources with PHP and Creating Desktop Application with Titanium and PHP. Synacor, the company I work for, is one of the sponsors for php|tek. Knowing how much we all enjoy these conferences, I encourage you to take a moment while you're at php|tek and voice your appreciation to Synacor representatives. Also, if...

Chris Jones' Blog: Oracle Tuxedo: A New way to Run PHP Applications

Chris Jones' Blog: Oracle Tuxedo: A New way to Run PHP Applications
In a new post to his blog Chris Jones talks about a new way Oracle's developed to run PHP applications - Oracle Tuxedo, a web application server with specific support for PHP.Oracle Tuxedo provides a scalable and highly available mid tier platform capable of managing and integrating heterogeneous applications. This overview datasheet explains its capabilities: "Oracle Tuxedo provides a service-oriented infrastructure for efficiently routing, dispatching, and managing requests, events, and application...

Jason Gilmore's Blog: Sixteen Best Practices- and Productivity-Related PHP Tutorials

Jason Gilmore's Blog: Sixteen Best Practices- and Productivity-Related PHP Tutorials
Jason Gilmore has put together a list of sixteen best practices and tools you can use to help make your PHP development life easier and the quality of your code better.[I spent so] much time in fact that in 2010 I penned more than 130 articles. Many of these articles focused on PHP-specific best practices and productivity, two topics which should resonate closely with anybody involved in building websites for a living. So I thought it would be useful to compile a list of the sixteen tutorials which touch...

Shay Ben Moshe's Blog: Hashing Passwords Properly

Shay Ben Moshe's Blog: Hashing Passwords Properly
Shay Ben Moshe has a new post to his blog looking at a method he's come up with for hashing passwords the proper way and saving them to a database for future checking. His encryption methods of choice crypt and a random salt generator. The easy and common solution for this particular problem is to use an one-way hash function, such as md5 and sha1, which takes the password and encrypts it. Unfortunately, this method is not as strong as you may think. [...] We can protect our password from rainbow tables...

Debugging PHPUnit Tests in NetBeans with XDebug

Debugging PHPUnit Tests in NetBeans with XDebug
Every now and then you run into this weird situation in your code, where something that was supposed to zig is now zagging and it makes no sense whatsoever. For me this ends up happening in my unit tests since i'm not running everything in the browser everytime and since my tests usually run more scenarios then a regular browser run, that's where the weird stuff happens. So your obvious way out is to add a few var_dumps into the code and try to understand what is happening, if you are doing that: STOP!...

Site News: Popular Posts for the Week of 05.13.2011

Site News: Popular Posts for the Week of 05.13.2011
Popular posts from PHPDeveloper.org for the past week:Chris Aitchison's Blog: You are NOT a Software Engineer! Symfony Blog: Symfony2: Getting easier (Parts 2 & 3) Gonzalo Ayuso's Blog: Real time monitoring PHP applications with websockets and node.js Paul Jones' Blog: Different Definitions of Quality Kevin van Zonneveld's Blog: Revisiting Faster PHP Sessions PHPRiot.com: Translating Text Using the Google Translate API and PHP, JSON and cURL Lorna Mitchell's Blog: PHP OAuth Provider: Initial...

PHP can perform better than Node.js

PHP can perform better than Node.js
My previous post about using Silex and AppServer-in-PHP similarly to ExpressJS generate quite a bit of interest. In the Hacker News thread there was a question about memory usage, and so I put the AppServer under siege. Memory usage stayed constant at: 13958 bergie 20 0 125m 10m 2136 S 1 0.6 0:00.28 php 13959 bergie 20 0 125m 10m 2136 S 1 0.6 0:00.31 php Then I did the same Siege for the ExpressJS version: 14051 bergie A A20 A 0 A615m A12m 4988 S A A0 A0.7 A 0:00.34 node The PHP implementation served...

Oracle Tuxedo: A New way to Run PHP Applications

Oracle Tuxedo: A New way to Run PHP Applications
The Oracle Tuxedo team have posted an Oracle Tuxedo 11.1.1.2 Web Application Server Demo for PHP. It is a VirtualBox VM so you can immediately test it out. The free VM is available from OTN's Pre-Built Developer VMs page. Oracle Tuxedo provides a scalable and highly available mid tier platform capable of managing and integrating heterogeneous applications. This overview datasheet explains its capabilities: "Oracle Tuxedo provides a service-oriented infrastructure for efficiently routing, dispatching,...

DZone.com: WebMatrix: Why PHP Developers Should Pay Attention

DZone.com: WebMatrix: Why PHP Developers Should Pay Attention
On the PHP on Windows section of the DZone.com there's a new post from Naveen Balani about the WebMatrix tool from Microsoft and why PHP developers should be taking notice of it.Gone are the days when PHP developers had to turn away business because the clients used Windows Servers. If you are a PHP developer and have been looking for a cost-effective and easy way to begin developing web sites for clients on Windows, WebMatrix is your new best friend. With WebMatrix, Microsoft has created a new point of...

RubySource.com: Confessions of a Converted PHP Developer: On Visibility and Privates

RubySource.com: Confessions of a Converted PHP Developer: On Visibility and Privates
From RubySource.com there's a new post from a confessed developer who moved from PHP to Ruby about PHP's private visibility rules and how they compare to Ruby's.Alright class - today I'm here to talk about the differences and similarities that PHP and Ruby have when it comes to object properties, methods, and their visibility - how you create variables inside classes, and how you can interact with them.He compares the private properties in PHP classes to the corresponding handling in Ruby, including the...

Partitioning support for the PHP replication plugin

Partitioning support for the PHP replication plugin
The Mysqlnd replication and load balancing plugin alpha release has focused on laying foundations for read-write splitting and load balancing. Thus, we can now look into more juicy topics such as support of schemata based partitioning to increase the granularity of load balancing. Not every slave server needs to replicate ...

Chris Jones' Blog: PHP 5.4 is Gathering Momentum

Chris Jones' Blog: PHP 5.4 is Gathering Momentum
In a new post to his blog Chris Jones talks about the "gathering momentum" that's forming around the push to the next PHP release, PHP 5.4, including discussions on mailing lists and IRC.Discussion on the PHP mail lists and IRC channels in the past few days has been looking positive about an alpha release of PHP 5.4 soon. This will be taken from the "trunk" branch of PHP. The exact feature list is under discussion but the mood seems to be "ship what we currently have" though a couple of features are...

Slides posted from my LinuxTag talk - Using SugarCRM when you aren't doing CRM Examples of SugarCRM as a platform

Slides posted from my LinuxTag talk - Using SugarCRM when you aren't doing CRM Examples of SugarCRM as a platform
Thanks everyone for attending my talk, here's the slides which I presented. I'll post a recap of the event once I'm back in the US.

NetTuts.com: How to Work with PHP and FTP

NetTuts.com: How to Work with PHP and FTP
On NetTuts.com there's a new article stepping you through what you'll need to know about using FTP in PHP, including a basic useful and expandable class.It's always important to first outline exactly what functionality your class should include. In our case: connecting to a server, create a folder on the server, upload a file, change directory, retrieving the directory listing and downloading a file.They first look at what FTP is and then how to set up the class that includes some simple logging,...

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:Josh Holmes' Blog: phpBB is in the Web Application Gallery php|architect: Webcast: Making PHP faster on IIS Superdit.com: Big List of PHP Framework Daniel Cousineau's Blog: Netbeans Code Completion and your Zend_View Court Ewing's Blog: The Best Models are Easy Models Zend Developer Zone: Zend Framework Routing with XML PHPBuilder.com: A Sanity-saving Debugging Solution for Your PHP Development PHPClasses.org: Podcast Lately in PHP - Episode...

Retrieving e-mail messages using PHP from Gmail, Hotmail and Yahoo via POP3

Retrieving e-mail messages using PHP from Gmail, Hotmail and Yahoo via POP3
Retrieving e-mail messages using PHP from Gmail, Hotmail and Yahoo via POP3 By Manuel Lemos Nowadays, most Web mail sites provide POP3 support, so you can retrieve your mailbox messages using PHP or any other language. However, each system uses different ports and encryption configuration that you need to know in order to access them. This article provides information on the details of accessing the messages on some of the most popular Web mail systems via POP 3. It also provides a solution to a...

Progress on PHPCR with a hackday

Progress on PHPCR with a hackday
This weekend we had a hackday on PHPCR. The goal was to coordinate the efforts of Midgard to implement PHPCR with the Jackalope project. We ended up doing a few important cleanups to the PHPCR API definition (see below). We had Henri and Eero from the Midgard project, Benjamin from the Doctrine project and Jordi, Lukas, Chregu and myself (David) from Liip. On the second day, Uwe, Johannes and Dan join us to push the PHPCR doctrine layer further. We had Henri and Eero from the Midgard project. They will...

What is OpenStreetMap?

What is OpenStreetMap?
What is OpenStreetMap? London, UK Thursday, May 12th 2011, 09:04 BST With people more and more complaining that Google Maps gets it wrong, I often reply that the complainers have a look at OpenStreetMap instead. But there are a few misunderstandings on what OpenStreetMap actually is. OpenStreetMap has its main site at http://openstreetmap.org. This shows a rendering of the map that we like to call a "slippy map". This is an online map, that can interactively be zoomed and paned. The slippy map on the...

Idiot-Proof Deployment with Phing

Idiot-Proof Deployment with Phing
disclaimer: I am not underestimating the universe's ability to produce idiots, the point I'm trying to make is that I haven't managed to make any deploy mistakes using this approach. Yet. Once upon a time, a long time ago, I went onto a conference stage for the very first time and said that I thought I might be the world's ditsiest PHP developer. I actually still think that is pretty true, and if you work with me then you will know that I mostly break and fix things in approximately equal measure. With...

PHP 5.4 is Gathering Momentum

PHP 5.4 is Gathering Momentum
Discussion on the PHP mail lists and IRC channels in the past few days has been looking positive about an alpha release of PHP 5.4 soon. This will be taken from the "trunk" branch of PHP. The exact feature list is under discussion but the mood seems to be "ship what we currently have" though a couple of features are slated to be deferred until later. A paragraph from a post by Rasmus Lerdorf on PHP's "internals" mail list is worth re-broadcasting. Rasmus is more than willing to grant PHP karma to...