{"id":998,"date":"2007-10-14T00:00:00","date_gmt":"2007-10-13T22:00:00","guid":{"rendered":"https:\/\/wwwneu.strehle.de\/tim\/weblog\/archives\/2007\/10\/14\/936\/"},"modified":"2007-10-14T00:00:00","modified_gmt":"2007-10-13T22:00:00","slug":"936","status":"publish","type":"post","link":"https:\/\/www.strehle.de\/tim\/weblog\/archives\/2007\/10\/14\/936\/","title":{"rendered":"LAMP and the Spread Toolkit"},"content":{"rendered":"<p><a href=\"http:\/\/www.onlamp.com\/pub\/a\/onlamp\/2006\/11\/30\/lamp-and-spread.html?page=3\" title=\"ONLamp.com -- LAMP and the Spread Toolkit\"><\/a>Jason R. Briggs at ONLamp.com &#8211; <a href=\"http:\/\/www.onlamp.com\/pub\/a\/onlamp\/2006\/11\/30\/lamp-and-spread.html?page=3\" title=\"ONLamp.com -- LAMP and the Spread Toolkit\">LAMP and the Spread Toolkit<\/a>:<\/p>\n<p>&#8222;I don&#8217;t believe it makes a lot of sense to receive messages in a PHP app (which is not to say in certain circumstances it might not be necessary, just that I&#8217;d prefer otherwise). So, from a design perspective in a multi-language environment, while I might send messages from a PHP application, I would potentially look at using Python daemons to handle writing the responses to those messages into a database; perhaps using Ajax polling for live notification to clients, or&#8211;the lightest-weight approach&#8211;including notifications in a standard page response.<\/p>\n<p>[&#8230;] <span>That said, the PHP extension for Spread is, admittedly, not production-ready. There are some stability issues; in particular, if the Spread daemon restarts after the PHP extension has made a connection, a reconnection can cause a persistent crash (not Apache httpd, just the extension itself). Therefore, I would invest in some serious development time with a C-and-PHP guru before relying on the extension for a mission-critical system.<\/span>&#8222;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Jason R. Briggs at ONLamp.com &#8211; LAMP and the Spread Toolkit: &#8222;I don&#8217;t believe it makes a lot of sense to receive messages in a PHP app (which is not to say in certain circumstances it might not be necessary, just that I&#8217;d prefer otherwise). So, from a design perspective in a multi-language environment, while [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_share_on_mastodon":"0"},"categories":[1],"tags":[],"class_list":["post-998","post","type-post","status-publish","format-standard","hentry","category-weblog"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/posts\/998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/comments?post=998"}],"version-history":[{"count":0,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/posts\/998\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/media?parent=998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/categories?post=998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/tags?post=998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}