Chapter 9. Protocol Extensions

Table of Contents

Sencha Adapter

With the help of LinkRestAdapter and other LinkRest extension techniques one can extend or customize the protocol to recognize extra control parameters, etc. LinkRest ships with one such optional extension that adapts the framework for the use with Sencha/ExtJS JavaScript client. This extension is described below.

Sencha Adapter

SenchaAdapter provides a few extensions to the LinkRest protocol to better handle certain Sencha features:

  • If a to-one relationship property is included in the Collection, the framework would also generate a companion "synthetic" FK property called "propertyName_id"

  • "filter" key - an alternative to "cayenneExp".

  • "group" / "groupDir" keys that are functionally equivalent to "sort" / "dir".