 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Wojciech Sznapka's Blog: Deploying Symfony2 applications with Ant
by Chris Cornutt April 23, 2012 @ 10:54:04
In this new post Wojciech Sznapka shows you how to can set up an Apache Ant deployment for a basic Symfony2 application - including installation of vendor packages and assets.
When you have plenty of Symfony2 applications and you need to deploy them from time to time, you are probably sick of thinking about every activity you need to do for every deploy. Often people use some build scripts, which are hard to maintain and tends to be unreadable. I wanted to automate it as much as it possible and I've choosen Ant, to help me out.
An example build.xml file is included in the post that shows how to:
- Pull the current code from git
- Install vendor packages
- Fix permissions for the log and cache directories
- Clean up the cache
- Dump/install any additional assets
voice your opinion now!
symfony2 application deployment apache ant
PHPMaster.com: Continuous Integration (with Jenkins), Part 2
by Chris Cornutt April 02, 2012 @ 08:18:49
Following up from his previous post about setting up PHP with Jenkins, J Armando Jeronymo is back with part two of the series - setting up an example project to show how the pieces fit together.
In the first part of this article I presented the case for Continuous Integration. Now we'll install and set Jenkins up to monitor the automatic building of a simple demonstration PHP application. We'll begin with the demo project, then address Jenkins' installation, and finally set it up and watch it running.
He includes a sample project structure, complete with a PHP class and its tests. He shows how to manually run things first (so you'll know what the commands do), the contents of the class/tests and the example Ant configuration file. He's also included screenshots of the Jenkins interface, showing how to create a build, add a new step and let the build run to evaluate the results.
voice your opinion now!
tutorial jenkins continuous integration phpunit unittest ant build
Sebastian Bergmann's Blog: PHP Project Wizard
by Chris Cornutt February 07, 2011 @ 10:35:06
In this new post to his blog Sebastian Bergmann mentions yet another new tool he's released - the PHP Project Wizard, a tool that helps with the creation of configuration files for setting up project build automation.
The PHP Project Wizard (PPW) is a commandline tool that can be used to generate the scripts and configuration files necessary for the build automation of a PHP project. Given the location of a project's directories with sourcecode and tests as well as the project's name, the PHP Project Wizard generates scripts and configuration files necessary for build automation using Apache Ant.
An example of its use is included - a simple call to the shell script with information about the source, tests and project directories. It then generates the XML files for Ant and PHPUunit to run. The result can then be used in the Jenkins jobs for PHP setup seamlessly.
voice your opinion now!
project wizard jenkins apache ant automatic build
Pavel Shevaev's Blog: taskman yet another Ant alternative
by Chris Cornutt October 14, 2010 @ 09:56:39
Pavel Shevaev has put together what he calls "yet another Ant alternative" - a tool written in PHP to create project related tasks in a style that matches the Ant and rake methods.
There is a lib-taskman project on the google code hosting where you can find the full documentation, sources and latest releases. It's probably not that elegant as rake but if you want to stick to PHP and have Ant-alike functionality without any XML programming then taskman may turn out to be handy. taskman is very simple to use, it requires only one include, all its code resides in one PHP file, and it has no external dependencies.
He includes a basic use example that sets up the build with "task_hello", "task_comma", "task_world" and "task_say" methods that each do some basic output to show the flow of the process. He also gives examples of possible uses for the tasks like database bootstrapping, auto-code generation, project deployment, etc. He also mentions two other PHP-based projects that do similar things - pake and Phake.
voice your opinion now!
rake build tool taskman ant alternative phake pake
Mike Willbanks' Blog: PHP Continuous Integration with Atlassian Bamboo
by Chris Cornutt March 02, 2010 @ 10:51:42
Mike Willbanks as put together a new post talking about continuous integration with Atlassian's Bamboo software and getting it to cooperate with the needed PHP tools to round out your deployment (like PHP Depend, PHP Code Sniffer, PHP Mess Detector and PHPUnit).
Continuous integration is all the rage these days; you are unit testing your code are you not? During some consulting in January with the help of Sebastian Bergmann, from thePHP.cc, we setup continuous integration utilizing Atlassian Bamboo and received training on PHPUnit. Using Atlassian Bamboo for continuous integration will take you a bit to setup, however, I have found it to be an invaluable tool when utilizing the Atlassian stack (JIRA, Confluence, Crucible, Bamboo and Crowd).
He walks you through the process of getting the PHP tools installed (from PEAR packages) and includes links to two Bamboo plugins to help gather some metrics on the deployment process. He talks about the actual build tool (they went with ant), setting up the locations for where output and external dependencies will be stored and includes the ant build.xml file they use to tie it all together.
voice your opinion now!
atlassian bamboo continuous integration ant deployment
Alexey Zakhlestins' Blog: Pake PHP5 project build system
by Chris Cornutt August 04, 2009 @ 12:51:34
Alexey Zakhlestins has posted about a build system created by developers of the Symfony framework as PHP's answer to Make and Rake - Pake.
Often, while working on software projects, one finds, that there are repetitive tasks, which would be much easier to deal with, if automated. In the C/Unix world, this task is often solved by Make, Java programmers prefer Apache Ant, Ruby programmers use Rake. The fact, which is not commonly known, is, that PHP also has such instrument, and it is called Pake. It was originally created by authors of Symfony framework. Unfortunately, they never wrote any documentation, which killed adoption rates.
He shows what a sample "Pakefile.php" file might look like and links to the github page for his revamp of the project to add a few more helpers. You can also install it as a PEAR pacakge.
voice your opinion now!
pake build system make ant rake
Community News: GotAPI.com - A Gateway to Manuals
by Chris Cornutt April 05, 2006 @ 15:59:48
When hard a work coding, browser windows with manual entries have a nasty habit of multiplying (at least when I work). So, neededless to say, I was happy to find GotAPI.com, a site that compiles the reference materials for several different web development languages into one handy browser window.
The page, by default, searches HTML resources, including the W3C specs and Microsoft's MSDN materials. Those and the w3schools website show up often in the other languages available - CSS, XSL, XML, and XPath. The PHP manual that's referenced is just pulled from the PHP.net site, but it's still nice to have it all right there.
When searching, a "suggeted terms" box pops up to help you narrow down the search faster. It searches not only the beginnings of the words for your term, but it looks inside them as well, matching anywhere.
It would be nice if the site had some kind of bookmarking system built into it - then you could keep a reference and just flip back and forth between the pages with a single click of the mouse.
voice your opinion now!
manuals compile xsl xpath html css ant java manuals compile xsl xpath html css ant java
DevArticles: Deploying your Site with phpEclipse
by Chris Cornutt March 10, 2006 @ 07:13:10
With an excerpt from the Packt Publishing book "PHPEclipse: A User Guide" (Shu-Wai Chow), DevArticles has posted this first of a two part series looking at the use of phpEclipse to help with the deployment of your site.
Eclipse simplifies the process of deploying your site to a web server. You can even use Ant, traditionally thought of as a Java tool, to help you in the deployment.
Once again, Eclipse simplifies our work by including several tools that aid us in this process.
The key to deployment in Eclipse is the export function. Eclipse gives us many options in exporting our site. First, we will look at FTP, an old and common method of moving files.
They cover how to set up an FTP site inside the editor, making it a simple process to upload any chnages you've made instantly. They also discuss other methods like SFTP, WebDAV, and Ant support the client can adapt itself to. There are screenshots along the way to help you through each step, including some from other operating systems where the setup might be a bit different.
voice your opinion now!
phpeclipse deploy site ftp sftp webdav ant phpeclipse deploy site ftp sftp webdav ant
|
Community Events
Don't see your event here? Let us know!
|