On 24 September 2012 06:40, mukul joshi <mukul.ashok.jo...@gmail.com> wrote:

>
> Thanks for the suggestions.
>
> I will start looking at the viewers i.e. Wicket and Restful Objects. I
> guess an application will be required in both the areas. So will start with
> a sample application and then see how these viewers are built/triggered.


What we've been moving to - slowly - is to move these sample applications
into the "tck" application (named after the technology compatibility kits
that formal Java specifications have).  The ideas, eventually, is to have a
single standard application that contains all of the features supported by
Isis (eg choices, defaults, validation, hiding, disabling, hints such as
memberorder, autocomplete, parent/child relations, polymorphic relations,
aggregated entities, custom value types etc... );such that each component
can use this same TCK app to write tests against.  (It might be possible in
the future to write contract tests [1] so we can be assured that the
behaviour of different implementations of the objectstore API, say, is
identical.

But in the first event, just to say that the tck app is the thing to use as
your sample app.  You'll find that there is wicket-tck and
restfulobjects-tck projects that will boot up that app in their respective
viewers.



> A
> selenium script will be applicable to both viewers - or will need
> customisation for both the viewers?
>

I can see selenium as being relevant to Wicket, but I don't see it as being
relevant to the RestfulObjects viewer.  For the latter, you can use the RO
applib.  Some of the existing tests already use this.

Even for the Wicket viewer, it might be possible to avoid the weight and
complexity of Selenium by instead using a lighter-weight testing library.
 On a (non-Isis) project I was on last year we used JSoup [2] with some
success.  It's licensed under MIT, so is compatible with ASF.



> What is required to use the latest Restful Objects spec? Do we need to
> implement the latest spec?
>

Yes, we need to implement the latest spec.   The spec currently is at
v1.0.0, but the Isis implementation (ie viewer/restfulobjects) is currently
at v0.52.  In fact, given I wrote the spec, it'd be rather good if someone
other than me did the remainder of the implementation + tests ;-)


If you prefer to use git over svn, you might find it easiest to work using
a fork from my github copy of Isis [3]

Cheers
Dan

[1] http://martinfowler.com/bliki/IntegrationContractTest.html
[2] http://jsoup.org/
[3] https://github.com/danhaywood/apache-isis




> Thanks & Regards,
> Mukul
>
> On 20 September 2012 23:29, Dan Haywood <d...@haywood-associates.co.uk
> >wrote:
>
> > Hi Mukul / anyone else...
> >
> > On 4 September 2012 11:17, mukul joshi <mukul.ashok.jo...@gmail.com>
> > wrote:
> >
> > >
> > > Let me know if you need help in any areas where the design is clear and
> > the
> > > changes are clear cut. I can start with some simple things. I have just
> > > started to go through the organisation of Isis and its architecture.
> > >
> > >
> > Just wanted to pick up on your offer... are there any areas of Isis in
> > particular you feel like working on?  (Of course, not being a committer
> > these would need to be patches attached to JIRAs; but forking from github
> > makes this relatively painless to do).
> >
> > Right now my own interests are in the Wicket viewer, and the JDO
> > objectstore.  So one thing that would be of help is just building some
> new
> > apps that use these particular components, and help test them by using
> > them.  Or, (though this doesn't sound like fun to me), writing some
> > end-to-end regression tests for the wicket viewer using Selenium or JSoup
> > or something similar will be needed at some point.
> >
> > Another area that needs work is the Restful Objects viewer... currently
> it
> > doesn't implement the spec 1.0.0.  That's a nice little discrete area to
> > work on.
> >
> > Alternatively, there's a bunch of "newbie" issues up on Jira [1].  A lot
> of
> > them are to do with building "off-the-shelf" domain services and/or
> > entities.  Would all be valuable stuff.
> >
> > Let me know if any of this sounds of interest
> >
> > Dan
> >
> > PS: other committers... please feel free to suggest other ideas!
> >
> > [1] newbie issues query -
> >
> >
> https://issues.apache.org/jira/secure/IssueNavigator.jspa?mode=hide&requestId=12318871
> >
> >
> > Thanks & Regards,
> > > Mukul
> > >
> > >
> >
>

Reply via email to