Why do we have to bother about built-in GTID support in MySQL 5.6 at all? Sure, it is a tremendous step forward for a lazy primary copy system like MySQL Replication. Period. GTIDs make server-side failover easier (slides). And, load balancer, including PECL/mysqlnd_ms as an example of a driver integrated load balancer, can use them to provide session consistency. Please, see the slides. Buta€¦
MySQL 5.6 Global Transaction IDs - Use case: (session) consistency View more presentations on MySQL and...
Why do we have to bother about built-in GTID support in MySQL 5.6 at all? Sure, it is a tremendous step forward for a lazy primary copy system like MySQL Replication. Period. GTIDs make server-side failover easier (slides). And, load balancer, including PECL/mysqlnd_ms as an example of a driver integrated load balancer, can use them to provide session consistency. Please, see the slides. Buta€¦
MySQL 5.6 Global Transaction IDs - Use case: (session) consistency View more presentations on MySQL and...
On DZone.com there's a new post from Giorgio Sironi about using Composer to install packages/libraries:The main package source used by Composer seems more similar to the usage of git submodules at a first glance: a list of dependencies on other projects is specified and stored under version control, and upon a checkout these projects are grabbed directly from their repositories.He talks about what problem the project solves, what issues he's found with it so far (the amount of stuff downloaded for each...
On DZone.com there's a new post from Giorgio Sironi about using Composer to install packages/libraries:The main package source used by Composer seems more similar to the usage of git submodules at a first glance: a list of dependencies on other projects is specified and stored under version control, and upon a checkout these projects are grabbed directly from their repositories.He talks about what problem the project solves, what issues he's found with it so far (the amount of stuff downloaded for each...
Introduction
Lately we had several projects where we had to store in a database very different items that shared a common state.
As an example take the RocketLab website you are reading: Events and BlogPosts are aggregated in the LabLog list as if they were similar items. And indeed they all have a Title, a Date and a Description.
But if you get the detail page of an Event or a BlogPost you can see that they actually don't contain the same information: a BlogPost contains essentially formatted text when...
Introduction
Lately we had several projects where we had to store in a database very different items that shared a common state.
As an example take the RocketLab website you are reading: Events and BlogPosts are aggregated in the LabLog list as if they were similar items. And indeed they all have a Title, a Date and a Description.
But if you get the detail page of an Event or a BlogPost you can see that they actually don't contain the same information: a BlogPost contains essentially formatted text when...
Joshua Thijssen has a new series of posts to his blog about a new extension he's created for PHP that lets you stream music files to an IceCast server with only PHP.To continue our journey in pointless, but nevertheless fun things to create, I've created a simple PHP extension that allows you stream music data to an IceCast server in pure PHP. For this I'm using the libshout3 library which can stream both MP3 or OGG/Vorbis data to multiple stream servers (including IceCast, ShoutCast etc). In this...
Joshua Thijssen has a new series of posts to his blog about a new extension he's created for PHP that lets you stream music files to an IceCast server with only PHP.To continue our journey in pointless, but nevertheless fun things to create, I've created a simple PHP extension that allows you stream music data to an IceCast server in pure PHP. For this I'm using the libshout3 library which can stream both MP3 or OGG/Vorbis data to multiple stream servers (including IceCast, ShoutCast etc). In this...
I had the pleasure of discussing with fellow members of the PHP community a very sensitive topic: sexism in tech. I have been invited to a special episode of Voices of the ElePHPant with Elizabeth (Beth)A Tucker Long, Elizabeth (Liz) Naramore and Laura Thomson. Cal Evans was the host. The podcast's page features links for some of the topics discussed.
The purpose of this post is not to transcribe the podcast, but to share with you what I learned from this conversation and what I personally took away from...
I had the pleasure of discussing with fellow members of the PHP community a very sensitive topic: sexism in tech. I have been invited to a special episode of Voices of the ElePHPant with Elizabeth (Beth)A Tucker Long, Elizabeth (Liz) Naramore and Laura Thomson. Cal Evans was the host. The podcast's page features links for some of the topics discussed.
The purpose of this post is not to transcribe the podcast, but to share with you what I learned from this conversation and what I personally took away from...
Latest PECL Releases:
yaml 1.1.0RC2
doublemetaphone 1.0.0
stem 1.5.1
pecl_http 2.0.0dev9
taint 0.5.0
yaf 2.1.9
CUBRID 8.4.1.0003
Latest PECL Releases:
yaml 1.1.0RC2
doublemetaphone 1.0.0
stem 1.5.1
pecl_http 2.0.0dev9
taint 0.5.0
yaf 2.1.9
CUBRID 8.4.1.0003
Turning links like www.example.com and http://twitter.com into clickable links. Sounds like an easy task, right? We'll there are a few problems that might arise, especially if the text is already html formatted.
This function first takes out all potential dangers, by extracting links and tags and replacing them with a placeholder. It than extracts all URLs and replaces them with a placeholder, storing the full html link. At the end it replaces all placeholders with the links and tags.
This is also a...
Turning links like www.example.com and http://twitter.com into clickable links. Sounds like an easy task, right? We'll there are a few problems that might arise, especially if the text is already html formatted.
This function first takes out all potential dangers, by extracting links and tags and replacing them with a placeholder. It than extracts all URLs and replaces them with a placeholder, storing the full html link. At the end it replaces all placeholders with the links and tags.
This is also a...
Emran Hasan has posted an introduction to using the Mockery mocking tool with PHPUnit for a more powerful, easier to use object mocking system.A few days ago I was explaining mocking to a few colleagues. I came up with the following quick n dirty code to show them the elegance of Mockery as a mocking framework. The code is straight-forward: it checks the health of a server using a tiny heart beat script.He provides both sides of the code - a simple "heartbeat" script that just responds with a JSON...
Emran Hasan has posted an introduction to using the Mockery mocking tool with PHPUnit for a more powerful, easier to use object mocking system.A few days ago I was explaining mocking to a few colleagues. I came up with the following quick n dirty code to show them the elegance of Mockery as a mocking framework. The code is straight-forward: it checks the health of a server using a tiny heart beat script.He provides both sides of the code - a simple "heartbeat" script that just responds with a JSON...
The 7php.com blog has posted their latest interview with a member of the PHP community - Sebastian Marek (Software Architect at Plusnet)In this edition I talked with Sebastian Marek, who is Software Architect at Plusnet (@plusnet) which is a Sheffield-based ISP. He is passionate about Continuous Integration (CI), process automation and everything that concerns "high quality code". Sebastian is yet another faithful and helpful Knight of The PHP Community and has contributed much to some key projects as...
The 7php.com blog has posted their latest interview with a member of the PHP community - Sebastian Marek (Software Architect at Plusnet)In this edition I talked with Sebastian Marek, who is Software Architect at Plusnet (@plusnet) which is a Sheffield-based ISP. He is passionate about Continuous Integration (CI), process automation and everything that concerns "high quality code". Sebastian is yet another faithful and helpful Knight of The PHP Community and has contributed much to some key projects as...
In the latest episode of their "Cloud Out Loud" podcast series, Elizabeth Naramore (of Engine Yard/Orchestra.io) interviews Laura Beth Denker, and Anthropologist of Developer Culture at Etsy).They talk about one of Laura Beth's passions (software testing), what her role means there at Etsy, their "startup culture" and how they handle deployment and code reviews.You can listen to this latest episode either via the in-page playerdownloading the mp3 or by subscribing to their feed.
In the latest episode of their "Cloud Out Loud" podcast series, Elizabeth Naramore (of Engine Yard/Orchestra.io) interviews Laura Beth Denker, and Anthropologist of Developer Culture at Etsy).They talk about one of Laura Beth's passions (software testing), what her role means there at Etsy, their "startup culture" and how they handle deployment and code reviews.You can listen to this latest episode either via the in-page playerdownloading the mp3 or by subscribing to their feed.
|
Latest PHP Tweets
|