lino.modlib.extjs.views¶
Summary from <http://en.wikipedia.org/wiki/Restful>:
On an element:
GET : Retrieve a representation of the addressed member of the collection expressed in an appropriate MIME type.
PUT : Update the addressed member of the collection or create it with the specified ID.
POST : Treats the addressed member as a collection and creates a new subordinate of it.
DELETE : Delete the addressed member of the collection.
On a list:
GET : List the members of the collection.
PUT : Replace the entire collection with another collection.
POST : Create a new entry in the collection where the ID is assigned automatically by the collection. The ID created is included as part of the data returned by this operation.
DELETE : Delete the entire collection.
(This module's source code is available here.)
Functions
|
|
|
Returns a dict of this record, designed for usage by an EmptyTable. |
|
Classes
|
|
|
Similar to PlainIndex |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Used to collaborate with a restful Ext.data.Store. |
|
-
lino.modlib.extjs.views.
elem2rec_empty
(ar, ah, elem, **rec)¶ Returns a dict of this record, designed for usage by an EmptyTable.
-
class
lino.modlib.extjs.views.
AdminIndex
(**kwargs)¶ Bases:
django.views.generic.base.View
Similar to PlainIndex
-
class
lino.modlib.extjs.views.
RunJasmine
(**kwargs)¶
-
class
lino.modlib.extjs.views.
EidAppletService
(**kwargs)¶
-
class
lino.modlib.extjs.views.
Restful
(**kwargs)¶ Bases:
django.views.generic.base.View
Used to collaborate with a restful Ext.data.Store.