Tag Archives: PHP

Run Celery tasks from PHP

If you are reading this article probably you already know what is Celery but for who think that it is something to eat I will give you a definition.
Celery is an asynchronous task queue/job queue based on distributed message passing developed in python.

If your using Celery for your back-office tasks will be very nice to run some tasks after an action performed on the front end of your web site, like an user action.
If your web front end is wrote in PHP there is an easy and useful way for do it trough Rabbit MQ, the message broker used by celery. Read More

Posted in PHP, Python | tags Tagged , , , , , , | tags 6 Comments

Installare e configurare PtwiX – un client web per twitter

UPDATE Febbraio 2011: Questa guida non e’ piu’ valida dopo la release della versione 2.0rc1, fate riferimento alla guida originale sul sito del componente.
http://ptwix.toforge.com/index.php?p=install

Ptwix è un componente da me creato per visualizzare la timeline del tuo account twitter direttamente sul tuo sito.
E’ scritto in PHP ed usa AJAX per effettuare un update asincrono quando viene richiesto.

Usa anche un sistema di cache XML per evitare che si superino le 100 richieste in un ora, limite imposto da twitter per evitare il sovraccarico dei server.

Ne potete vedere una demo qui http://ptwix.toforge.com?p=demo

Scrivo questa guida all’installazione in italiano qui sul mio blog  in quanto il sito ufficiale ho deciso di lasciarlo solo in lingua inglese. Read More

Posted in PHP | tags Tagged , , , , , | tags 1 Comment