|
Sponsored Link
|
MySQL 5.6 Global Transaction Identifier - Use case: Failover
View more presentations on PHP and MySQL
The long lasting MySQL replication failover issue is cured. MySQL 5.6 makes master failover easy, PECL/mysqlnd_ms assists with the client/connection failover. Compared to the past this is a significant step ...
Latest PECL Releases:
yaml 1.1.0RC1
svm 0.1.6
yaf 2.1.8
PDO_IBM 1.3.3
PDO_INFORMIX 1.2.7
ibm_db2 1.9.3
vld 0.11.1
mailparse 2.1.6
pecl_http 2.0.0dev7
spidermonkey 0.2.0
pecl_http 1.7.3
gearman 1.0.2
On Monday 19th March I'll be speaking at PHP Leeds. The topic is all things git and github; as an open source project lead I see lots of very capable programmers taking their first steps with github. In this session we'll talk about how you can use these tools to contribute to open source (or your own projects, of course), covering both "what to click in the web interface" and "what to type at the command line" for git and github respectively. Come along if you want to know more about git, open source,...
(Photo credit: bertboerland)
In recent weeks, I consulted with the second most intelligent species on the planet: Dolphins. Dolphins are renowned across the known Universe for their awesome programming skills. After all, it was they who developed such insightful works as a€oEvolution By Examplea€¯, a€oDude! We Wrote The Laws Of Physics!a€¯, and a€oHow Many Humans Does It Take To Screw Up A Planet?a€¯. The answer to the last will be published on 01/01/2013 after the experiment is shut down and sent to a...
Freek Lijten has a new post to his blog - a review of a book (from Freeman & Price) called "Growing Object-Oriented Software Guided by Tests". It's based on Java, but the ideas presented can be applied pretty universally.It may seem strange but I'd like to start out with giving my opinion on this book: It is brilliant! If you don't like reading my post you at least know what you should do next: buy the friggin' book. The book offers some theory concerning agile development, (unit-)testing and code...
On PHPMaster.com today there's a new tutorial showing how to do some form validation using some basic PHP (no external libraries or tools here). This is a beginner level tutorial to help you get familiar with the concepts behind doing validation (andIn this article you'll construct and validate a simple form using HTML and PHP. The form is created using HTML and validation and processing of the form's contents is done with PHP. The goal is to teach you some basic HTML form elements and how their data is...
In this new post Ralph Schindler takes a look at the Prototype design pattern and uses it to illustrate some best practices in using constructors in PHP.If your knowledge of constructors ends with "the place where I put my object initialization code," read on. While this is mostly what a constructor is, the way a developer crafts their class constructor greatly impacts the initial API of a particular class/object; which ultimately affects usability and extensibility. After all, the constructor is the...
Following on the heels of the beta 3 release of the Zend Framework 2, Rob Allen has been posting more about its features and what's changed from the version 1 world. In this new post he looks at some examples of how to use the newly refactored ZendView component.With the release of Beta 3 of Zend Framework, we now have a significantly refactored the ZendView component. One of the changes made is that there is a ViewModel object that is returned from a controller which contains the variables to be used...
As a PHP developer, I find myself referencing PHP's source code more and more in my normal everyday work. A It's been very useful in everything from understanding what's happening behind the scenes to figuring out weird edge-cases to see why something that should be working isn't. A And it's also very useful in the cases when the documentation is either missing, incomplete or wrong. A So, I've decided to share what I've learned in a series of posts designed to give PHP developers enough knowledge to...
As a part of moving on to a new job and a shift in perspectives, Chris Hartjes has decided to write up a manifesto about testing, a big focus in his development life:With the new position comes more of the stuff I am really passionate about: testing and automation. Which also got me to thinking about the reasons why I am so passionate about these things. I thought I would create my own little testing mini-manifesto here. The ideas my podcasting partner did with his MicroPHP Manifesto made me realize that...
In his most recent blog post Michael Nitschinger introduces you to Couchbase, a document-oriented database, and how to use it with PHP.As there were a lot of merges, renamings and releases, it was pretty hard to follow up with the current/best database version and SDK to use for your project. Now as the dust has settled a bit, here's what I've come up with: Couchbase 2.0 will be the next major version and is already pretty stable, so I'll jump straight onto it and skip 1.8.He recommends using the...
Latest PEAR Releases:
HTML_Template_PHPLIB 1.5.2
Net_Growl 2.5.2
Services_Libravatar 0.1.0
In one of his talks at QCon, John Allspaw mentioned using Holt-Winter exponential smoothing on various monitoring instances. Wikipedia has a good entry on the subject, of course, but the basic idea is to take a noisy/spikey time series and smooth it out, so that unexpected changes will stand out even more. That's often initially done by taking a moving average, so say averaging the last 7 days of data and using that as the current day's value. More complicated schemes weight that average, so that the...
Anthony Ferrara has a new post today looking at plugin handling and a few of the more common design patterns that can be used to implement them in your applications.A common problem that developers face when building applications is how to allow the application to be "plug-able" at runtime. Meaning, to allow non-core code to modify the way an application is processed at runtime. There are a lot of different ways that this can be done, and lots of examples of it in real life. Over a year ago, I wrote a...
Kevin Schroeder has a new post to his blog about some of his first trials with the DI container that comes with the Zend Framework 2.With beta 3 now being released I have started to spend some time getting used to the new MVC components and the architecture in general. I turns out that was too much. When I learn something new I like to start with something broken and fix it. [...] So since I already know how to use event managers the next most basic thing I needed to understand was Dependency Injection....
On the Smashing Magazine site there's a recent post looking at how to unit test WordPress plugins via the frontend using QUnit (part of the jQuery project).My first goal for the WordPress Editorial Calendar was to make it do anything useful. I was new to JavaScript and PHP and didn't really know what I could pull off. In a few days I had a proof of concept. In a few more I had a working version and was asking friends to install it. The calendar worked...sort of. I spent three times as much time fixing...
Hari K T has a new post to his blog that shares his concern about a "design flaw" in the component/package methods promoted by Symfony2 and Zend Framework 2:Looking from outside both Symfony2 and ZF2 is full of standalone components. But the reality is not the same. Though Symfony2 components are split into each components in github, you cannot give a pull request to that component. The tests for all the components still resides in the core.He points to the Aura framework project as a good example of how...
|
|