Exchange Server Read Calendar
Download POP3/IMAP attachment
What's the best way to meet your co-workers? Break their app of course!
I remember fondly how I got on the radar of much of the company I work for in one fell swoop. AOne morning I decided to get ambitious and try to move a bug of older bugs for a feature I was working on to be assigned to me, so I could process them individually and close them out. Great idea I figured, and definitely a good way to show the ROI on a project by saying aohey, this change clears out X number of bugs off the backloga. So...
Christian Schaefer has a recent post pointing out a common frustration among developers of applications with NoSQL backends, specifically with Doctrine, MongoDB and PHP DateTime objects - timezone conflicts.I really like Doctrines way of dealing with dates and times. Instead of passing timestamps around or strings with ISO date format it simply makes use of the PHP native type DateTime which provides all you really need to work with. PHPs interface to MongoDB however comes with its own MongoDate type...
In a new post over on CodeForest.net there's a guide from Zvonko Biskup about using the multi-language support in the Zend Framework, specifically implementing gettext support.We can not imagine a modern web application without a multi language support. I will show you how easy it is to setup usage of multiple languages in Zend Framework and how to setup some basic language routes (handy for SEO stuff). The Zend Framework offers many ways for you to store your translated strings. It could be an array, a...
As Lukas Smith mentions in his latest post, the Drupal project has made a switch to use the HttpFoundation component of the Symfony2 project as a integral part of their HTTP handling.[...] The fact that Drupal8 will use Symfony'2 HttpFoundation component is huge, because it will make integration a breeze. Basically Symfony2 converts a Request instance to a Response. So if both Symfony2 and Drupal8 use the same Request and Response classes it means that creating a sub-request and handing the response from...
Christian Weiske has a new post about a move the phpfarm tool has made over to SourceForge for its project page. phpfarm makes it simple to switch between multiple versions of PHP on the same server to make debugging and development a much simpler task (especially if you're not in a homogeneous environment).phpfarm, the tool that lets you install multiple PHP versions beside each other, finally got a proper project page on SourceForge. By moving from svn.php.net to SF, phpfarm got a nice git repository,...
On NetTuts.com today there's a new tutorial posted about using a microframework for prototyping an application you may not need a full stack framework to get running. Their examples are based on the Slim framework.Let's face it: we all have great ideas for a web application. Whether you write them down on paper or remember them using your eidetic memory, there comes a point when you want test whether or not your idea is really viable. In this tutorial, we'll use a micro framework, a templating language...
As of a few days ago, and following Chris' post, I am now the proud owner of an open source project. These things don't build themselves and whenever I look at the project as it stands, I'm blown away by what Chris has built over these years, and I can only thank him for that (he's not vanishing, just stepping away from the big-picture tasks).
An open source project is no small task (as I'm sure many people reading can testify!), so if you have time to help us out, tell us what we're doing wrong (or...
The ConFoo conference has announced that their Call for Papers has been extended until September 16th for this years event happening February 29th through March 2nd.Many of you are just back from vacation. because of that, we decided to extend the call for papers until September 16. For speakers, that means more time to prepare abstracts. For everyone else, it's more time to read the proposals and cast your vote.You can find out more information about the ConFoo Call for Papers in their site. They're...
Latest PECL Releases:
As a part of broadening my horizons, I'm back to working with Fuel, a framework that has a familiar feel to some of the ones I've used in the past but has some extra aooomfa from new features and PHP 5.3-ness.
I was working in my models the other day and had a need for uniqueness - I wanted to be sure that the object I was pushing into the database didn't match any other one. I went through the docs and didn't see anything about it and a glance through the source didn't turn up anything either. So, as an...
On the Amazium blog Jeroen Keppens has a recent post looking at some of tools available to you when needing to filter input and escape output in your applications. This post specifically covers filtering on command line applications.When you need data input in a web context, you send a GET/POST request to your script. On the command line, things work differently. In this blog post, we will talk obout input and output in php-cli.The post is broken up into a few different sections:
Lars Tesmer has an alternative to testing xceptions in PHPUnit that's a bit more flexible than just a docblock comment definition.My main issues with this way of expecting exceptions are:The expectation is pretty far away from the location you'd normally expect to find an assertion. Usually, an assertion can be found at the bottom of each test function, whereas with the current method PHPUnit uses, it's at the top of the test-function. Additionally, it's an annotation "buried" in a comment which is easy...
In a new post to his blog James Morris has shared a custom Symfony2 console command he's written to pull in Foursquare data for his testing locally.I've been playing with the Foursquare API recently, I'm attempting to get a new homepage built and want to display a map of where I hang out. I use Foursquare quite a bit so wanted to get the locations from their API then plot them on Google maps. There's a venuehistory endpoint that gives you a massive list of all the venues you've checked into with details...
Michelangelo van Dam has posted the fourth part of his "Quality Assurance in PHP projects" series to his blog today - a continuation of his emphasis on PHPUnit and testing his sample "Tic-Tac-Toe" game.In parts one, two and three we focussed on writing tests for a game of tic-tac-toe, with in parts two and three we optimized our tests so they focus on the functionality of the individual parts Grid and Player, with a collection class Players to handle Player objects.In this fourth part he focuses on the...
Latest PEAR Releases:
Drupal is big, no question. Over the last years Drupal has become one of, if not THE leading CMS. Now imho one of the reasons for its success is that it's a huge enabler for non programmers to get setup with a gigantic set of features. But here at Liip our bread and butter is highly customized applications or in other words if you can get your project done by installing a bunch of Drupal modules, then we are not the right shop to go to. We do however use Drupal when it's the best starting point for...
By now I'm sure a lot of the folks reading the posts from this blog know of the site I've helped shape over the past few years, Joind.in. It's become most successful in PHP circles, but has branched out into other communities, both tech and non-tech. Not too long after the project started up, it was decided to open source the code and pull in contributions from whoever offered their time. I personally feel that, for a first out of the box open source project for me, it's turned out well and has a great,...
A A AIn parts one, two and three we focussed on writing tests for a game of tic-tac-toe, with in parts two and three we optimized our tests so they focus on the functionality of the individual parts Grid and Player, with a collection class Players to handle Player objects. In this fourth part we should focus on playing the game. Let's go over the steps again:each player chooses a symbolfor each turn (max 9 turns)a player places his symbol on the gridif 3 symbols appear in a single row (horizontal,...
phpfarm, the tool that
lets you install multiple PHP versions beside each other,
finally got a proper
By moving from svn.php.net to SF, phpfarm got a nice
wiki and a
It also has a Phing build file now
which generates and uploads
so people don't have to install git to get phpfarm.
Changes in 0.1.0
To celebrate the new home, I officially released
phpfarm version 0.1.0.
It fixes the following...