Developer Manual
================

Note: You find a developer manual for raptus.article at 
`raptus.article.core <http://pypi.python.org/pypi/raptus.article.core>`_.
Please have look there if you need more information.

Code overview
=============

Adapters
--------

file: adapters.py
`````````````````

- Flashs (Provider for flash movies contained in an article)
    - interface: IFlashs
    - adapts: IArticle
    - getFlashs - method (Returns a list of flash movies (catalog brains))

- FlashSize (Handler for image thumbing and captioning)
    - interface: IFlashSize
    - adapts:IFlash
    - getSize - method (Returns the width and height registered for the specific size
      The sizes are taken from the raptus_article properties sheet and are formed by the 
      following name schema: flash_<size>_(height|width))

Components
----------

plone.abovecontentbody
``````````````````````
- raptus.article.flash.right
- raptus.article.flash.left
- raptus.article.flash.full

plone.portaltop
```````````````
- raptus.article.flash.teaser

Interfaces
----------

file: interfaces.py
```````````````````

- IFlashs (Provider for flash movies contained in an article)
    - getFlashs - method (Returns a list of flash movies (catalog brains))

- IFlashSize (Handler for sizing of flash files)
    - getSize - method (Returns the width and height registered for the specific size
      The sizes are taken from the raptus_article properties sheet and are formed by the 
      following name schema: flash_<size>_(height|width)

- IFlash (Marker interface for the flash content type)
