You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by Dan Haywood <da...@haywood-associates.co.uk> on 2013/04/27 20:28:33 UTC

Substantial updates to the RO viewer...

Folks,

for those working from master (HEAD), please note that I've just merged
(into master) a branch [1] I've been working on to move to RO spec v1.0
[2].  This has now been pushed to our git repo.

There's still a lot of work to do (see all the TODO test cases in the
isis-viewer-restfulobjects-tck module), but I felt that's I'd made
sufficient progress in that branch to do the merge.

If you've been spiking prototypes (this is mostly for the GSOC guys), note
that some of the rels (for hrefs) and URLs have changed, and the members
node for domain object representations is now a map, not a list.

If in doubt about what the behaviour should be, consult the RO spec v1.0.

If the code is at variance with the spec and you are blocked, either just
go ahead and fix it (and the tck test) and provide a patch, or
alternatively  notify me via the dev list and I'll aim to fix the
discrepancy as a priority.

Thx
Dan


[1] https://issues.apache.org/jira/browse/ISIS-233
[2] http://restfulobjects.org

Re: Substantial updates to the RO viewer...

Posted by Adam Howard <ho...@gmail.com>.
Hi All,

On my phone so can't say much but I wanted to point out some
JavaScript I wrote to interface with both the old Isis RO viewer
(v0.52) and the RO.NET viewer (v1.0.0). The file is roclient.js[1] in
the AROW project[2]. It contains all of the translations between the
two versions of the spec. You can see the urn differences, for
example, in the definition of 'var specs'. I'd be happy to answer any
questions about the code or about building a viewer on top of RO.

-- Adam

[1] https://github.com/adamhoward/arow/blob/master/arow/roclient.js
[2] https://github.com/adamhoward/arow/

On Apr 27, 2013, at 2:29 PM, Dan Haywood <da...@haywood-associates.co.uk> wrote:

> Folks,
>
> for those working from master (HEAD), please note that I've just merged
> (into master) a branch [1] I've been working on to move to RO spec v1.0
> [2].  This has now been pushed to our git repo.
>
> There's still a lot of work to do (see all the TODO test cases in the
> isis-viewer-restfulobjects-tck module), but I felt that's I'd made
> sufficient progress in that branch to do the merge.
>
> If you've been spiking prototypes (this is mostly for the GSOC guys), note
> that some of the rels (for hrefs) and URLs have changed, and the members
> node for domain object representations is now a map, not a list.
>
> If in doubt about what the behaviour should be, consult the RO spec v1.0.
>
> If the code is at variance with the spec and you are blocked, either just
> go ahead and fix it (and the tck test) and provide a patch, or
> alternatively  notify me via the dev list and I'll aim to fix the
> discrepancy as a priority.
>
> Thx
> Dan
>
>
> [1] https://issues.apache.org/jira/browse/ISIS-233
> [2] http://restfulobjects.org

Re: Substantial updates to the RO viewer...

Posted by Adam Howard <ho...@gmail.com>.
Hi All,

On my phone so can't say much but I wanted to point out some
JavaScript I wrote to interface with both the old Isis RO viewer
(v0.52) and the RO.NET viewer (v1.0.0). The file is roclient.js[1] in
the AROW project[2]. It contains all of the translations between the
two versions of the spec. You can see the urn differences, for
example, in the definition of 'var specs'. I'd be happy to answer any
questions about the code or about building a viewer on top of RO.

-- Adam

[1] https://github.com/adamhoward/arow/blob/master/arow/roclient.js
[2] https://github.com/adamhoward/arow/

On Apr 27, 2013, at 2:29 PM, Dan Haywood <da...@haywood-associates.co.uk> wrote:

> Folks,
>
> for those working from master (HEAD), please note that I've just merged
> (into master) a branch [1] I've been working on to move to RO spec v1.0
> [2].  This has now been pushed to our git repo.
>
> There's still a lot of work to do (see all the TODO test cases in the
> isis-viewer-restfulobjects-tck module), but I felt that's I'd made
> sufficient progress in that branch to do the merge.
>
> If you've been spiking prototypes (this is mostly for the GSOC guys), note
> that some of the rels (for hrefs) and URLs have changed, and the members
> node for domain object representations is now a map, not a list.
>
> If in doubt about what the behaviour should be, consult the RO spec v1.0.
>
> If the code is at variance with the spec and you are blocked, either just
> go ahead and fix it (and the tck test) and provide a patch, or
> alternatively  notify me via the dev list and I'll aim to fix the
> discrepancy as a priority.
>
> Thx
> Dan
>
>
> [1] https://issues.apache.org/jira/browse/ISIS-233
> [2] http://restfulobjects.org