Thursday, 31 July 2008Client side migration from CVS to SVN
Migration from CVS to SVN is often described on the repository server side only. When migrating you would normally delete your CVS working copies and check out a fresh one from SVN. However in case of a live website you may not want to reinstall the entire working copy (including locally changed configuration files and unversioned files). Reinstalling the website may cost time, increase server load and cause website downtime.
To overcome this problem you can convert the working copy from a CVS working copy to an SVN working copy, by replacing the CVS meta data with SVN meta data directories in your working copy: Ga door met lezen van "Client side migration from CVS to SVN" Tuesday, 29 July 2008Symfony 1.1
The official stable release of symfony 1.1 is now nearly a month old, and response so far has been fairly positive. This is not surprising, as this new version adds a lot of flexibility to the already flexible system that symfony offered. Let's have a look at symfony 1.1, and specifically to the points that I feel are especially exciting in this new release.
Ga door met lezen van "Symfony 1.1" Sunday, 27 July 2008Dependency Injection and Zend Framework ControllersAmong the standard object oriented principles is favouring composition over inheritance, and there are plenty of design patterns that work along this line. However, one of the most useful day-to-day facets of the idea doesn't seem to get a lot of attention from PHP developers, namely dependency injection. The general idea is, that if your class depends on some other object, that object should be passed in rather than generated internally or retrieved via a global variable or singleton. Ga door met lezen van "Dependency Injection and Zend Framework Controllers"
Geplaatst door Ian Barber
in planetphp
op
17:02
| Reacties (8)
| Trackbacks (2)
Tags voor deze bijdrage: dependency injection, design patterns, framework, mvc, use at will, zend framework
Thursday, 24 July 2008My little cron Bash framework (locking and logging)
Occasionally, I have a maintenance task for one of my programs: something has to be done in the background every so often.
From rsyncing content between servers to importing data received from external parties into my application. Most of the products we make run on Linux servers, so I use cron to make scripts run every x amount of minutes/hours/days/etc. With most of these small scripts I want the following:
Ga door met lezen van "My little cron Bash framework (locking and logging)"
Geplaatst door Boy Baukema
op
10:21
| Reacties (6)
Tags voor deze bijdrage: bash, framework, linux, locking, logging, maintenance, open source, scripting, shell
Monday, 21 July 2008About Open Source software projects
I have been involved in several Open Source projects, some of which have been successful and some... less successful. I really enjoy starting new projects but absolutely hate maintaining and documenting the old ones, to the extent that someone even implied that I am allergic to documentation.
There are a few ingredients that make a project successful, the most important being a good idea. An idea can be a tool or a library that you need and think others might find useful; a new technology innovation; or something you think you could implement better than the existing tools. Extra care has to be taken if you decide to create a new tool to replace an old one. In most cases, these projects end up reinventing the wheel without any added value. A wheel is wheel, right? But of course there are exceptions. One of these exceptions is Magento [1]. It's an e-commerce tool in PHP that does things differently: PHP5 only, uses a framework (ZF) and the code is nice and clean. A good implementation makes it easier to attract skilled developers to contribute to the project and to build a community around it. Ga door met lezen van "About Open Source software projects" Thursday, 17 July 2008Wow, this is so cool! This week it was finally delivered and I had the honor to receive the first copy of the book in our office. I'm talking about php|architect's "Guide to Enterprise PHP Development" written by my dear colleague Ivo Jansch. Last year he confided in me, said he wanted to write a book. And he actually did, within the year, 275 pages describing the complete development life cycle. For each phase in the development cycle, Ivo describes the common pitfalls, ways to get around them and tools others use to keep things running smoothly. Because Ivo covers the whole development cycle there should be interesting pieces for every software developing company. You can find more information about the book on the book's official website. And find out what others think about this book here and here. Tuesday, 8 July 2008T minus one
It's July the 8th.
Today I realized that we're exactly one month away from 8-8-8, the final blow to PHP4. Last december, the community already stopped support for PHP4, but until the 8th of August, at least security fixes would still be done. If nothing has changed in the meantime, and I didn't read any evidence to the contrary, in 31 days from now,security fixes will no longer be provided for PHP4. Ga door met lezen van "T minus one"
(Pagina 1 van 1, totaal 7 artikelen)
|
Blog
This week it was finally delivered and I had the honor to receive the first copy of the book in our office. I'm talking about php|architect's "Guide to Enterprise PHP Development" written by my dear colleague Ivo Jansch. Last year he confided in me, said he wanted to write a book. And he actually did, within the year, 275 pages describing the complete development life cycle. For each phase in the development cycle, Ivo describes the common pitfalls, ways to get around them and tools others use to keep things running smoothly. Because Ivo covers the whole development cycle there should be interesting pieces for every software developing company. 