Posted by Peter Fox on 12/22/05 11:19
Following on from Realtime's message. . .
>
>How do I go about writing a php application that will alert people in a database
>from different RSS news feeds from different sites. So lets say we have
>a database and user A has a list of news alerts he wants to be alerted on.
>So the application will go to a search engine that will bring up the results
>in XML. The results are then stored in the database. I just need the logic
>process. Because I am worried of the latency on the server. So how can
>i process multiple alerts per user? Or even process multiple users at once.
Well done for realising you need guidance.
PHP is purely reactive. It bursts into life to process a HTTP request
then dies until the next request. It only sends HTTP responses to
whatever it was that sent the HTTP request.
A grim hack might be meta refresh. A better solution is something other
than PHP.
--
PETER FOX Not the same since the bookshop idea was shelved
peterfox@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>
Navigation:
[Reply to this message]
|