 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Lukas Smith's Blog: PHP adopting branching kicking and screaming
by Chris Cornutt February 12, 2010 @ 14:56:17
In a new post from Lukas Smith's blog he talks about the project's move to Subversion and away from CVS and how that's affected the language's development in a very positive way.
I remember that back when I was co-RM for PHP 5.3 one of the very painful parts was the crying and moaning about the commit freezes we put into place while packaging up a new release. The reason being we were on CVS, if people kept committing while a release was being tested it would effectively prevent any sort of QA.
Because of problems like this (and many others), the group decided to drop CVS for their development and head to the brighter land of Subversion. So, instead of having days when no commits are allowed, correct branching and testing make it much easier to develop one of the web's most popular languages.
The change came with some new branching techniques and some of the developers in the group aren't as happy about how they're handled. Some new tools have been developed to help minimize the risks that these methods could cause, though, including this site.
voice your opinion now!
cvs subversion branching opinion
Matthew Turland's Blog: Building PHP 5.3.0 with Tidy Support
by Chris Cornutt July 22, 2009 @ 08:34:27
Matthew Turland has posted a guide to compiling PHP with the Tidy extension (a tool to clean and repair HTML documents through direct manipulation).
I dug around a bit, but most resources I came across on Google were about using the tidy extension for PHP rather than doing a custom build of PHP that included the tidy extension. Once I figured the details out, I thought I'd share. They admittedly seemed somewhat obvious after the fact, though also were not communicated as explicitly as I would have liked anywhere that I could see.
TO use his method you'll need to have CVS working (either on a server or, like he did, a local machine) and be able to grab the latest PHP 5.3.x and tidy extension versions. When you do the compile for PHP, all you need to do is point it at the CVS checkout of tidy and you should be all set.
voice your opinion now!
checkout cvs compile tidy
PHP.net: Subversion Migration Complete
by Chris Cornutt July 17, 2009 @ 07:53:07
The PHP project has been making a major change lately - an upgrade of their version control system of choice from CVS to Subversion. They started the move the other day and now, according to this new post on the PHP.net website, the process has been completed.
The migration from CVS to Subversion is complete. The web interface is at svn.php.net. You can read about it at php.net/svn.php, wiki.php.net/vcs/svnfaq. The URL to feed to your svn client is http://svn.php.net/repository. There is also a github mirror. Please use that instead of trying to do a full git clone from the svn repository. See the instructions at wiki.php.net/vcs/svnfaq#git.
The instructions contain complete information on how to get and compile this "bleeding edge" (and what libraries you might need to install to get it up and working).
voice your opinion now!
github subversion migrate cvs
Kevin van Zonneveld's Blog: 7 Steps to better PEAR documentation
by Chris Cornutt February 23, 2009 @ 11:11:55
Kevin van Zonneveld has posted seven steps that you can follow to help the documentation for your PEAR class come out better and be more useful in the end.
If you've written a PEAR package, it's probably a good idea to submit some end user documentation. Here's how to do it.
He explains what it is (XML in CVS, easily convertible with phpd) and how the process flows - save the current docs, add your own, build locally and submit to CVS. Here's his tips to help things go smoothly/turn out better:
- Gather the prerequisites
- Save current documentation
- Try building the docs
- Write your own XML docs
- ReBuild peardoc
- Commit your XML
- (There is no seventh step - you're done!)
voice your opinion now!
better pear documentation steps xml cvs phpd build submit package
Elizabeth Smith's Blog: Setting up PhD on Windows
by Chris Cornutt February 23, 2009 @ 08:45:23
In this new post to her blog Elizabeth Smith takes a look at something easy you can do to help out the PHP project without ever writing a line of C code - helping the Documentation project. How, you ask? Well, if you're working with Windows, this is your lucky day. Elizabeth uses the rest of the post to show you how to install PHP, grab the phpdoc XML files from CVS and get PhD up and running.
So, you've decided you want to help out - where do you start? Before you can edit a file or document an extension you need to be able to build the manual to check your changes. So you need a working install of PhD. In order to accomplish this goal you'll need three things installed and configured, which is what this article is intended to help with.
You might need to grab a few other things (like the Microsoft 2008 C++ runtime or a QA build of PHP 5.3) to get things running, but her guide - complete with screenshots - walks you through every step of the way. For those that are a bit more experienced with working with Windows & PHP, you might find the five minute install a bit faster.
voice your opinion now!
windows phd documentation cvs php5 install screenshot
Chuck Burgess' Blog: Configuring Builds for PEAR Packages in phpUnderControl
by Chris Cornutt February 09, 2009 @ 12:06:01
Chuck Burgess has posted a guide for developers out there wanting to get their PEAR packages working with phpUnderControl for builds.
there were some things that I had to discover via trial-and-error with regard to the build files, though possibly they are covered in other pUC docs that I didn't check. The "Getting Started" build example is based on a project sandbox pulling code from a Subversion repository, whereas all my PEAR code comes from CVS.
He talks about his config.xml file (how it turned out that the basic one was all he really needed) and configuring the build.xml to run the tests from the correct location. He also mentions some future ideas like making the builds run the install/upgrade commands before running the tests.
voice your opinion now!
phpundercontrol pear package subversion cvs configxml buildxml
Daniel Cousineau's Blog: Outputting CSV as a Downloadable File in PHP
by Chris Cornutt October 13, 2008 @ 07:56:59
In a recent post to his blog Daniel Cousineau shows a method for correctly outputting CSV data in push down to the client browser as a method of export.
Nearly every application you could write in for the business sphere in PHP probably requires some sort of data export, most likely in the CSV format. The easiest way to provide a downloadable file is by altering the headers and echo'ing the file content.
His method sets the headers for the CSV file type then pushes the content out (contained in an array) via the fputcsv function. He wraps it all in a function near the end for simple cut and paste.
voice your opinion now!
output cvs data download fputcsv header
Jacques Marneweck's Blog: Grab PEAR via CVS is you need it
by Chris Cornutt August 04, 2008 @ 09:34:40
Jacques Marneweck has a quick reminder for those trying to get the latest PEAR installer - you can always get it from CVS.
Quick note that the PEAR installer is missing (go-pear.org has expired and has been snapped up by some cybersquatters) and http://pear.php.net/go-pear renders a 404. So the current solution is to grab the go-pear install from CVS.
A quick curl call to a url on the cvs.php.net site (in the /pearweb directory) is all it takes to grab the latest. The page it's pulling is the source for the go-pear.php installer that can be run either from a web browser or from the command line (with a PHP binary).
voice your opinion now!
pear cvs gopear installer curl pearweb
Ken Guest's Blog: Book review PHP Objects, Patterns and Practice (second edition)
by Chris Cornutt June 04, 2008 @ 07:58:39
Ken Guest has posted a review of yet another PHP-related book from APress publishing, "PHP Objects, Patterns and Practice (Second Edition)".
While being an easy read, this is a well written, serious book and is aimed squarely at enterprise-level developers and software engineers who make their living through the development and architecture of solutions developed in PHP.
He breaks down the book into the three sections its title mentions - working with objects, design patterns and a healthy dose of PEAR, phpDocumentor, PHPUnit, CVS and phing.
voice your opinion now!
book review apress object pattern pear phpdocumentor cvs phpunit phing
|
Community Events
Don't see your event here? Let us know!
|