On his blog today Jonathan Wage has posted a tip on getting MongoDB connections and queries to work through the Doctrine ORM layer:Since the start of the Doctrine MongoDB Object Document Mapper project people have asked how it can be integrated with the ORM. This blog post demonstrates how you can integrate the two transparently, maintaining a clean domain model. This example will have a Product that is stored in MongoDB and the Order stored in a MySQL database.His code shows how to define the document...
On his blog today Matt Williams has a quick tutorial about setting up your CodeIgniter application to use the new oAuth authentication feature that Twitter with the help of this library.On August 31st Twitter will be axing basic auth GET requests, which is being overtaken by the more secure oAuth, there are a few tutorials out there on how to use oAuth and how to get started creating an app with CodeIgniter, but not many with actually helpful advice so here is my 2 penneth.The library makes it simple to...
Kevin Schroeder has a new post today with an excerpt from his book "You Want to do WHAT with PHP?" - the first chapter looking at networking and socket connections.I'm also woefully behind on blogging. So, to alleviate that I am going to post an excerpt from my upcoming book "You want to do WHAT with PHP?" Today we are going to take a look at Chapter 1.The sample chapter talks about figuring out the host to netmask relationship relationship by parsing the IP with the ip2long and comparing that to the...
In this new post to his blog Gonzalo Ayuso talks about his quest for the perfect PHP IDE (well, for his needs at least) and several of the contenders he tried out along the way.I've got a problem. I haven't found the perfect IDE for me. Yet. I've got problems with every software. Now I will try to explain the problems I have and maybe someone shows me the light and helps me to discover the perfect editor/IDE.His needs include that it be able to run on Linux, that it include code auto-completion, syntax...
On 9Lessons.info today there's a tutorial posted by Srinivas Tamada about creating a simple "tag my friends" system (like Facebook's) with PHP, jQuery and a bit of Ajax magic.I received a request from my reader that asked to me how to implement Facebook like tag friends in your status or update box. It is great feature to adding friends start with @ symbol. I had tried this with Jquery, Ajax and PHP, it's simple just collaboration of my previous posts.If you want to skip to the good part, there's a demo...
On the Symfony Project blog today there's a new post about an event that's coming back for another year for the framework's community - SymfonyDay 2010.After a very successful event last year, Interlutions have decided to organize the SymfonyDay event again this year. People who were there last year (126 in total from 6 different countries) can testify the conference was excellent, both the location and the schedule being very good. This year, the setup for the conference is the same, except for the...
Here's what was popular in the PHP community one year ago today:Brandon Savage's Blog: FIEO: Filtering Input with PHP's Filter Functions
Cal Evans' Blog: A Challenge to IT Companies
PEAR Blog: Fixing "unsupported protocol"
PacktPub.com: Develop PHP Web Applications with NetBeans, VirtualBox and Turnkey LAMP Appliance
Pablo Viquez's Blog: Export Excel Spreadsheets using Zend Framework
W3Avenue.com: Really Useful Tools For PHP Developers
Zend Developer Zone: Accepting Credit Card Payments with OXID eShop...
The Zend Framework team announces the immediate availability of Zend Framework 1.10.8, our eighth maintenance release in the 1.10 series. This release includes around 22 bug fixes.
A special reminder to those users of Zend_Service_Twitter, please ensure you upgrade to 1.10.6, 1.10.7, or 1.10.8 ASAP. These releases introduce a change in the Zend_Service_Twitter API that enforces the use of OAuth by default when using methods that require authentication. The change was introduced to help prepare Zend...
In a quick new post to his blog Konstantin shows how to get the number of fans for a Facebook page with a quick two line piece of code that uses their Graph API.In a previous blog post called How to Count Facebook Fans in PHP I've shown a code snippet of how to count the number of fans on a fan page using PHP. Times have changed, the Graph API has been introduced, and due to some responses I introduce here the new way of retrieving your fans count using the new Graph API and php.He uses the Facebook PHP...
Lorna Mitchell has had some experience at setting up and
hosting tech-related events in the past and she wants to share some of the tips she's learned along the way to help make things easier for others in the same situation. This post is the first in that series - a look at some things to do to prepare before the event even starts.
For people organising events for the first time there are definitely some pitfalls that might not be obvious until you actually, well, until you fall into them! I thought I'd...
Christoph Dorn has a new post about using his recently released FirePHP Companion to get a better perspective on how your application works with its cache (information like the location of the cache file).I thought I would rework the example I included in my php|architect article. You will see how much easier it now is to accomplish the same, and with much less code, using FirePHP Companion instead of the existing FirePHP extension.In his example he has a site with an RSS feed that's cached and compares...
My latest book on Git, Pragmatic Guide to Git goes on sale today! I'm really excited about this new book. It's the culmination of a year's worth of work on an entirely new format for Pragmatic Bookshelf.
From today's announcement:
Last summer, Pragmatic author Travis Swicegood proposed a new kind of book covering the popular version control system, Git. We thought it was a good idea-so much so that we've launched a whole new series in this format. Check out the details on the series below, as well as...
In a new post to the Zend Developer Zone today the NP-Gravatar libraries are introduced as a way to hook your application into the Gravatar web service.Gravatar is a famous web-service for providing globally-unique avatars. Gravatar, like many other web services, has its own APIs, which are based on simple HTTP GET requests. [...] By studying and analyzing those APIs, I come up with an idea to create a Zend Framework implementation of all those Gravatar services. That resulted in NP-Gravatar package,...
We've just released updates to a number of Recite packages, bringing a number of bug fixes and stability improves to the Recite 2.1.x series. Several of these updates were released today, while a number of updates have filtered out over the past few weeks.
Some of the key improvements that have been released include:CKeditor updated to version 3.4Minor UI improvements related to versioningImproved support for Amazon S3 bucketsSimplifying auto-scrolling down to errored formsImproving output of folder...
On the Ibuildings techPortal today they've posted the latest episode of their DPC Radio podcast series (as recorded at this year's Dutch PHP Conference). This episode is Derick Rethans' talk on reusability.This session explain a certain set of design issues for library code that either is often extended, or created with extending and inheritance in mind. There are many ways how a library can be designed to make it both easier to test, as well as for external developers to consume and use. This...
On PHPBuilder.com today there's a list of ten tools that can help you increase your productivity in your PHP development including ones for testing, automation and debugging.Frustration can quickly set in when you are dealing with menial and often repetitive tasks such as manual code testing and deployment, yet you strive to become a more efficient programmer by staying DRY. So why not extend that quest to other parts of the application lifecycle, streamlining and automating such tasks? In this article...
Java compatible UTF-8 Data Manipulation
MySQL cache class
Red Bean PHP
Mysqli Query Parameterization Class
Validation Class RoyalHeart
AJAX CRUD Lite
NDNC Registration Checker
simple login and database module
Article originally from rooJSolutions blog
David McCandless gave an excellent TED talk on visualization of data. The take-away quote from this was:
Data is the new soil
I love that line. Data gives rise to new ways of understanding something. Presenting something spatially gives you the ability to put it in context more quickly than trying to explain the context.Take 20 minutes, this video is well worth the time investment:
Jens Schauder has an interesting suggestion about the development environment for your projects - one database per developer.How many databases run in your teams development environment? One for the complete team? I have seen many places like that, but please tell me: Why? You aren't working on a shared files system aren't you? How is a developer supposed to change the structure of that database without interrupting the work of the other developers? And just in case you haven't noticed: Pretty much every...