[Building Sakai] Calling a service with AJAX

Aaron Zeckoski azeckoski at unicon.net
Mon May 23 06:14:41 PDT 2011


The custom actions are typically not "CRUD" (i.e. supporting create, read,
update AND delete) but normally just one aspect of that.
http://microformats.org/wiki/rest/urls

You should use EB and a provider but there is no reason you have to
implement the RESTful capability. Just implement what you need.
-AZ


2011/5/23 Tania Tritean <TTritean at loi.nl>

>  Hello,
>
>
>
> I am creating a user interface with AJAX and I want to call  some business
> logic that is not suitable for RESTful entity provider.
>
> I can implement it using EntityCustomAction  annotation in a restful
> provider, but I don’t feel is the right way to do is because is not a
> CRUDable operation.
>
>
>
>
>
> Does anybody know how can I do this in sakai without RESTful provider?
> (some already supported way to do this in sakai, like providers for rest)
>
>
>
>
>
> Thanks,
>
>
>
> Tania
>
> Tania Tritean
> Tel.: 035 629 39 23
>
> Leidse Onderwijsinstellingen bv
> Leidsedreef 2
> 2352 BA Leiderdorp
> www.loi.nl
>
>  ------------------------------
>
> [image: Nederland wordt steeds slimmer. Leidse Onderwijsinstellingen]
>
> De informatie verzonden met dit e-mailbericht (en bijlagen) is uitsluitend
> bestemd voor de geadresseerde(n) en zij die van de geadresseerde(n)
> toestemming hebben dit bericht te lezen. Gebruik door anderen dan
> geadresseerde(n) is verboden. De informatie in dit e-mailbericht (en de
> bijlagen) kan vertrouwelijk van aard zijn en kan binnen het bereik vallen
> van een wettelijke geheimhoudingsplicht. Indien u deze e-mail ten onrechte
> ontvangen hebt, wordt u verzocht ons daarvan zo spoedig mogelijk per e-mail
> of telefonisch op de hoogte te stellen, en het ontvangen bericht (en de
> bijlagen) te wissen zonder deze te lezen, te kopiëren of aan derden bekend
> te stellen.
>
> P  Denk aan het milieu voordat u dit bericht print
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>



-- 
Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110523/d8122f16/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 4378 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110523/d8122f16/attachment.gif 


More information about the sakai-dev mailing list