PhpRiot
Follow phpriot on Twitter
Sponsored Link
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 4041 to 4060 of 6889

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  A 20 A  0 A 615m A 12m 4988 S A  A 0 A 0.7 A  0:00.34 node The PHP implementation...

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...

Configuring PHP GD on Ubuntu 11.04 "Natty"

Configuring PHP GD on Ubuntu 11.04 "Natty"
This is a post for the "so I can find it again" category. (It is also a test for the new blogging infrastructure that Oracle migrated to last week). After an upgrade to Ubuntu 11.04 on one 32 bit machine, my simple custom script to build PHP 5.3 from source failed. The script isn't complex, pulling in a couple of extensions that I use for sanity checking the OCI8 extension. I use the GD extension to generate some simple graphs.My configuration command was like:./configure ... --with-gd --with-jpeg-dir...

PHPBuilder.com: Create a Dynamic Username Validator with PHP, MySQL and jQuery

PHPBuilder.com: Create a Dynamic Username Validator with PHP, MySQL and jQuery
On PHPBuilder.com there's a new article showing you how to create a dynamic username validator with the combination of PHP, MySQL and jQuery to do some of the front end work.One of the easiest ways to streamline the registration process is by providing the user with real-time feedback regarding username availability. This is accomplished by monitoring the registration form's username field and immediately following the user's completion of this field, rather than waiting for the user to complete all...

DevShed: Custom Session Management Using PHP and MySQL

DevShed: Custom Session Management Using PHP and MySQL
DevShed has a recent post looking at a handy feature PHP includes to let you be a bit more flexible with your session handling - the custom handlers that can be used for fun things like MySQL session handling.Now the default PHP session management functions work just fine for most uses, and there is no reason to create a custom session handler if all you have is one server with a moderate amount of traffic and session use. However, remember that session data is stored locally on your server's hard drive....

DZone.com: PHP UML generation from a live object graph

DZone.com: PHP UML generation from a live object graph
On the PHP On Windows section of the DZone.com site Giorgio Sironi has a new post looking at the process (and script he's created) to create a UML diagram with PHP from a project's current class structure.Sometimes you need to share a design with your colleagues. You can walk him through the code, and explain which classes and interfaces you created, but there are higher abstracted models that you can show to him to make him grasp the picture quickly. One of these tools is UML, and in particular class...

Silex is like ExpressJS for PHP

Silex is like ExpressJS for PHP
We had the PHP Content Repository workshop at Liip in Zurich earlier this week. During the time we also discussed some other code reuse, like utilizing parts of the Symfony2 framework in Midgard. The Liip guys mentioned Silex, a cool micro-framework written on top of Symfony2. It greatly resembles the ExpressJS framework that we already use in some of our Node.js projects. Here is a simple example of registering a route and displaying something when it is called: get('/hello/{name}', function($name) {...

RubySource: Confessions of a Converted PHP Developer

RubySource: Confessions of a Converted PHP Developer
RubySource's resident PHP developer Mal Curtis delves into the differences between PHP's property visibility and Ruby's attribute accessor visibility. Read on to learn about how fundamentally different Public, Protected, and Private visibility is between the two languages.Read the full article-Confessions of a Converted PHP Developer: On Visibility and Privates-over on RubySource.

Latest PHP Tweets


19 May 4:12 AM: mwop: Spent my 40th: smoking 3 racks of ribs; brewing beer; enjoying far too many fantastic beers; feasting; sharing stories around a fire. #win

18 May 2:07 PM: phpdeveloper: Community News: Packagist Latest Releases for 05.18.2013: Recent releases from the Packagist:kamisama/resque-s... http://t.co/WZu4uPCrDV

18 May 1:02 AM: zend: #StarWars beats #StarTrek among PHP devs! Can you believe that? http://t.co/VP0wOzUgYb

18 May 12:17 AM: zend: #Google App Engine finally supports #PHP, the language that runs 75% of the web http://t.co/sNuxdrrJzF @VentureBeat

17 May 10:02 PM: zend: Zend along with #cloudera #sugarcrm #box named as the OnDemand Top 100 winner by @alwayson http://t.co/e1fBWl8MFr

17 May 8:30 PM: zend: Open Source #Zend Framework 2.2 Brings #PHP to @OpenStack #Cloud #zf2 via @TechJournalist http://t.co/Qr4lNXJ8jy

17 May 7:52 PM: zend: #Zend Developer Series: Maximize Application Performance, Scalability and Availability! http://t.co/5KMTcvzw50

17 May 7:36 PM: mwop: Got to witness my daughter accept her Honor Roll certificate this afternoon. So proud of her!

17 May 7:02 PM: zendcon: ZendCon #PHP 2013 just got better! Early bird registration for $495. Follow @ZendCon for more information.

17 May 7:02 PM: zend: ZendCon #PHP 2013 just got better! Early bird registration for $495. Follow @ZendCon for more information.

17 May 6:01 PM: zend: Goodbye CodeIgniter, Hello Laravel! http://t.co/2srdBPJoU8

17 May 4:24 PM: phpdeveloper: http://t.co/BFpLojOo3o: Cloning in PHP: In this recent post over on http://t.co/BFpLojOo3o Giorgio Sironi takes... http://t.co/ewykl3wf8G

17 May 4:02 PM: zend: Still debugging after your app is released? #ZendServer can take the pain away. http://t.co/QASFnpaoYa

17 May 3:39 PM: phpdeveloper: http://t.co/6SqlRqLxrS: Openbiz Cubi: A Robust PHP Application Framework, Part 1: On http://t.co/6SqlRqLxrS tod... http://t.co/gNzBUebRhd

17 May 2:52 PM: phpdeveloper: Chris Jones: Offline Processing in PHP with Advanced Queuing: Chris Jones has a new post today showing you ho... http://t.co/uC2wkuN2fZ

17 May 1:14 PM: phpdeveloper: Community News: Packagist Latest Releases for 05.17.2013: Recent releases from the Packagist:piwik/piwik (1.12... http://t.co/y4we0rXjzW