Lars Tesmer has a suggestion for all of the unit testers out there (you do unit test your code, right?) when needing to test a piece of code that makes a call to something on the file system or a remote resource. Their examples come from tests written against the Assetic codebase.For our most recent After Work Hacking my co-workers and me decided to write unit tests for the open source project Assetic. That turned out to be a better decision than our last one, yet we still ran into an interesting...
Freek Lijten recently attended a conference put on by PFZ.nl, a one day event of PHP content on a wide range of topics. He shares some of his impressions about the event and why he thinks they're a valuable part of any developer's experience in their field.I had a great time for three main reasons: I learned new stuff, I met people and I got inspired by topics I already knew about. I like to (shortly) share on the experience itself and I hope to explain why I think it is valuable to visit a conference...
On the Ibuildings techPortal today they've posted the latest episode in their DPC Radio series as recorded at last year's Dutch PHP Conference. This episode is Martin de Keijzer's talk Let's take over the world with Zend Framework.Many people use Zend Framework for it's MVC implementation, but it has a lot of hidden gems. Internationalization (i18n) is one of them. We will look how you can create an application that will have the right languages, currencies, dates and times all based on the location of...
For those who haven't put the recurring event in their calendar, the Zend
Framework Monthly Bug-hunt is here again! This Thursday, Friday and Saturday
(the 22nd, 23rd and 24th of September), we'll be hosting our monthly bug hunt. For
those of you unfamiliar with the event, each month, we organize the community to
help reduce the number of open issues reported against the framework.
The purpose of business analytics is to find data from the company's information systems that can be used to support decision making. What customers buy most? What do they do before a buying decision? What are the signs that a customer may be leaving?
For the last month we've been working in Salzburg to build such a system, the Intelligent Project Controlling Tool needed for running large collaborative research projects like IKS. Since the design we went with can be reused for other business analytics...
Alberto Viana has a new post to his blog about using Oracle ZML Types with a Zend Framework application. He created a custom adapter to create the type and handle the binding/execution on an new OCI8 connection.So few days ago I needed to insert Oracle XMLtype with Zend Framework. I used oracle adapter to wrote it in Zend Framework. I was looking for and I found on Chris Jones Blog.His table has a column defined as an XMLType, a special data type specifically for working with XML datasets directly in the...
So last week four developers sat together on a regular Hackday to see what's needed to hook up Magento into Symfony. To make this short the outcome is a Magento bundle for Symfony2.
When we met in the morning we weren't even sure what exactly to try out but soon agreed on implementing a Symfony authentication which uses the Magento customer database.
Autoloader and Login
Starting our hacking, the first problem appeared quickly with incompatible class loaders: Unfortunately, the Magento class loader...
If you're building a web-based app, it's always a good idea to build some instrumentation into your app. That way, you can see how your app is behaving, and how your users are interacting with your app over time.
I'm sure everyone who reads my blog is familiar with Google Analytics for tracking page hits. But what about what's happening inside your app? Right now? Do you know?
Graphite is one way to graph the stats that you add to your app. Combine it with (say) statsd from Etsy, and adding any stats you...
On Dzone.com today Giorgio Sironi has a new post looking at a relatively new release on the social networking scene for developers, the Google+ Api, and some details on how you get get started writing apps using the features it offers.Google+ recently releases to developers the first version of its Api, which focuses on public data about profiles and their activities: status updates, resharings and links. I dived into the Api and wrote a small sample application to get a feel of how easy is to get...
VIE is a JavaScript library that makes RDFa-annotated entities on web pages editable. We started the work towards the next major version of it, codenamed Zart (for Mozart) in a Salzburg IKS hackathon couple of weeks ago.
Yesterday I merged the Zart codebase into the VIE repository. This blog post describes some of the improvements it brings.VIE now has an instanceFor VIE 1.x users the first visible change (and probably the only necessary API change) is that now VIE needs to be instantiated before being...
Crutch Translate
Quick PDO
Correios Shipping
PHP AJAX Submit Forms
Simple Connected Database
Bdd
my_validator
Google Geocode API
Lukas Smith has posted some of his thoughts on who the framework winners are right now and which might pull ahead in the future including Symfony and Zend Framework.I have not been that active on the conference scene in the past few years, but the ones where I did attend I also tried to take a peek at what others are doing. Also this post is kind of exploratory to see what other people think, hopefully without inviting a flame fest upon myself. So with this disclaimer out of the way, I think the big 3...
Sometimes opportunities come along that you just can't pass up. Such as the case for me these days; I'll be leaving my job as Community Development Manager at SourceForge for a job at Engine Yard as the PHP Community Manager. As you might have heard, Engine Yard recently acquired Orchestra, and as such, is making a splash in the PHP space. (This is awesome on so many levels.) I am extremely lucky to be on Randall Thomas's team (@daksis for those who don't know him), whom I had the great pleasure of...
In a new post to his blog Davey Shafik looks at parsing dates with DateTime, the new and improved way to handle dates in PHP (well, not so new but definitely improved).As part of a recent project, I was tasked with taking timestamps returned by an API and displaying fuzzy dates in the final output (e.g. 3hrs ago, in 2 weeks, tomorrow). The timestamp format in question looks like: 2012-09-01T16:20:01-05:00 This format can be found in PHP as the DATE_ATOM or DateTime::ATOM constants, which contain the...
Christian Stocker has a quick new post on the Liip blog today about an easy way to test the PHP 5.4 beta on your OS X-based platform with a simple package install and symlink.Since the first beta of the next major release of PHP was released a few days ago, I thought we could provide packages for people who'd like to test it and see if there software is still running. And make adjustments or report bugs, if it doesn't. Complaining after the official stable release was made is usually too late, so testing...
Ralph Schindler has a new post to his today looking back at a sort of history of autoloading and some of what we've learned even in just the journey from PHP 5.0 to 5.3 (and has become best practice in the community).It wasn't until years later that certain best practices had emerged and the prolific usage of require_once/include_once throughout large bodies of code had started drying up. Even after autoloading had been adopted by larger more visible projects, a common patten had yet to emerge. [...]...
On the PHPMaster.com site today, there's a good introduction to a basic data type in PHP - working with arrays. This tutorial is a low level look at what arrays are and how to work with them (briefly).Tables organize data in such a way that we can easily find correlations or perform straightforward computations. A array is essentially a way to organize data in a table-like manner. The name "array" comes from the same Latin roots as the word "arrangement."If you're anything other than completely new to...
Matthew Baxter-Reynolds on the various toolsets available to mobile developers:
The fact is that if your day job involves sitting in Visual Studio writing C# applications, or building Java applications in Eclipse (which will be most of you - albeit not necessarily in Eclipse), when you fire up Apple's Xcode and start building CocoaTouch applications in Objective-C you're going to come face-to-face with a toolset that has not had the sort of love put into it that the open source community has put into...
Latest PECL Releases:
mongo 1.2.5
|
Latest PHP Tweets
|