Skip to content

Home

nitaku edited this page Sep 12, 2012 · 9 revisions

Welcome to the FiveKit wiki!

Widgets

FiveKit defines many widget classes.

Default CSS

The class _waiting is used to display a progress cursor.

Protocols

FiveKit defines a few simple protocols for data interchange with servers. These protocols are used by widgets that support an AJAX behavior. A compliant web API must implement these protocols.

  • The "next" protocol, for accessing a sequence of items, one item at a time.
  • The "slice" protocol, for accessing a slice (a window) of consecutive items in a sequence.

CORS - Cross-Origin Resource Sharing

FiveKit is served with CORS enabled by using an .htaccess file. In order for this to work, Apache should be configured accordingly. First, mod_headers should be enabled:

sudo a2enmod headers

Then, in /etc/apache2/sites-enabled/000-default, AllowOverride should be set to All. For example:

<Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None All
    Order allow,deny
    allow from all
</Directory>

Finally, restart the server:

sudo apache2ctl restart
Something went wrong with that request. Please try again.