The Toolkit for Online Communities
18830 Community Members, 0 members online, 2027 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : providing RESTful apis : One Message

Forum OpenACS Q&A: Re: providing RESTful apis

3: Re: providing RESTful apis (response to 1)
Posted by Dave Bauer on
Seems like it is a good idea.

Don added json-procs.tcl to acs-tcl package last August, very handy.


Basically you need an API to register procs that can return a datasource you can convert to/from JSON.

In general, I find you still need to end up writing specific procedures since very few applications use simple objects, although maybe with acs-object-management you could manage different views and provide those with JSON.

4: Re: providing RESTful apis (response to 3)
Posted by Dave Bauer on
If you look at acs-object-management it gives you the tools to build up views/forms based on object types that would be useful to develop the data structures used in an restful API.