PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

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

Chris Hartjes' Blog: Testing Web Services in Zend Framework 1.x

Chris Hartjes' Blog: Testing Web Services in Zend Framework 1.x
In a new post to his blog Chris Hartjes shares a technique he figured out for testing web services in Zend Framework 1.x - in his case, a remote application he wanted to mock out with test doubles that would give different responses based on the parameters given.Reading the existing PHPUnit documentation did not provide me with enough hints on how to solve this particular problem, so while I dug around duckduckgoing for a solution I asked Twitter for help. One blog post and 3 tweets later, I had the...

Gonzalo Ayuso's Blog: Performance analysis of Stored Procedures with PDO and PHP

Gonzalo Ayuso's Blog: Performance analysis of Stored Procedures with PDO and PHP
Gonzalo Ayuso has posted the results of some testing he's done in using stored procedures in a PHP application. He compares the run time of two different scripts, one using prepared statements and one without, to see which would perform better in the long run.Last week I had an interesting conversation on twitter about the usage of stored procedures in databases. Someone told stored procedure are evil. I'm not agree with that. Stored procedures are a great place to store business logic. In this post I'm...

Community News: Latest PECL Releases for 05.03.2011

Community News: Latest PECL Releases for 05.03.2011
Latest PECL Releases: rrd 1.0.3 timezonedb 2011.7 gmagick 1.0.8b2 APC 3.1.8

Adobe Flash Builder 4.5 for PHP is now available!

Adobe Flash Builder 4.5 for PHP is now available!
As I recently noted, we have teamed with Adobe to deliver a solution for developers to rapidly deliver native, connected mobile applications. This joint solution based on Adobe Flash Builder, Zend Studio and Adobe AIR enables users to use a common code base and target multiple devices including iOS, Android and Blackberry. Passed are the days where you have to learn Objective-C, Java and other native frameworks. A recent research report noted that the # of Mobile app downloads will reach 44 billion by...

Community News: Dutch PHP Conference - Important update: Conference Social Location has Changed!

Community News: Dutch PHP Conference - Important update: Conference Social Location has Changed!
If you're attending this year's Dutch PHP Conference, they've just posted an important announcement about the conference social:The conference social will now take place at a venue called ClubNL, which is also in central Amsterdam and within easy walk from the Amsterdam main train station. Please remember to hold on to your conference badge, as you will need it to gain access to the event. For more details check out the updated social page on our website. We are hoping to see you all there!There's still...

Phil Sturgeon's Blog: Benchmark 2011: A call for Participants

Phil Sturgeon's Blog: Benchmark 2011: A call for Participants
Phil Sturgeon has put out a call for volunteers about running some benchmarks on the wide range of PHP frameworks out there. He wants set up a "Benchamrks 2011" event that gives all of the frameworks their fair share at putting up good numbers in their most optimized fashion.Yesterday Dan Horrigan (another PHP framework user and developer) suggested we all have a go at "Benchmark 2011". A chance for every framework developer or interested party to take their framework of choice, make a hello world and...

Gimme Bar no longer on CouchDB

Gimme Bar no longer on CouchDB
As mentioned in a previous post, we started building Gimme Bar a little over a year ago. We did a lot of things right, but we also did some things wrong. Since-in those early days-I was the only developer, and since most of my professional development experience is in PHP, that choice was obvious. I also started building the API before the front-end. I chose a really simple routing model for the back-end, and got to work, sans framework. Our back-end code is still really lean (for the most part), and...

Stefan Koopmanschap's Blog: API documentation in Jenkins with DocBlox

Stefan Koopmanschap's Blog: API documentation in Jenkins with DocBlox
In a new post to his blog Stefan Koopmanschap shows you how to get DocBlox installed for your documentation-generation needs as an alternative to phpDocumentor.People using PHP that want API documentation usually automatically think of phpDocumentor, which used to be the de facto standard for generating API documentation from your PHP projects. However, the project has been dormant for a long time now and definitely does not support new PHP features such as namespaces, so it was really time to look for...

Christian Weiske's Blog: Visualizing PHPUnit runs

Christian Weiske's Blog: Visualizing PHPUnit runs
During some of his development, Christian Weiske found the tests for a project he was working on too slow for comfort and figured there had to be a way to find the root cause:Running the specific test cases for the part of the application you're working on is easy and fast, but that does not tell you when changes in part A of the app break part B - which happened several times, and all just because I didn't want to wait 45 seconds again and again. So a solution was badly needed; tests should be as fast...

PHPBuilder.com: PHP Dependency Injection Creates More Maintainable Code

PHPBuilder.com: PHP Dependency Injection Creates More Maintainable Code
On PHPBuilder.com Jason Gilmore has posted a new article looking at the benefits of dependency injection in helping you keep your code more maintainable and well-structured.Of course, the advantages of object-orientation can only be fully exploited when implemented in conjunction with best practices such as encapsulation and inheritance. One such "implementational" best practice is dependency injection, a design pattern that facilitates the decoupling of otherwise dependent components. [...] Save...

Creating Web Page Templates with PHP and Twig (part 2)

Creating Web Page Templates with PHP and Twig (part 2)
This second and concluding segment of our tutorial on Twig templating discusses more advanced templating options, including goodies like template inheritance, custom filters, caching and Zend Framework integration. It also tells you a little more about what goes on under Twig's hood, and shows you how to add more power and flexibility to your PHP and Twig templates.

PHPClasses.org: Lately in PHP podcast episode 11 - Is the Cloud the Right Solution?

PHPClasses.org: Lately in PHP podcast episode 11 - Is the Cloud the Right Solution?
New from the PHPClasses.org site is their latest episode of the "Lately In PHP" podcast - Is Cloud the Right Solution to Host PHP Sites?"Given the latest problems that occurred in sites that are based on cloud hosting services, Manuel Lemos and Ernani Joppert discuss if the current breed of cloud services are the right solution to host PHP sites. They also comment on the JavaScript Professionals Directory and the JavaScript jobs board which were recently launched to address the increasing demand of...

Community News: Latest PEAR Releases for 05.02.2011

Community News: Latest PEAR Releases for 05.02.2011
Latest PEAR Releases: pearweb_qa 1.0.2 pearweb 1.24.3 pearweb_index 1.22.1 pearweb_pepr 1.0.4 Services_ReCaptcha 1.0.3 Date_Holidays 0.21.5 Date_Holidays_Sweden 0.1.3 XML_RSS 1.0.2

CfP Mania

CfP Mania
There's two PHP conferences right now that have their CfP open where I'm one of the people who will be selecting the proposals. I would like to invite everyone to submit to these CfPs as both conferences are awesome!

Is Cloud the Right Solution to Host PHP Sites? - Lately in PHP podcast episode 11

Is Cloud the Right Solution to Host PHP Sites? - Lately in PHP podcast episode 11
Is Cloud the Right Solution to Host PHP Sites? - Lately in PHP podcast episode 11 By Manuel Lemos Given the latest problems that occurred in sites that are based on cloud hosting services, Manuel Lemos and Ernani Joppert discuss if the current breed of cloud services are the right solution to host PHP sites. They also comment on the JavaScript Professionals Directory and the JavaScript jobs board which were recently launched to address the increasing demand of developers from companies that have...