PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 61 to 80 of 250

PHPMaster.com: Continuous Integration (with Jenkins), Part 1

PHPMaster.com: Continuous Integration (with Jenkins), Part 1
For anyone out there wanting to get a build process going for their latest project (or maybe even an older one), PHPMaster.com has the first part of a series about doing continuous integration with Jenkins posted with some good tips for you to get started.What Jenkins does is not difficult to understand once you know why it does that. In this 2-part series I'll present a big-picture overview of the sort of programming problems CI can solve, show how it can be achieved with the help of specialized...

PHPMaster.com: Continuous Integration (with Jenkins), Part 1

PHPMaster.com: Continuous Integration (with Jenkins), Part 1
For anyone out there wanting to get a build process going for their latest project (or maybe even an older one), PHPMaster.com has the first part of a series about doing continuous integration with Jenkins posted with some good tips for you to get started.What Jenkins does is not difficult to understand once you know why it does that. In this 2-part series I'll present a big-picture overview of the sort of programming problems CI can solve, show how it can be achieved with the help of specialized...

Community News: Latest PEAR Releases for 03.26.2012

Community News: Latest PEAR Releases for 03.26.2012
Latest PEAR Releases: Net_DNS2 1.2.1 XML_FOAF 0.4.0 Image_Barcode 1.1.3 Net_IPv6 1.2.2b2 Numbers_Words 0.16.4 HTML_QuickForm2 2.0.0beta1

Community News: Latest PEAR Releases for 03.26.2012

Community News: Latest PEAR Releases for 03.26.2012
Latest PEAR Releases: Net_DNS2 1.2.1 XML_FOAF 0.4.0 Image_Barcode 1.1.3 Net_IPv6 1.2.2b2 Numbers_Words 0.16.4 HTML_QuickForm2 2.0.0beta1

Using JIRA's REST API to Create a Dashboard

Using JIRA's REST API to Create a Dashboard
If you read this blog often, you'll know that I am: crazy about APIs living with some accessibility issues Put these two things together and what do you get? Actually don't answer that! Today what you get is an example of integrating with JIRA's REST API, because their recent "upgrade" locked me out of the issue listings pages completely and I really do need to be able to see a list of bugs! Their bug editing screen is quite usable, so it's just the list that I need here, but you could easily call their...

Using JIRA's REST API to Create a Dashboard

Using JIRA's REST API to Create a Dashboard
If you read this blog often, you'll know that I am: crazy about APIs living with some accessibility issues Put these two things together and what do you get? Actually don't answer that! Today what you get is an example of integrating with JIRA's REST API, because their recent "upgrade" locked me out of the issue listings pages completely and I really do need to be able to see a list of bugs! Their bug editing screen is quite usable, so it's just the list that I need here, but you could easily call their...

Improving Query Performance

Improving Query Performance
Some aspects of Natural Load Testing's site have never really performed that well. The site was under incredibly rapid development so I didn't want to invest too much time in making performance tweaks on code or even architecture that might change in the next week. No joke, we've re-written our load tester at least three times. Two complete re-writes in the same language, then we switched languages to get better threading performanceI think we hit some sort of limit in the past week or two, and things...

pewpew - PHP's Embedded Webserver

pewpew - PHP's Embedded Webserver
This is a tiny tool that allows you to launch the built in PHP 5.4 HTTP test server with a few clicks. It allows you to select which PHP binary you want to use (in case you have multiple on your system) and the document root of the test server.read more

Svbtle Versus Obtvse

Svbtle Versus Obtvse
I just read a post by Daniel Howells about these two stories on Hacker News: Codename: Svbtle by Dustin Curtis Codename: Obtvse Before I make my small point, let me give you the quick synopsis. Briefly, Dustin Curtis made his own blogging platform, opened it up to a few friends, and blogged about it. Someone else submitted it to Hacker News, and that's where the story takes a turn.The Hacker News community quickly attacked Dustin's persona (he describes himself as a superhero) and the exclusivity of...

Chris Morrell's Blog: Introducing Zit, an object-oriented dependency injection container

Chris Morrell's Blog: Introducing Zit, an object-oriented dependency injection container
In his latest post Chris Morrell introduces a project he's been working on to help with his dependency injection needs - Zit, an object-oriented dependency injection container similar to the Pimple DIC from Fabien Potencier.I'll admit right now that I'm fairly new to the world of dependency injection containers. I usually do my dependency injection "manually" and have always thought that there must be a better way. Then I came across Pimple, which is a wonderfully simple solution to the problem. The only...

Freek Lijten's Blog: SOLID - The S is for Single responsibility

Freek Lijten's Blog: SOLID - The S is for Single responsibility
Freek Lijten has written up a new post to his blog about a set of development principles that have been getting more press in the PHP community lately - SOLID. In his post he starts with a look at the "S" in the set - "Single Responsibility".The single responsibility principle isn't all that hard to explain. It states that an object should do one thing, and one thing only. [...] A responsibility is a reason to change, and a class should only have one of those. Now all of this may sound abstract and since...

InfoWorld: Review: 2 PHP tools rise above the rest

InfoWorld: Review: 2 PHP tools rise above the rest
InfoWorld has a new article posted looking at some of the PHP IDE options out there and comparing some of their strengths and weaknesses including PHPStorm, Eclipse, Aptana and Zend Studio.PHP is more than just a language for junior high school kids to learn after they master balancing DIV tags in HTML. It can support enterprise-grade installations and deliver the kind of heavy lifting that brings power plants to their knees. [...] To get a flavor for the latest in PHP programming, I spent some time...

Monitor.us Blog: Website Performance: PHP

Monitor.us Blog: Website Performance: PHP
On the Monitor.us blog there's a recent guide to performance tuning your PHP with sections on lots of topics, some related directly to the code and others more towards the environment it lives in.The World-Wide Web offers more PHP performance tips than can be comfortably discussed in one article, so the following is merely a list that can be used for reference purposes. The tips are divided into categories to group similar things together and make it easier to find what we need. The author's search for...

James Fuller's Blog: Enforcing contracts in your PHP functions and methods

James Fuller's Blog: Enforcing contracts in your PHP functions and methods
James Fuller has a new post to his blog today about a way you can enforce contracts in your PHP using a combination of type hinting and value checking.Design by contract is an important concept for controlling what type of input your methods or functions can receive. One of the most dangerous features of PHP is that functions will still execute even when they are missing required arguments, by emitting a warning instead of an error. In this post, I am going to walk through some of the solutions available...

From the Start: Setting up Behat testing

From the Start: Setting up Behat testing
In a previous post I showed you how to use HTTP Auth with the Goutte driver in Behat testing. I want to take a step back and show you how I even got to that point with a simple guide to installing the tool and creating your first tests. In a future post, I'll show the (super simple) integration you can do with Jenkins to execute the tests and plug in the results. First off, a definition for those not sure what Behat is: Behat was inspired by Ruby's Cucumber project and especially its syntax part...

Site News: Popular Posts for the Week of 03.23.2012

Site News: Popular Posts for the Week of 03.23.2012
Popular posts from PHPDeveloper.org for the past week:Community News: phpDocumentor Merges with DocBlox for phpDocumentor 2! Brandon Savage's Blog: "PHP Playbook" Giveaway! Ryan Mauger's Blog: Controller Testing with the FlashMessenger in Zend Framework Rob Allen's Blog: A list of ZF2 Events PHPMaster.com: Building a Domain Model - Integrating Data Mappers Pascal Opitz's Blog: An example of how to use Pimple DI with ZF 1.x Nikita Popov's Blog: Understanding PHP's internal function definitions (Part 2)...

Ibuildings techPortal: DPC Radio: Clean PHP

Ibuildings techPortal: DPC Radio: Clean PHP
On the Ibuildings techPortal today they've published the latest in their DPC Radio podcast series, sessions as recorded at the 2011 edition of the Dutch PHP Conference. In this latest episode Sebastian Bergmann talks about "Clean PHP".Even bad code can function. But if code isn't clean, it can bring a development organization to its knees. Every year, countless hours and significant resources are lost because of poorly written code. But it doesn't have to be that way. In this session you will learn how...

Mfana Ronald Conco's Blog: RabbitMQ and PHP Part 2 - Durable Queues and Persistent Messages

Mfana Ronald Conco's Blog: RabbitMQ and PHP Part 2 - Durable Queues and Persistent Messages
Mfana Ronald Conco has posted the second part of his RabbitMQ and PHP series to his blog today. This time he looks at durable queues and persistent messagesYou now have a queuing system that works and generates pdfs which are sent to users as per RabbitMQ and PHP Part 1 of this article. A week later after launching the queuing system you get one or two queries from users who claim to have made a request to get the pdf report but it never arrived. Okay, what could have happened ? well you go through the...

DZone.com: TravisCI Intro and PHP Example

DZone.com: TravisCI Intro and PHP Example
In this new article on DZone today, Giorgio Sirnoi introduces you to using TravisCI to provide continuous integration services for your project (externally). Continuous integration is a way to provide "quality control" of your code, making it easier to run testing, check syntax and more, small pieces at a time.Travis CI in fact works by tying itself to a particular project on Github, and by triggering a new build every time new commits are available on the chosen branch (master, usually). Your build...

PHPMaster.com: Error Logging with MongoDB and Analog

PHPMaster.com: Error Logging with MongoDB and Analog
On PHPMaster.com today there's a new tutorial from Lorna Mitchell introducing you to using Analog for error logging in a MongoDb connection. Because of the way the tool (Analog) is designed, it could be used anywhere - she just uses the MongoDB connection as an example because it integrates easily and efficiently.MongoDB is an excellent fit for logging (and of course other things as well) for many reasons. For one, it is very VERY fast for writing data. It can perform writes asynchronously; your...