|
Sponsored Link
|
Recent releases from the Packagist:dflydev/placeholder-resolver (v1.0.1)
epochblue/philip-plugins (v1.0.1, v1.0.0)
cypresslab/gitelephant (0.9.0)
epochblue/philip (v1.0.0)
psliwa/php-pdf (1.1.6)
Latest PEAR Releases:
Services_Trackback 0.7.1
Console_CommandLine 1.2.0
Net_IMAP 1.1.2
Services_ExchangeRates 0.8.0
HTML_BBCodeParser 1.2.4
MDB2_Driver_sqlsrv 1.5.0b5
MDB2_Driver_sqlite 1.5.0b4
MDB2_Driver_querysim 0.7.0
MDB2_Driver_pgsql 1.5.0b4
MDB2_Driver_odbc 0.2.0
MDB2_Driver_oci8 1.5.0b4
MDB2_Driver_mysqli 1.5.0b4
MDB2_Driver_mysql 1.5.0b4
MDB2_Driver_mssql 1.5.0b4
MDB2_Driver_ibase 1.5.0b4
Mail_Mime 1.8.6
Console_Color2 0.1.2
Date 1.5.0a3
OpenDocument 0.2.1
File_Find 1.3.2
Services_Weather 1.4.7...
A common problem in software development, is that you need data to work with. This is especially true with data-oriented websites. Working with an empty database leads to all sorts of unexpected problems cropping up once the site goes live and receives real world data. Performance issues, visual bugs due to missing fields, too long or too small texts, etc.
The best way to address this is to have fixtures, fake data you use while developing or for automated testing of the website. However writing these...
Managing Pull Requests for the MongoDB PHP driver
London, UK
Monday, October 29th 2012, 09:22 GMT
The MongoDB PHP Driver is hosted as an Open Source project through GitHub. Everybody can check-out the repository and provide patches to this. In order to make things easier to manage, even Hannes, Jeremy and me, the maintainers of the extension will only merge code into it through patches.
To streamline the managing of those patches we are using GitHub's Pull Request (PR) system. Any time we fix a bug,...
I was initially a little unclear about how to connect my Lithium application to my MongoDB replica set while specifying multiple serves, I've settled with:
Connections::add('default', array('type' = 'MongoDb',
'host' = 'localhost:12345,washington.mongo:12345',
'replicaSet' = true,
'database' = 'wiu'));I'm listing multiple servers that form my replica set in the host field as a comma separated list. While you technically only need to list one (and the driver should discover the rest), it's a good idea...
Recent releases from the Packagist:sallycms/sallycms (0.7.2)
alexmace/xmpp (1.0.4)
alexshelkov/simpleacl (1.0.1, 1.0.0)
endroid/qrcode-bundle (v1.0)
elefant/app-analytics (1.0)
elefant/app-form (1.0)
elefant/app-installer (1.0)
elefant/theme-installer (1.0)
endroid/qrcode (v1.0)
bca/curl (2.1.1, 2.1.0, 2.0.1)
yohang/dependency-tools (1.0.1)
h4kuna/object-wrapper (v1.0.3)
As we've been extending the API for our site monitoring and diagnostic tool, Where's it Up, one of my key concerns was the single point of failure our Washington server represented. Luckily, MongoDB was explicitly designed to make this sort of thing easy.
For Where's it Up, we're planning on launching with two main servers in different data centres, one in Washington, the other in San Antonio. We've considered a few different approaches on the web side, and have decided initially to mark our Washington...
Recent releases from the Packagist:mjohnson/decoda-cakephp (5.0.0-beta)
hpcloud/hpcloud-php (1.1.0)
fightbulc/cirrus (1.0.0)
On PHPMaster.com today they've posted an introduction to the Law of Demeter, an idea that promotes loose coupling between objects that each do their own work. This makes it simpler to make pieces interchangeable and more able to focus on their job.With so many heuristics stating how and why software systems should cling to a specific approach, it's pretty disappointing not seeing a broader implementation of them in the world of PHP. For example, the Law of Demeter is probably one of the most underrated...
On the Smashing Magazine site there's a new article talking about coding style matters with developing projects with multiple people (or even possible contributors in the future) involved.Coding style is how your code looks, plain and simple. And by "your," I actually mean you, the person who is reading this article. Coding style is extremely personal and everyone has their own preferred style. You can discover your own personal style by looking back over code that you've written when you didn't have a...
On Monday of this week, Amazon's EC2 service suffered a major outage, which they call a€operformance issuesa€¯, which we all know is simply not true.
This is not a post about how Amazon has failed us. Everyone goes down. We use AWS because it's flexible, and we need the flexibility. This is a post about how Gimme Bar went down due to this outage, despite our intentions of making everything resilient to these types of failures. It is a post about how I accidentally misconfigured our MongoDB Replica Set...
Recent releases from the Packagist:rdlowrey/artax (v1.0.0-rc.7)
bear/sunday (0.5.3)
instaclick/php-webdriver (v1.0.8)
willdurand/email-reply-parser (0.0.2)
mjohnson/decoda (4.0.1, 4.0.0)
valorin/version (2.0.0-alpha)
mjohnson/utility (1.0.0)
treshugart/testes (1.0.2, 1.0.3)
mjohnson/type-converter (1.4.1)
mjohnson/statsburner (3.1.1)
mjohnson/resession (2.1.1)
mjohnson/packager (1.0.1)
mjohnson/numword (1.6.1)
mjohnson/gears (3.1.1)
mjohnson/formation (3.2.1)
mjohnson/databasic (2.6.1)...
Popular posts from PHPDeveloper.org for the past week:Mario Peshev: Over-Abstractionism
Sherif Ramadan: Test Drive PHP 5.5: A Sneak Peek
Chris Hartjes: PHPSpec and the New Wave of Testing
Pablo Viquez: PHP debugging with JMeter and Zend Debugger
Scott Mattocks: U is for Unit Tests
Community News: Make PHP-Based Android Applications with Zend Studio 10
Community News: Packagist Latest Releases for 10.19.2012
Reddit.com: Year Old Bug Request for $_PUT Interested in /r/php's Opinion
Voices of the ElePHPant...
My slides from Zendcon talking about full-stack Bottleneck Analysis are now available online and can be downloaded at:
http://ilia.ws/files/zendcon2012_bottlenecks.pdf
The PHP community has a new conference that's been announced - Sunshine PHP, a conference being held in South Florida during the first part of February (the 8th-9th) in 2012.With such a large PHP community in Florida it's about time someone organized a PHP developer conference here, so this is it! We will be hosting some of the best speakers, latest technology, and up to date news in the industry. So register now while space is still available, and if you are a speaker please submit your talks before the...
PHPMaster.com has posted the third part in their "Practical Code Refactoring" series - this time with a focus on Extensibility. (Part 1, Part 2).Extensible code is a piece of code which follows re-usable, logical, well-known patterns, be it standard design patterns, or normal logical flow. Modular code tends to be highly extensible and monolithic code tends to be non-extensible, but monolithic code might be more efficient, so to solve this conundrum some practices allow developing in a modular way and...
On the MaltBlue blog Matt Setter has a new post introducing you to using FilterIterators for data traversal:There's load of ways to traverse data, especially in PHP where there are a variety of loops available; including while, do while, for and foreach. These are fine for normal structures, such as scalar and associative arrays. But what if you want to get a bit more fancy?He includes a bit of code showing the typical looping approach that a lot of developers take and how, using a FilterIterator, you...
Recent releases from the Packagist:ehann/notification-bundle (1.0.2, 1.0.1, 1.0.0)
jojari/simple-linkedin-php (v3.2.0)
kamisama/cake-resque (2.2.1)
kevinsperrine/idiorm (v2.1.3)
kevinsperrine/paris (v2.0.2, v2.0.1)
aygon/jatun (1.0.0RC1)
igorw/file-serve-bundle (v1.0.2)
edps/edps (v0.0.2)
Here's what was popular in the PHP community one year ago today:PHPMaster.com: Introduction to MongoDB
ZendCasts.com: Building a JSON Endpoint with SLIM (Part 1)
Joshua Thijssen's Blog: LAMP-stack? Forget it! It's a LAMPGMVNMCSTRAH-stack now...
DZone.com: PHP 5.4 Will Have a Built-in Web Server
Justin Carmony's Blog: Setting Up Nginx & PHP-FPM on Ubuntu 10.04
Ken Guest's Blog: A new Openstreetmap API framework for PHP
Script-Tutorials.com: Creating a Smooth Curve Graphs with PHP and GD
CodeForest.net:...
My slides introducing the PHP Excel extension from the talk at ZendUncon are now available online and can be downloaded at: http://ilia.ws/files/zenduncon_phpexcel.pdf
|
|