 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Symfony Blog: New in symfony 1.2 Small things matter (2)
by Chris Cornutt September 24, 2008 @ 10:27:28
Fabien Potencier has a new post to the symfony framework's blog today talking about some more of the "little things" they've added to the latest version of the framework.
Symfony 1.2 already comes with a lot of great new features but smaller things also matter a lot. Here is yet another post about small things we have recently added to symfony 1.2.
The list includes the ability to generate a URL in an action using the routing object, new methods in the form object that make it simpler to use in templates and an update to the Phing/Propel interface to help with debugging.
voice your opinion now!
small things update version action route form method propel phing
Developer Tutorials Blog: Testing email routines in web applications
by Chris Cornutt July 17, 2008 @ 08:49:16
On the Developer Tutorials blog, there's a recent example of how to validate a common task of many signup forms - if the email sent is actually received.
For any web developer that's ever had to build a signup routine, email is the necessary evil that takes pride of place among hated activities. Sure, a simple call to the language's mail library will send a message through, but the moment the boss wants a HTML email, or users need attachments, everything starts to get tricky.
They try to solve the mail return issue (it tells if the message has gone to the queue, not been delivered) with a little testing and Fakemail. The software looks for emails based on the configuration given and pulls them out to a local directory. Your script can then look here and check the validity of the message before its sent.
This even allows for integration with things like Phing, SimpleTest and Selenium.
voice your opinion now!
test unittest selenium simpletest phing email fakemail
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
Zend Developer Zone: Creating Code Coverage Statistics with xdebug
by Chris Cornutt January 15, 2008 @ 07:51:00
The Zend Developer Zone has posted the fifth and final installment of the series Stefan Priebsch has written up about debugging your application via the XDebug software.
Today, we will have a look at another great feature of xdebug - creating code coverage statistics. Code coverage statistics show how many times each line of the code has been executed. Conversely, they also show which lines of code have not been executed, which is in fact much more interesting.
He talks a bit about what code coverage is and how it can help you fine tune your application. He walks you through the installation of the two packages that will help out with running the reports - phing and PHPUnit. Using these, he shows how to create a simple unit test and a build file for phing that combine and, via the XDebug calls to xdebug_start_code_coverage, xdebug_stop_code_coverage and xdebug_get_code_coverage, are used to generate the output graphs and stats in a nice, easy to read interface.
voice your opinion now!
xdebug tutorial debug phpunit codecoverage phing xdebug tutorial debug phpunit codecoverage phing
Raphael Stolt's Blog: Setting up Zend Framework applications with Phing
by Chris Cornutt August 27, 2007 @ 08:03:00
In this new post to his blog today, Raphael Stolt shows how to combine the Zend Framework and Phing to create a simple, quick setup utility for future ZF projects.
After spending too much time on directory and view script shifting to align an 'older' Zend Framework application to the very useful ViewRenderer Action Helper of the follow-up releases I crafted a single Phing buildfile to stick to the recommended conventions and to have a nearly 'one-button' setup solution for any upcoming projects.
He'd found some other packages that did something similar, but wanted to do it with Phing. He includes the requirements (the software) features that the buildfile makes easy to include and some future improvements that could be made to the install to make things even easier. The buildfile is included and any path or configuration changes that might need to be made.
Phing is a "make" replacement that uses XML build files to define tasks in classes.
voice your opinion now!
phing zendframework automate xml buildfile phing zendframework automate xml buildfile
Community News: Xinc - Continuous Integration
by Chris Cornutt June 06, 2007 @ 15:36:06
The Xinc (Xinc Is Not CruiseControl) group has released an announcement about reaching the beta mark in the development live of thier tool, Xinc.
Xinc is an open source PHP 5 continuous integration tool designed to
integrate with Subversion, Phing and PHPUnit.
There is a growing awareness of continuous integration in the PHP world
and we feel that to have to rely on Java to provide this functionality
(i.e. CruiseControl) sucks big time. So we are building the PHP 5
alternative.
Their system seems clean and lets you not only set up the push via a running background process but can pull it from Subversion and run any unit tests (via PHPUnit) you might have before pushing the project out.
voice your opinion now!
xinc continuous integration phing phpunit subversion xinc continuous integration phing phpunit subversion
|
Community Events
Don't see your event here? Let us know!
|