News Feed
Jobs Feed
Sections



Recent Jobs

News Archive
feed this:

PHPMaster.com:
Introduction to Git, Part 1
November 29, 2011 @ 09:44:10

If you haven't gotten a chance to try out git for your version control system, now's the perfect time. PHPMaster has an introduction to using git for a simple PHP project. It introduces you to some of the basics and gets you up to speed quickly.

Some of the more commonly used version control systems that you have likely heard about are CVS and Subversion. This tutorial will take a "forget everything you know about CVS or Subversion" approach. As someone who has used all three of these systems in the professional realm, I can testify that some knowledge of CVS or Subversion can be useful when approaching Git, but it is not necessary. The best way to learn Git is to start using Git for what Git is.

They break it up into a few different sections - why use git, how to create a new repository, adding/staging files for commit, viewing the project history and viewing diffs for different versions. This is the first part in a series, so keep tuned for future parts touching on branching, merging and working with remote repositories.

0 comments voice your opinion now!
introduction git versioncontrol distributed tutorial



Ibuildings techPortal:
DPC Radio Distributed Couch Apps - Embracing eventual consistency
November 21, 2011 @ 12:12:00

On the Ibuildings techPortal today they've posted the latest episode of their DPC Radio series of podcasts, recordings of sessions from this year's Dutch PHP Conference. In this new episode they share the presentation by Kore Nordmann "Distributed Couch Apps - Embracing eventual consistency".

CouchDB is a prominent representative of the NoSQL movement. Using its integrated web server and eventual consistent replication you can not only distribute data, but also full application code. This even works for clients which are not always connected to the internet, like e.g. mobile devices. This session gives you an insight Couch apps, their beauty and pitfalls.

You can either listen via the in-page player, by downloading the mp3 or by subscribing to their feed. You can find his slides over on talks.qafoo.com.

0 comments voice your opinion now!
podcast embracing distributed couchdb application dpc11 dpcradio


Community News:
PHP version control to move to git
September 08, 2011 @ 06:27:08

A little while back, the PHP development group posted a survey of developers asking them which version control system they'd like to see the PHP project use. By an overwhelming margin, git has won and things are already in motion to move parts of the project away from subversion.

In his mailing list post, David Soria Parra explains:

After 2 weeks of voting and discussion, I closed the votes today. The results are fairly straightforward. Most of the users want to move to a decentralized version control system. [...] I don't want to make a difference of who voted for what. I think the results are overwhelming in favor of Git.

He'll be working on the spec to make the move for the PHP source over to git and is planning a cut over some time in December. Stay tuned to the php.internals mailing list for more details about the move as they come up.

0 comments voice your opinion now!
git subversion svn move distributed version control


PHPBuilder.com:
Build Blazing Fast PHP Websites with Memcached Distributed Caching
July 29, 2011 @ 11:07:53

On PHPBuilder.com today Jason Gilmore has written up a new tutorial about using memcached distributed caching for better performance in your web applications.

You probably know one of the easiest ways to improve performance is by caching all or parts of a page. But what might not be so obvious is exactly how this is accomplished. As it happens, a great solution called Memcached makes it trivial to incorporate caching into your website with great effect. In fact, relied upon by some of the largest websites in the world, among them Facebook, Twitter, Zynga, and YouTube, Memcached has essentially become the de facto website caching solution!

He walks you through installing the memcache extension for PHP (from PECL) and includes a bit of sample code that caches some fetched MySQL results to to the memcache server. With the extension installed you're just a few simple function calls away from better performance.

0 comments voice your opinion now!
memcache memcached performance distributed cache tutorial


Ibuildings techPortal:
DPC11 Distributed Systems Tutorial
July 01, 2011 @ 10:47:05

In a new post to the Ibuildings techPortal today, Patrick van der Velden shares some of his thoughts about one of the presentations given at this year's Dutch PHP Conference - Think like an ant, distribute the workload.

[Helgi's] presentation started off explaining to us why distributing can be a good thing by pointing out three significant aspects: budget, efficiency and perception. Budget-wise, for a distributed application there is no need to invest in a big, expensive and hard to maintain server that runs the entire application by itself. A company can save a significant amount of money investing in a collection of smaller or virtual servers or even use "the cloud".

Patrick goes on to mention some of the other key points Helgi made about distributing the workload out from a point of user contact to other "workers", decoupling your application into functional pieces, designing for distributed computing from the start and making internal APIs between the sections of the application to make communication simpler. The slides of Helgi's presentation are also posted on Slideshare.

0 comments voice your opinion now!
dpc11 distributed systems tutorial dutchphpconference


Developer.com:
Getting Started with Memcached Distributed Memory Caching
September 02, 2010 @ 09:40:02

On Developer.com today there's a new article talking about memcache and how you can implement it in your application to provide a performance boost for applications in a distributed environment.

As distributed system is part of the Memcached definition, you can install Memcached on various servers to make a larger caching server. In this way, Memcached helps reduce database loads to a minimum, resulting in faster and more responsive Web applications

They take some time to explain what memcache is - a simple to use caching system that reduces the dependency on other data sources - and how to get it installed (via the package manager of your choice). They suggest times on when and when not to use it as well as some of the security implications you'll need to worry about when implementing it. There's also a bit of sample code to help you get started in your application. You'll need the memcached extension to make it all work, though.

0 comments voice your opinion now!
memcache distributed caching tutorial memcached


Ibuildings techPortal:
All the Little Pieces Distributed systems with PHP
March 30, 2010 @ 10:21:57

The Ibuildings techPortal has published the latest episode in their Dutch PHP Conference series of recordings - Andrei Zmievski's talk All the Little Pieces: Distributed systems with PHP.

Quick, what do memcache, MogileFS, and Gearman have in common? They are scalable, distributed technologies, and they can also interface with PHP, your ubiquitous Web development language. Digg uses all 3 (and a few more) in its quest for social news domination, and this session will share much of what we've learned about them and how they are best utilized with PHP.

You can either listen to this latest episode on the in-page player or you can download it directly. If you'd like to follow along with the slides, you can find them here.

0 comments voice your opinion now!
andreizmievski dpc09 distributed systems


PHPClasses.org Blog:
Distributing PHP processing with Gearman
November 23, 2009 @ 12:58:10

On the PHPClasses blog there's a new post looking at using the Gearman framework with PHP via a PECL extension.

Gearman is a generic framework to distribute processing jobs to separate processes in the same machine or other machines in a cluster. It allows your application to perform tasks in parallel, balance the processing load, and even invoke code written in other languages. The "Gearman" word is an anagram of "manager". Its purpose is solely to dispatch jobs that need to be executed, but Gearman just by itself does not do anything useful.

In his example he sets up a simple "Hello World" processing queue including the command line to start up the Gearman server and the PHP you'll need to push in a request, grab the status and see the percentage of it that's been completed.

0 comments voice your opinion now!
distributed processing gearman


Sebastian Bergmann's Blog:
Distributed Testing with PHPUnit 3.1
February 22, 2007 @ 12:14:00

In his latest post, Sebastian Bergmann spotlights another new feature of the upcoming PHPUnit release - distributed testing.

One of the new features in the upcoming PHPUnit 3.1 release is the support for distributed testing through the ability to log test result and code coverage data to a database. This way, the same test suite can be run on different platforms with the results being aggregated in the database. For this to work, however, we need a key in the database that identifies test runs from different machines as being related. A Subversion revision number is a perfect candidate for this.

He includes a sample script that helps with the storage of the results in the database by grabbing a unique id for the machine pushing the updates in.

0 comments voice your opinion now!
phpunit distributed testing unittest subversion checkout unique database phpunit distributed testing unittest subversion checkout unique database



Community Events





Don't see your event here?
Let us know!


unittest test manifesto custom phpunit application release language introduction community interview series api package development opinion conference framework symfony2 podcast

All content copyright, 2012 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework