mrdavidlaing / pressupbox-development-boilerplate

Patterns and practices for teams to collaborating on WordPress projects
Other
1 stars 5 forks source link

Integrate WordPhing #10

Closed mrdavidlaing closed 11 years ago

mrdavidlaing commented 11 years ago

Not sure about the technology, but some of the targets look good - https://github.com/wycks/WordPhing

Minify Documents Coe standards

daithi-coombes commented 11 years ago

... also install, setup db and import the test data #9 def worth an investigation

daithi-coombes commented 11 years ago

... assigning the investigation to myself if nobody objects

mrdavidlaing commented 11 years ago

The investigation is all yours.

Comparing Phing to Grunt to Rake -> Phing, IMHO Phing definately has the worst syntax by a long shot. With that in mind I recon we should be pulling the targets from WordPhing that work for us, but NOT moving to use Phing.

sopel commented 11 years ago

I strongly agree with @mrdavidlaing's advise to not move to Phing - similarly to the Grunt vs. Rake or else topic just discussed elsewhere, Phing is basically the PHP community rewrite of Ant:

sopel commented 11 years ago

To be fair, and as an example for the scenario where using Phing might be appropriate:

By chance I just realized that the build.xml file in use within the excellently engineered AWS SDK for PHP 2, which I considered to be Ant based at first glance a couple of days ago, is in fact Phing based - this nicely shows that I could use my Ant knowledge right away, yet gain easy access to Phing specifics, e.g. for installing dev tools, driving testing, and producing .phar files, so for a strictly PHP only project there are notable gains eventually these days.

daithi-coombes commented 11 years ago

@mrdavidlaing @sopel wont' be able to do a pull request here because i'll be working inside the vm, but just for interest one of the things I'll be phing'ing is the test database, sql dump of which is here: https://github.com/mrdavidlaing/pressupbox-development-boilerplate/blob/test-database/wordpress.sample.sql from issue #4

For this reason I'll be using the test-database branch for commits on using phing, wordphing: https://github.com/mrdavidlaing/pressupbox-development-boilerplate/tree/test-database

daithi-coombes commented 11 years ago

@mrdavidlaing @sopel

cleaning up my old issues. There is one item in word-phing that we may be able to use "phing wp-doc" Runs PHP Documentor 2 - this might help #22 (Integrate automated testing). If all agree think this issue should be closed. Outside of that think wordphing might be dead as a discussion so moving the mention over to issue #22

mrdavidlaing commented 11 years ago

Agreed.