Skip to end of metadata
Go to start of metadata

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

Zend Framework: Zend_Service_Mollom Component Proposal

Proposed Component Name Zend_Service_Mollom
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Service_Mollom
Proposers Ruben Vermeersch
Zend Liaison TBD
Revision 1.0 - 21 December 2008: Initial Draft. (wiki revision: 7)

Table of Contents

1. Overview

Zend_Service_Mollom is a Zend Framework component for calling Mollom, a spam filtering and CAPTCHA service for blog comments and forum posts.

This component is currently released at http://ruben.savanne.be/articles/zend-service-mollom-documentation and has been reviewed (and approved) by the Mollom team. It is feature complete: it implements the full Mollom API and has unit tests that cover most of the feature set.

The caching API has been modeled similar to the one in Zend_Locale and Zend_Translate.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will allow users to call the Mollom API using a Zend_Service component.
  • This component will optionally support caching by means of a Zend_Cache_Core instance.

4. Dependencies on Other Framework Components

  • Zend_Cache_Core (optional)
  • Zend_Service_Abstract
  • Zend_Service_Exception
  • Zend_XmlRpc_Client
  • Zend_XmlRpc_Request

5. Theory of Operation

A user guide is available at http://ruben.savanne.be/articles/zend-service-mollom-documentation

6. Milestones / Tasks

  • Milestone 1: [DONE] Initial version, with test coverage (release 1.0.0 and 1.1.0, December 07)
  • Milestone 2: [DONE] Additional release, with optional caching support and additional test coverage (1.2.0, December 21)

7. Class Index

  • Zend_Service_Mollom
  • Zend_Service_Mollom_UnavailableException

8. Use Cases

Please check the documentation at http://ruben.savanne.be/articles/zend-service-mollom-documentation, which has been formatted nicely and explains the usage of this component.

9. Class Skeletons

]]></ac:plain-text-body></ac:macro>

]]></ac:plain-text-body></ac:macro>

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Mar 26, 2009

    <p>I see you have getImageCaptcha() and getAudioCaptcha() methods. Since this is obviously intended for use with form submissions, my question is: how will this integrate with Zend_Captcha and the Captcha form element, if at all? </p>

    <p>I can certainly see a use case where you simply check submitted form data against the service, and then display the captcha only – no form – but is that the intended use case? I'd like to see an example showing a complete round trip that uses the MVC to better illustrate how this would integrate the various components as well as how users might add it to their existing form submission process.</p>

    1. Apr 04, 2009

      <p><em>(Sorry for the late reply, I am currently extremely bogged down by my masters thesis, leaving little time for other work)</em></p>

      <p> In short: There currently isn't any integration with Zend_Captcha.</p>

      <p> In more detail: There currently isn't anny integration with Zend_Captcha <strong>yet</strong>. At the time of implementing Zend_Service_Mollom, Mollom only had its default (smart) way of working, where a captcha is only given back if Mollom is unsure. As such, there's no way to provide a Zend_Captcha implementation for general usage. At best we can return this from a validation query and restrict the other instantiations. Recently Mollom added a new pure CAPTCHA mode, which lies closer to what we are used to, so a more general purpose Zend_Captcha support is possible.</p>

      <p> I have not integrated this new mode yet (due to time constraints). Also, in my workflow, this was not a strict requirement (I don't use CAPTCHAs in my websites, so I personaly use this part of the API, hence less pressure to optimize this use case). It is perfectly possible to add (and it should), but I haven't come round to it yet.</p>

  2. Jul 14, 2009

    <ac:macro ac:name="note"><ac:parameter ac:name="title">Zend Framework Approval</ac:parameter><ac:rich-text-body>
    <p>This proposal is accepted for immediate development in the Standard Incubator.</p>

    <p>As part of the component, we would also like to see an implementation utilizing Moolom's "pure CAPTCHA mode" that can integrate with Zend_Captcha, as this provides yet another CAPTCHA backend for users to consume.</p></ac:rich-text-body></ac:macro>