Re: architecture questions
Angela Cymbalak <[email protected]> Wed, 27 Aug 2008 16:32:52 -0400
| Newsgroups | gmane.comp.apache.incubator.projects |
|---|---|
| Message-ID | <[email protected]> |
I think moving the code is a great idea. Also, I was having problems getting it to run because I know that my classpath is incorrect. I just haven't had enough time in one sitting to fix it completely. Will the correct jars be part of the project or should we just create a list of which files are needed for the project? I also like the idea of defining the basic scenarios. That will give us a perfect start for a Web page describing the product as well. Angie At 03:58 PM 8/27/2008, Luciano Resende wrote: >Would it be better if we define a set of basic scenarios/functionality >we want to have for PhotArk 0.1, and then we start expanding and >choosing the best design/technology to use during implementation ? I >guess this would allow us to have the right questions to allow us to >properly pick/choose design, technology, etc > >Also, I was wondering if I should move the sample code I had started >in Tuscany to our new photArk svn repo > >On Wed, Aug 27, 2008 at 12:48 PM, Felix Meschberger ><[email protected]> wrote: > > Hi, > > > > Roland Weber schrieb: > >> > >> Hi Angie, > >> > >> happy hacking :-) > >> > >> As I understand it, you are currently working from > >> Luciano's Tuscany-based codebase, hence the ? arrow. > >> Unless you have way too much time on your hands, I > >> would stick with that architecture until the layout > >> of the repository is stabilized. > >> Regarding the ? box, I also don't see a layer there. > >> Sling is meant to access JCR directly, if I am not > >> mistaken. Of course one should have a few helper > >> interfaces or classes that define the repository > >> layout, but these are utilities and not an access > >> layer that separates the front-end from the repository. > > > > Yes, Sling accesses the repository directly and maps it into its own > > abstraction called the Resource tree. Each Resource retrieved from the > > Resource tree by means of the so-called ResourceResolver can be adapted to > > other objects. > > > > For example if a Resource is backed by a JCR node, you can adapt it to the > > Node interface and get the backing node. If you employ Jackrabbit Object > > Content Mapping (OCM) you may also adapt to the object classes > mapped by the > > content. This gives you seemless access to the repository data as raw JCR > > items or as mapped business objects. > > > > Hope this helps. > > > > Regards > > Felix > > > > > >> > >> Maybe you want to put a small "access control" box > >> into the JCR box? > >> > >> cheers, > >> Roland > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > >-- >Luciano Resende >Apache Tuscany Committer >http://people.apache.org/~lresende >http://lresende.blogspot.com/ > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected]