PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 1841 to 1860 of 6889

Slides: MySQL 5.6 Global Transaction Identifier and PECL/mysqlnd_ms for session consistency

Slides: MySQL 5.6 Global Transaction Identifier and PECL/mysqlnd_ms for session consistency
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...

Slides: MySQL 5.6 Global Transaction Identifier and PECL/mysqlnd_ms for session consistency

Slides: MySQL 5.6 Global Transaction Identifier and PECL/mysqlnd_ms for session consistency
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...

DZone.com: Including PHP libraries via Composer

DZone.com: Including PHP libraries via Composer
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...

DZone.com: Including PHP libraries via Composer

DZone.com: Including PHP libraries via Composer
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...

Table Inheritance with Doctrine

Table Inheritance with Doctrine
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...

Table Inheritance with Doctrine

Table Inheritance with Doctrine
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's Blog: PHPShout : a shoutcast streamer in PHP

Joshua Thijssen's Blog: PHPShout : a shoutcast streamer in PHP
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's Blog: PHPShout : a shoutcast streamer in PHP

Joshua Thijssen's Blog: PHPShout : a shoutcast streamer in PHP
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...

Podcast About Sexism in Tech: What I Learned

Podcast About Sexism in Tech: What I Learned
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)ATucker 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...

Podcast About Sexism in Tech: What I Learned

Podcast About Sexism in Tech: What I Learned
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)ATucker 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...

Community News: Latest PECL Releases for 03.27.2012

Community News: Latest PECL Releases for 03.27.2012
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

Community News: Latest PECL Releases for 03.27.2012

Community News: Latest PECL Releases for 03.27.2012
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

Linkify: turning URLs into clickable links in PHP

Linkify: turning URLs into clickable links in PHP
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...

Linkify: turning URLs into clickable links in PHP

Linkify: turning URLs into clickable links in PHP
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's Blog: Using Mockery as a mocking framework with PHPUnit

Emran Hasan's Blog: Using Mockery as a mocking framework with PHPUnit
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's Blog: Using Mockery as a mocking framework with PHPUnit

Emran Hasan's Blog: Using Mockery as a mocking framework with PHPUnit
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...

7php.com: Interview with Sebastian Marek, Software Architect at Plusnet

7php.com: Interview with Sebastian Marek, Software Architect at Plusnet
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...

7php.com: Interview with Sebastian Marek, Software Architect at Plusnet

7php.com: Interview with Sebastian Marek, Software Architect at Plusnet
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...

Engine Yard: Cloud Out Loud Podcast - S02E11: Laura Beth Denker

Engine Yard: Cloud Out Loud Podcast - S02E11: Laura Beth Denker
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.

Engine Yard: Cloud Out Loud Podcast - S02E11: Laura Beth Denker

Engine Yard: Cloud Out Loud Podcast - S02E11: Laura Beth Denker
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