2
0

Zend_Queue-Introduction.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- EN-Revision: 16590 -->
  3. <!-- Reviewed: no -->
  4. <sect1 id="zend.queue.introduction">
  5. <title>Einführung</title>
  6. <para>
  7. <classname>Zend_Queue</classname> bietet Factory Funktionen ob spezielle Queue Client
  8. Objekte zu erstellen.
  9. </para>
  10. <para>
  11. Eine Message Queue ist eine Methode für entferntes Bearbeiten. Zum Beispiel könnte eine Job
  12. Broker Anwendung mehrere Anwendungen für Jobs akzeptieren und das von einer Vielzahl von
  13. Quellen.
  14. </para>
  15. <para>
  16. You could create a queue "<filename>/queue/applications</filename>" that
  17. would have a sender and a receiver. The sender would be any available
  18. source that could connect to your message service or indirectly to an
  19. application (web) that could connect to the message service.
  20. </para>
  21. <para>
  22. The sender sends a message to the queue:
  23. </para>
  24. <programlisting language="xml"><![CDATA[
  25. <resume>
  26. <name>John Smith</name>
  27. <location>
  28. <city>San Francisco</city>
  29. <state>California</state>
  30. <zip>00001</zip>
  31. </location>
  32. <skills>
  33. <programming>PHP</programming>
  34. <programming>Perl</programming>
  35. </skills>
  36. </resume>
  37. ]]></programlisting>
  38. <para>
  39. The recipient or consumer of the queue would pick up the message and
  40. process the resume.
  41. </para>
  42. <para>
  43. There are many messaging patterns that can be applied to queues to abstract
  44. the flow of control from the code and provide metrics, transformations,
  45. and monitoring of messages queues. A good book on messaging patterns is
  46. <ulink
  47. url="http://www.amazon.com/Enterprise-Integration-Patterns-Designing-Addison-Wesley/dp/0321200683">Enterprise
  48. Integration Patterns: Designing, Building, and Deploying Messaging Solutions
  49. (Addison-Wesley Signature Series)</ulink>
  50. (ISBN-10 0321127420; ISBN-13 978-0321127426).
  51. </para>
  52. </sect1>