json

Lorna Mitchell's Blog: Building A RESTful PHP Server: Output Han...

PHPDeveloper.org  Wed, 02/01/2012 - 10:25

Lorna Mitchell is back with another post in her "Building a RESTful PHP Server" series today with this new post showing how to work with output handlers (her focus is on JSON).


 

Create your own framework... on top of the Symfony2 Components (...

Planet PHP  Mon, 01/09/2012 - 02:27

Before we start with today's topic, let's refactor our current framework just a little to make templates even more readable:


 

Nelm.io Blog: Composer: Part 1 - What & Why

PHPDeveloper.org  Fri, 12/09/2011 - 13:14

On the Nelm.io blog today there's a new post (part one of a series) about using Composer and Packagist to manage PHP applications as packages.


 

Gimme Bar+TwitterFeed+PHP = One-click Syndication - blog.phpdeve...

Planet PHP  Wed, 11/30/2011 - 21:53

I recently set up a new Twitter account that shares links to some of the smaller stories I come across in my news reading for PHPDeveloper.org called @phpquickfix.

I recently had started playing with Gimme Bar more and wondered how easy it’d be to set it up as a backend repository for some links.


 

Google Web Toolkit and Web Services: The XML Way

Linux Today  Sat, 11/05/2011 - 08:00

Wazi:Applications built with the Google Web Toolkit (GWT) can work with both XML and JSON data.


 

DNode: Make PHP and Node.js talk to each other - Henri Bergius

Planet PHP  Mon, 10/31/2011 - 05:35

If you've been following my blog, you might have noticed that lately I've started doing quite a lot of Node.js development alongside PHP.

Based on conversations I've had in various conferences, I'm by far not alone in this situation - using Node.js for real-time functionality, and PHP (or Django, or Rails) for the more traditional CRUD stuff.


 

Johannes Schluter's Blog: mysqlnd plugins and json

PHPDeveloper.org  Wed, 09/14/2011 - 10:04

Johannes Schluter has shared a handy mysqlnd plugin that he's written up that does two common things at once when you're pulling data from your database and pushing it into JSON - a mysqlnd_query_to_json function.


 

Martin Sik's Blog: How to "steal" Google's "did you mean" featur...

PHPDeveloper.org  Thu, 05/19/2011 - 11:49

In a a new tutorial posted on his blog Martin Sik shows you how to "steal" the "did you mean..." functionality that Google's sites currently offer.

His example uses cURL to get the current Google request URLs and fetch the associated results.


 

Using Gearman from PHP - Lorna Mitchell

Planet PHP  Wed, 02/16/2011 - 02:23

I've introduced Gearman into a project I'm working on, and since a few people have asked I thought I'd share my experiences.

Basically, this application generates some PDFs from a variety of data sources, makes images, and emails it. Since the whole data processing, image handling, PDF generation process is fairly heavy, I'm putting the requests to generate these onto a gearman queue and having some workers process the jobs.

The eventual aim is to bring up EC2 instances (or php-specific cloud hosting perhaps?


 

My gripe with Prototype - Evert Pot

Planet PHP  Tue, 01/11/2011 - 13:26

Many of you might already know this, but I wanted to point out why I think using the Prototype Javascript library is a bad idea.

The biggest problem is actually highlighted in it's name: it changes many of the prototypes of core javascript types.

You might have realized this before, when you tried to 'for(i in arr)' and came across many of the extra functions prototype added.

(and you should have realized at this point this wasn't the proper way to loop through an array anyway.).