Padraic Brady's Blog: The PHPSpec Zend Framework App Testing Manifesto: Preamble
91596
Padraic Brady has posted a manifesto of sorts about the work that he's been doing on his PHPSpec library and trying to work it into the approval process for the Zend Framework.   I'll be attempting to pound the Zend Framework into submission so I can apply Behaviour-Driven Development (BDD) using PHPSpec when I write a Controller. Why? Because I feel like it, and it gives me an excuse to promote one possible incarnation of PHPMock and the PHPSpec Zend Framework extension. See? Perfectly reasonable selfishness!   He hopes to move it past the typical test-driven development process that PHPUnit offers and "kick your ass into high-TDD gear" without having to have worked much with it before then (the key is simplicity).   He includes some code examples (how it should flow) and describes some of the challenges that he's coming across so far, specifically with the way that the Zend Framework works with the Controllers and what he wants to accomplish.
360849
On the Zend Developer Zone today, there's this new tutorial that looks at making the move from PHP4's object-oriented programming up to the "more complete obejct model of PHP5" - specifically with the Decorator design pattern.   While working on a project I realized one particular solution was a pretty good way to demonstrate the decorator design pattern together with some of PHP5's features, including abstract classes, interfaces, type hinting, the final keyword and the visibility of properties and methods. This article is intended for those of you who, like myself, are moving from object-oriented programming, including some use of design patterns, in PHP4, to the more complete object model of PHP5.   He sets up a scenario about the development of an online pizza ordering system to show how to "decorate" a pizza with each of the toppings on a list (instead of having to list out every pizza in every possible topping combination). Of course, all of the code is included and explained so you understand exactly what's happening. Finally, there's a demonstration of its usage - a simple call that grabs the stock level/name/cost of each of the items in stock (pizza combinations).
458749
Sebastian Bergmann posts about the tutorial he (and fellow developers Matthew O'Phinney and Mike Naberenzy) will be presenting at this year's Zend/PHP Conference & Expo - a look at PHP Development Best Practices and Unit Testing.   From the official description:   PHP development by teams of developers introduces challenges beyond the mere coding of great algorithms. Agreements are needed about tools, specifications, architecture, design patterns, coding standards, testing, documentation, source code control, staging and deployment. This tutorial session aims to introduce developers to a set of best practices that will help them deliver applications fast and move them to deployment with confidence.   You can check out some of the other tutorials for the upcoming conference as scheduled here.
751529
Michael Kimsal has come up with the start of a series to introduce PHP developers to the world of Grails (the Java framework).   The comparisons I plan to make will be mostly to PHP, cause that's what I'm most familiar with, though there may be some other comparisons from time to time.  This is a work in progress, but I'd be very interested in feedback from anyone out there interested in this aea - Grails, Groovy, PHP, why another language/platform/framework, etc.   The first two installments have been posted - part one and part two - with an introduction to what Grails is and a brief dip into some "Hello world" sort of code to give you an idea of the structure.
107184
Davey Shafik has posted another update on his web services component he's working up for the Zend Framework, the Zend_Service_Server.    I have been working closely with Matthew Weier O'Phinney for the last week on bringing my Zend_Service_Server proposal to fruition.   There have been several changes, but the core has not moved too far. Matthew, Andi and I have decided that we will first implement the different server/client libraries.    He lists the libraries they'll need to tackle first and talks about an "exercise" he did to work up a JSON server component that works in a similar fashion.
565362
Popular posts from PHPDeveloper.org for the past week:DeveloperTutorials.com: Writing an Email Autoresponder Script with PHPJaybill McCarthy's Blog: 10 PHP Myths DispelledIBM developerWorks: Mastering regular expressions in PHP, Part 1Job Posting: OmniTI Seeks PHP Talent (Brooklyn, NY)Zend Developer Zone: php|architect Announces 'Programming with the Zend Framework'DeveloperTutorials.com: Create a Facebook Application With PHPRob Allen's Blog: New Zend Framework Blog/WebsiteMichael Kimsal's Blog: Ecommerce system ideasJob Posting: Buildersite.co.uk Seeks PHP Programmer/Web Developer (Central London)Zend Developer Zone: Debugging PHP applications with xdebug
313082
P&aacute;draic Brady, looking ahead to the work he will be doing over the next few months, is proposing on his blog about a new Zend Framework component - Zend_Service_Currency.    I did a quick check on what PHP classes are available for the purpose. There's really not a whole lot out there. There's a PEAR class along the lines I need, but it's released under the PHP License and, not to be too argumentative, I prefer non-PEAR solutions where the end-user may have no access to update PEAR.   So since the project is planned to use the Zend Framework, I shot off a mail to the Framework's fw-general mailing list to see if it would be a worthwhile contribution.    He sees that someone else had already opened a proposal for the same idea and decided to join with that group to work up the module. He also links to his original proposal and gives a brief overview of the goals of the package.
437031
In a new post today, P&aacute;draic Brady takes a look at the OpenID library included in the Zend Framework and his own efforts to create functionality of his own.   Here in the present, everyone I work with is all too aware of OpenID. [...] Enter the Zend Framework. If you've ever looked under the hood of the JanRain PHP-Openid library you'll notice they implement all of this without a single dependency on PEAR or other external classes.   He notes that this application of the "Not Invented Here" method that the Zend Framework follows might not be the best when there are already plenty of libraries out there that help with this exact functionality. He mentions a PEAR class that helps with it, but is written in PHP4 and hasn't quite been optimized.
647305
Popular posts from PHPDeveloper.org for the past week:Ian Selby's Blog: Uploading Large Files With PHPONLamp.com: Quick and Clean PHP FormsDotVoid.com: Reordering nested sets using PHP and JavascriptRob Allen's Blog: Zend Framework Book Coming SoonCommunity News: php|works Daily Summaries (Day 2)Community News: Sara Golemon & Christopher Jones - First Day Summaries of php|worksJob Posting: University of Wisconsin, Department of Medicine Seeks Web Developer (Madison, WI)Zend Developer Zone: PHP Abstract Podcast Episode 19: Glue Frameworks vs. Full Stack FrameworksStefan Mischook's Blog: Installing PHP and MySQL on the Mac with MAMPSecurityReason: Three Advisories for PHP 5.2.4 (dl, iconv_substr & setlocale)
416901
Aaron Wormus has a new note on his blog today about his presentation at this year's Zend/PHP Conference & Expo and another speaker he's excited to hear.    One of the Zend conference sessions that I'm pretty excited about is Don Samisa Abeysinghe's (of WSO2) "Fully Fletched Web Services with PHP".   I'll be presenting a session on "Moving to PHP5 with Style." This tutorial/case study will be based on experience in transitioning several codebases from PHP4 to PHP5, creating unit tests & started a move towards a service based architecture without a complete platform rewrite.    Aaron's talk fits under the banner of the "PHP Development" talks, including others on topics like hosting PHP applications on Windows, working with PDO, unicoding in PHP6, and using PHPUnit.
736098
Patrick Reilly has a new post today encouraging developers out there looking for an opportunity to volunteer in the community to check out the Zend Framework project's many needs.   Most components and subprojects need volunteers to help with documentation, unit test coverage, code reviews, improving integration with other ZF components, and enhancing architecture and design for the purpose of improving extensibility and ease of use with new components. If you see a subject area or component that interests you, please contact any project members currently associated with the component.   The project is starting several wiki "websites" dedicated to each of the components/efforts inside of the main framework project. Areas for these include:  Auth Team Documentation Team MVC Team Web Services Team
394439
Popular posts from PHPDeveloper.org for the past week:PHPBuilder.com: AJAX and PHP Part 2 - XML Communication/ProcessingCommunity News: Zend Framework 1.0.0 ReleasedMike Potter's Blog: Slides for today's e-seminar on Flex and PHPBlogSecurity.net: Interview with Stefan Esser on WordPressCommunity News: India's First PHP UnconferencePro::PHP Podcast: Newscast for 2007.06.28JSLabs Blog:  How to create Microsoft Office Documents with PHPPEAR Blog: Request for ideas: New developer FAQPHP-Coding-Practices.com: Composing Methods: Split Temporary VariableRob Allen's Blog: Spanish versions too!
453155
Cal Evans of the Zend Developer Zone has posted a new book review of one of Packt Publishing's latest PHP-related offerings - "PHP Programming with PEAR".    For those who have been living under a virtual rock for a while now, PEAR is the "PHP Extension and Application Repository". In a nutshell, it is a collection of classes, it's a framework, and it's a distribution system. Most importantly though, it's an excellent place to find the classes you need so you don't have to re-invent the wheel. (Ok, beginner's time is over, I promise).   PHP Programming with PEAR, written by Stephen Schmidt, Carsten Lucke, Stoyan Stefanov and Aaron Wormus, takes a look at some important PEAR classes and how you can use them.     He mentions what the book covers (which packages) and highlights some of his favorite bits, including the chapter on web services.
380419
Jonathan Snook has posted some of his first impressions of the Zend Framework to his blog today - and so far, they're pretty good:   Last week, the first production release of the Zend Framework was released. I've taken some time to read through the documentation to understand what each of the components do. And you know what? I think I like it.   He talks about what the framework is, how it compares to the CakePHP framework and his example of making a simple del.icio.us class to pull recent posts from a feed.
213675
The Zend Developer Zone has posted the latest episode of their PHP Abstract podcast hosted by Rob Richards and covering service oriented architectures in PHP.   Our special guest today is Rob Richards. Rob is an author and maintainer of many of the XML-based extensions of PHP 5, as well as one of the maintainers of libxml2. He is also the author of Pro PHP and Web Services, published by Apress. Rob is going to give us an overview of Service Oriented Architecture and what it means to us as PHP developers.   The direct link to grab the show is here, but you'd be doing yourself a favor to subscribe to the podcast feed and get all of the great content on a wide variety of topics presented by the experts.
755892
The Zend Developer Zone has posted the latest podcast in its PHP Abstract series. This time it's hosted by Paul Jones, developer of the Solar framework project, who talks gives an overview of the project and its place in the PHP community.   Today's special guest is Paul M. Jones. Paul is an internationally-recognized expert PHP developer and technical consultant living in Memphis, TN. On his blog, he writes mostly about his software projects, but also touches on management, business, politics, and culture.   You can grab the show directly or subscribe to the feed to get this and more great shows from the podcast (with topics covered like PHP & Java, CodeIgniter, Security and much more)
188297
Christian Wenz, back from the php/db|works conference and at a break following the conference, has posted some of his thoughts about this years conference over on his blog.   My schedule was crammed right after php|works 2006, so I could not find an earlier possibility to blog. Anyway, the extended entry contains my short report on php|arch's second conference this year.   He talks about some sightseeing before-hand, Tutorial Day, XML Security demos, Unicode in PHP6, a "slight problem" concerning his laptop, and his role on the Zend PHP5 Certification Panel. Check out the full entry for all of the details and "expect a separate blog entry later" on his experience on the panel.