Rob Allen has a new post (a quick introduction) about working with the unit tests in the Zend Framework (version 1), how to get PHPUnit working and execute the tests.As part of our release process for Zend Framework 1.12, I've been working through the unit tests and running them on PHP 5.2.4 as it seems that recent changes weren't being tested with that version. This isn't totally surprising as Open Source contributors are, almost by definition, interested in new things and so are much more likely to be...
Kevin Schroeder has a quick new post with a one-liner you can use to get remote debugging working with Zend Debugger and PHPUnit.I'm trying to do some remote debugging with PHPUnit on a remote system. I was following the rules I had written about in a previous article but for some reason I could not get path mapping to work. So I figured I'd ping the Studio lead developer because as soon as I did that I'd get it to work. Well, that's what happened.His fix comes in the form of setting a command-line...
Matthew Weier O'Phinnney has a new post to his blog filling in some additional details behind a series he's been doing on modules in the Zend Framework v2 releases. In this new post he answers the question "why modules?"I've blogged about getting started with ZF2 modules, as well as about ZF2 modules you can already use. But after fielding some questions recently, I realized I should talk about why modules are important for the ZF2 ecosystem.He covers some of the history of the idea, starting with the...
Latest PECL Releases:
xdebug 2.2.0RC2
WinCache 1.3.0
mysqlnd_ms 1.3.2
yaf 2.1.13
Matthew Weier O'Phinney's Blog:http://mwop.net/blog
Jeremy Lindblom's Blog:http://webdevilaz.com/
Paul M. Jones' Blog:http://paul-m-jones.com/
Matthew Weier O'Phinney on Twitter: @weierophinney
Jeremy Lindblom on Twitter: @jeremeamia
Paul M. Jones on Twitter: @pmjones
Show Notes:
PHP Standards Working Group
Github Repo
Sponsored by:
Engine Yard
I've blogged about getting
started with ZF2 modules, as well as about ZF2 modules you
can already use. But after fielding some questions recently, I
realized I should talk about why modules are important for
the ZF2 ecosystem.
Kevin Schroeder has a quick new post about using dependency injection in Zend Framework 2 applications using multiple object instances.When you work with the ZF2 Dependency Injection Container (DiC) when you make multiple requests for an instance of an object you will get the same object back each time. [...] But what if you want the injection benefits of the DiC but don't want to share the object? Use the DiC's newInstance method instead with the third parameter being false.He includes code examples of...
Common, Cryptic PHP Errors
If you've been programming for awhile, then you've probably experienced your fair share of cryptic error messages. It's understandable that building in detailed error messages that are clear to even novice developers is not always a high priority for programming languages when there are so many other features to create and issues to address. The PHP language has decent error messages, but it is by no means an exception to this rule.The following three error messages are as...
The Ibuildings techPortal has published the latest episode of their DPCRadio series (as recorded at the Dutch PHP Conference 2011) - Aral Balkan's keynote session The Art of the User Experience: making beautiful, delightful, fun things.In this session, Aral Balkan will outline the important role that user experience design plays in the making of virtual products and inspire you to see that it is your job - regardless of whether you make web sites, mobile apps, intranet systems, or ticket machines - to...
The ServerGrove blog has a recent post for the Symfony2 users out there, showing how you can spool emails on a VPS/shared hosting using SwiftMailer and the Symfony2 bundle to interact with it.When you send an email, the mailer communicates with a remote server in charge of receiving the message and of delivering it to the recipient. This process can cause your form to submit slowly as it depends on how fast the mail server responds. Spooling allows us to decouple the application execution line from the...
On the PHPMaster.com site there's a recent tutorial posted, the first part in a series of posts from David Shirey about building REST APIs in PHP. This first part of the series stays pretty high-level and really just introduces some common REST concepts.Thousands of years ago when we first started building web pages, things were very simple. You'd put some text on the page, maybe even an image, and that was pretty much it. But today it's a whole different ball game. Instead of static pages there's the...
From MaltBlue.com there's a new post (the first in a series) about mastering Zend_Form. In this first part of the series, they look at creating custom filter paths with the help of the Zend_Config component.When you're working with Zend Framework, and code in general, you keep your configuration as much out of code as you can - right? Well, if you want to write maintainable and flexible code you do. Well, if you've been working with Zend Framework and Zend Form for more than a little while, you know that...
Latest PEAR Releases:
DB_DataObject 1.10.0
Article originally from rooJSolutions blog
One of the more interesting projects I have ongoing is a migration and deployment of an ERP system. For a bit of background, our customer was persuaded about 3-4 years ago that moving their accounting and Stock management into Netsuite would be a good idea.For those who have not heard of Netsuite, it's a Cloud based ERP system, that from my understanding runs on an oracle backend and is totally web based. All the users log into the website, enter the various...
Article originally from rooJSolutions blog
One of the more interesting projects I have ongoing is a migration and deployment of an ERP system. For a bit of background, our customer was persuaded about 3-4 years ago that moving their accounting and Stock management into Netsuite would be a good idea.For those who have not heard of Netsuite, it's a Cloud based ERP system, that from my understanding runs on an oracle backend and is totally web based. All the users log into the website, enter the various...
On his site Marcelo Gornstein has published a new guide to getting a basic automated continuous integration server set up with Jenkins and Phing.This article is about how to use Phing in your projects, so a continuous integration server (in this case Jenkins -ex Hudson-) can generate the necessary artifacts for your php application (deployment artifacts, documentation, code metrics, etc). I'll try to show why this will make your life easier when developing or auditing code, generating releases and...
SitePoint.com has published an excerpt from an upcoming book by their own Kevin Yank aimed at those wanting to get into PHP with no background in the language at all - "PHP & MySQL: Novice to Ninja".Kevin Yank's done it again! He's just completed a new 2012 edition of his best-selling book (Build Your Own Database Driven Web Site, 4th Edition) which is now titled - PHP & MySQL: Novice to Ninja.The chapter excerpt they share is the book's "Introducing PHP" content the (very) basic introduction to the...
The /Dev/Hell podcast has released their latest episode (hosted by PHP community members Chris Hartjes and Ed Finkler) - Episode 11: "From Gas Station Attendant to Java Developer".This time out we are blessed by the presence of Jo ël Perras, PHP developer extraordinaire and Fictive Kin brosef of Ed. We explore Jo ël's rags-to-riches story: a young academic schlepping coffee and 44oz soft drinks at a gas station, where he's discovered by a grizzled dev team manager in need of Java skills. From there...
Tweaking is the motto - what an easy release PECL/mysqlnd_ms 1.4 will be! The first tweak for the next stable version of the mysqlnd replication and load balancing plugin solves pitfalls around charsets. String escaping now works on lazy connection handles (default) prior to establishing a connection ...
Evan Coury has a new post to his site about a handy method for sharing database connections across modules in a Zend Framework application.With the new modular infrastructure in Zend Framework 2, one of the most common questions will indoubitably be how to share a database connection across modules. Here's a quick explanation of how to share your database connection across multiple modules in a way that can even allow you to use a single connection between ZendDb, Doctrine2, and possibly even other...
|
Latest PHP Tweets
|