News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Stoimen Popov's Blog:
PHP Performance Bitwise Division
January 06, 2012 @ 09:26:38

Stoimen Popov has a new post to his blog today comparing the performance of bitwise division versus the normal "/" division operator.

Recently I wrote about binary search and then I said that in some languages, like PHP, bitwise division by two is not faster than the typical "/" operator. However I decided to make some experiments and here are the results.

According to his results using the bitwise method is slightly faster, but you'd only really notice it when working with large sets of data (like his example using 10,000,000). The code to run his benchmarks is included in the post.

0 comments voice your opinion now!
bitwise division benchmark compare operator


Chris Hartjes' Blog:
Doing RADAR in CakePHP
April 12, 2007 @ 10:21:00

Chris Hartjes demonstrates how to get the concept of RADAR (RESTful Application, Dumb-Ass Recipient) up and working with a simple CakePHP application.

Okay, time for some code samples to boost traffic to my site. In a previous posting I talked about the idea of RADAR, or RESTful Application, Dumb-Ass Recipient. So, wanting to see if I could put it into use, I decided to do the following for a new application: Have the core of the application provide data via a REST service, For the web part of it, create controller / action pairs that call the REST service and pass the output onto the views.

There's four code examples included in the post:

  • Defining the IndexController for the app
  • Creating the results, standings and schedule methods in the controller
  • Rendering the XML for the response and for the standings and for the standings for a particular division (two code blocks).

0 comments voice your opinion now!
cakephpframework radar rest interface division standings cakephpframework radar rest interface division standings


Christian Wenz's Blog:
Zend and Oracle, again
February 14, 2006 @ 18:46:00

Christian Wenz has posted this new item on his blog today with a report relating to the Oracle/Zend rumors that have been floating around.

Well, the rumors (that also made it into blogosphere, including Toby's post) obviously could not be ignored by Zend any longer. Therefore, the German division of Zend just sent out an email to a couple of people officially stating that Zend is currently not negotiating a sale to Oracle.

I suppose only time will tell on the deal, but it seems for now that the sale is not going to happen (and that there never was a sale in talks at all).

0 comments voice your opinion now!
buy zend oracle sale rumor not true german division email buy zend oracle sale rumor not true german division email



Community Events





Don't see your event here?
Let us know!


laravel opinion language tool introduction voicesoftheelephpant security application composer install podcast package release library series community version framework interview symfony

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework