Skip to Navigation

Posts about php

2010
Mar
14th

Generating a Twitpic.com Gallery

Whilst doing some R&D around Twitter related services I've noticed holes lacking in APIs for a number of services. It's not just myself that groans, support queues, mailing lists and Twitter are full of people grumbling about lacking functionality from the services.

Today it was the turn of photo hosting service Twitpic who provide a great basic API service but lacks any ability to extract all images for a specific user through the API. A minor bonus is that each user of the service gets an RSS feed of their uploaded images, although it only serves the last 20 images - 20 being the number of photos shown per page.

2009
Sep
25th

We want PHP/Drupal Developers

After another successful year in the land of Drupal we're pleased to be expanding the development team here at Ixis. We're on the look out for two developers to join us on-site in our Daresbury office in the UK. Your work will be based at our new office and travel to clients is not required.

We work in a relaxed and informal environment, where the ability to manage your time and work load independently is important. You'll often be involved in several projects at the same time, although you may be responsible for a website from start to finish depending on work load.

Some administration and debugging modules for Drupal attach their statistics to the end of Drupal rendered pages using PHP's register_shutdown_function function facility. This is great to ensure the output is always available, no matter how badly built the theme being used is.

Examples of modules adding their stats to the footer include the superb Devel package which allows outputting statistics on your database queries (or "Gunk" as its called in the source code), and the Memcache Admin UI module which provides information about the memcache bin usage.

What sort of performance increase would you expect to see by simply using Alternative PHP Cache (APC) and Drupal caching? APC is an extension that caches the compiled PHP bytecode hence avoiding the overhead of parsing and compiling source code for every single request.

The following benchmarks were performed using ApacheBench with 1000 requests (50 concurrently). The requests were sent to the frontpage of the site, which is quite intensive in terms of modules ( views // panels // custom modules - 259 queries to be exact)

Syndicate content