openmeetings-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Solodovnik <solomax...@gmail.com>
Subject Re: REST module and gateway unified
Date Fri, 03 Jan 2014 13:43:10 GMT
Another try to generalize it :)
https://code.google.com/a/apache-extras.org/p/openmeetings-api-plugin

Already used in moodle plugin (using svn:externals
http://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html)


On Mon, Aug 6, 2012 at 12:21 AM, seba.wagner@gmail.com <
seba.wagner@gmail.com> wrote:

> ok!
>
> There are some modules that have custom parameters set in the
> openmeetings_gateway.php.
> To generalize it you would need to define some interface that makes
> sure that for example the methods are overwritten. For example
> "getUrl* is likely to be unique in every integration plugin.
> We could then use a generalized openmeetings_gateway.php in all
> integration projects and in the implementations of each project
> invokes the super class (or explizitely delegates methods).
>
> Sebastian
>
> 2012/8/5 Maxim Solodovnik <solomax666@gmail.com>:
> > Hello Sebastian,
> >
> > I have unified OM gateway and modified class working with rest to be
> able to
> > return REST arrays as PHP array
> >
> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/bitrix/classes/general/openmeetings_gateway.php?revision=1369579&view=markup
> > method getAvailableRooms
> > + all methods modified to use helpers preparing REST and checking result.
> > I'll additionally modify this class to unify URL parameters concatenation
> >
> >
> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/bitrix/classes/general/lib/openmeetings_rest_service.php?view=markup
> > getArray method is added and code modified to use it
> >
> >
> > JFYI
> >
> > --
> > WBR
> > Maxim aka solomax
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
WBR
Maxim aka solomax

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message