Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Revamp, Rebuild, Redo, Re-Everything (and a Site Crash)
Feb 11, 2010 @ 14:19:27

Jayson Maynard (recently taking over as the Editor-in-Chief of the Zend Developer Zone) has resolved to make the resource into a better place for PHP developers to find both the introductory content and information on more advanced topics. He talks about it in a recent post:

We will be rebuilding ZDZ from the ground up and in full public view of the community -- to act as a learning experience and a showcase for PHP best practices. [...] And the best way for it to be a showcase is for us to make all of the process of working on the infrastructure completely transparent; to make the artifacts (code, scripts, configuration, machine images) readily available and to allow contributions from the community.

There's some more specific topics he mentions that the site will cover including new features on articles and community interaction, a new infrastructure and new processes including things like Agile development, testing and deployment. In one of his first steps to better the site, however, he learned a lesson the hard way when he tried to upgrade a package and it brought the site to a grinding halt.

tagged: rebuild bestpractices community openprocess

Link:

Graham Christensen's Blog:
Sane Pre-Commit Hooks for Symfony + Git
Aug 25, 2009 @ 18:49:16

Symfony users will want to check out this pre-commit hook for git from Graham Christensen that can help you keep your sanity in place by rebuilding some of the essentials when a commit is made.

Throughout my history of working with Symfony, I've noticed a trend that I'll make a minor edit in a database configuration file, forget to actually regenerate the models and forms, commit the edit, and then find several days later (when I do want to regenerate the models) that they're breaking. I then do this little dance of going through the history finding out where exactly I went wrong.

To remedy the situation he came up with a pre-commit hook that does the following:

  • rebuilds SQL from schemas
  • rebuilds models
  • rebuilds forms
  • rebuilds filters
  • inserts sample SQL data
  • loads all data from the fixture files

Full example code for the hook is included in the post.

tagged: symfony framework precommit hook rebuild

Link:

Andy Jeffries' Blog:
Rebuilding a site from Symfony to Rails
Nov 07, 2008 @ 14:47:20

In a recent entry to his blog Andy Jeffries gives an overview of his site's transition over from one framework to another - away from Symfony and over to Rails.

I decided as I was learning/using Symfony at my contract at the time that it would be a good experiment to write it in Symfony. [...] The site did fairly well when I posted but I still posted in frequently.

After redefining the site's purpose a bit, he reconsidered the language (and framework) choice and decided to do a rewrite in Rails. He gives a comparison of the process on things like lines of code, time to build, performance differences, deployment and automated testing.

tagged: symfony rails rebuild overview compare framework

Link:

Greg Beaver's Blog:
pear.chiaraquartet.net Completely Erased
Apr 10, 2006 @ 12:02:07

Some unfortunate news today - Greg Beaver, maintainer of the pear.chiaraquartet.net PEAR channel server has fallen on some bad luck. Some how, the entire database for it was wiped out and Greg can't quite figure out when/how.

Somehow, I managed to erase the entirety of pear.chiaraquartet.net's database, although I have no idea how or when. In other words, all developers, release history, packages were wiped. Needless to say, I am a wee bit pissed off. Until I can find a decent backup, I will reconstruct the entire thing from scratch.

If you have any information that would help him rebuild this resource, please let him know - I know he'll appreciate it.

tagged: pear.chiaraquartet.net completely erased rebuild scratch pear.chiaraquartet.net completely erased rebuild scratch

Link:

Greg Beaver's Blog:
pear.chiaraquartet.net Completely Erased
Apr 10, 2006 @ 12:02:07

Some unfortunate news today - Greg Beaver, maintainer of the pear.chiaraquartet.net PEAR channel server has fallen on some bad luck. Some how, the entire database for it was wiped out and Greg can't quite figure out when/how.

Somehow, I managed to erase the entirety of pear.chiaraquartet.net's database, although I have no idea how or when. In other words, all developers, release history, packages were wiped. Needless to say, I am a wee bit pissed off. Until I can find a decent backup, I will reconstruct the entire thing from scratch.

If you have any information that would help him rebuild this resource, please let him know - I know he'll appreciate it.

tagged: pear.chiaraquartet.net completely erased rebuild scratch pear.chiaraquartet.net completely erased rebuild scratch

Link:

Zend Developer Zone:
(Re)building the PHP Documentation at Wikibooks.org
Apr 06, 2006 @ 12:01:36

Brett Zamir has some suggestions for the PHP documentation group in his new post on the Zend Developer Network.

The folks working on the official PHP Documentation have done a marvellous job in providing a mostly easy to follow documentation, with good examples. However, as with anything, there can still be some improvement. I see two shortcomings and these have to do with structure rather than content, and I think the community can help solve them.

There's two things he suggests can be done to help refine the documentation process, including a move into a more wiki-style environment (with the content under a fully open license). Specifically, he suggests making a move to Wikibooks to encourage more participation from the PHP community.

tagged: rebuild documentation wikibooks.org open license participation rebuild documentation wikibooks.org open license participation

Link:

Zend Developer Zone:
(Re)building the PHP Documentation at Wikibooks.org
Apr 06, 2006 @ 12:01:36

Brett Zamir has some suggestions for the PHP documentation group in his new post on the Zend Developer Network.

The folks working on the official PHP Documentation have done a marvellous job in providing a mostly easy to follow documentation, with good examples. However, as with anything, there can still be some improvement. I see two shortcomings and these have to do with structure rather than content, and I think the community can help solve them.

There's two things he suggests can be done to help refine the documentation process, including a move into a more wiki-style environment (with the content under a fully open license). Specifically, he suggests making a move to Wikibooks to encourage more participation from the PHP community.

tagged: rebuild documentation wikibooks.org open license participation rebuild documentation wikibooks.org open license participation

Link:


Trending Topics: