From photark-dev-return-1049-apmail-incubator-photark-dev-archive=incubator.apache.org@incubator.apache.org Tue Oct 26 17:44:26 2010 Return-Path: Delivered-To: apmail-incubator-photark-dev-archive@minotaur.apache.org Received: (qmail 77686 invoked from network); 26 Oct 2010 17:44:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Oct 2010 17:44:26 -0000 Received: (qmail 71872 invoked by uid 500); 26 Oct 2010 17:44:26 -0000 Delivered-To: apmail-incubator-photark-dev-archive@incubator.apache.org Received: (qmail 71834 invoked by uid 500); 26 Oct 2010 17:44:25 -0000 Mailing-List: contact photark-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: photark-dev@incubator.apache.org Delivered-To: mailing list photark-dev@incubator.apache.org Received: (qmail 71825 invoked by uid 99); 26 Oct 2010 17:44:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Oct 2010 17:44:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of luckbr1975@gmail.com designates 209.85.160.47 as permitted sender) Received: from [209.85.160.47] (HELO mail-pw0-f47.google.com) (209.85.160.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Oct 2010 17:44:20 +0000 Received: by pwj4 with SMTP id 4so689011pwj.6 for ; Tue, 26 Oct 2010 10:44:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=c9AdwPLtK0ELlPt0DM3fTEpFphfaUIwjFYzrT0kdIqE=; b=g+L1Tfe+dp7KZqTRJv6ErxEq9LmzTbhMbgw6emcJ34cDXNxG9StbVq/lJMCT+98Np3 3u9SuVDgjtOiOzbcQ0aK0CbMwNYlvnngZo6SC6QJL/rWvDk4gEwJenffDgf0VeZD0uy0 DffQWK58xg7GysQ79x/a6hjA3EYeKk5E3Fhwg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=XSjKMh134UcVYSRrwcAUfa+3pNBee5FxtUFvzMRyEttAhhtHEj5jhIdIVc2vWg6/CR enZSllMuAoBYCvnICzTIZonVZLbIravXEXRJMOu1E1wRqOkx9GToA8PDYttsiTzHH3OR ZdGjPrmhSqOdcjt7mkIWcm4cuPpYozUqbWzL8= MIME-Version: 1.0 Received: by 10.42.91.207 with SMTP id q15mr6458466icm.83.1288115039344; Tue, 26 Oct 2010 10:43:59 -0700 (PDT) Received: by 10.231.36.72 with HTTP; Tue, 26 Oct 2010 10:43:59 -0700 (PDT) In-Reply-To: References: Date: Tue, 26 Oct 2010 10:43:59 -0700 Message-ID: Subject: Re: Display remote albums in gallery From: Luciano Resende To: photark-dev@incubator.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Oct 26, 2010 at 12:40 AM, Subash Chaturanga w= rote: > > "Partitioning the JCR to better differentiate these albums " , as I feel > without directly storing them in the root level we can have two nodes cal= led > local and remote. And inside remote we can have picasa and flicker and th= en > put albums in the typical way.But this would cause to change considerable > amount of code which already acting =C2=A0based on the root level albums.= So what > I was trying to do is store them in the root level as now and view them i= n > gallery any how. Wonder what is the best way, either to keep this as it i= s > or modify the JCR album structure. > > In the REST branch, I think I had used "Albums" and "RemoteAlbums" as root for different types of albums. As for a lot of code changes, if you make "gallery" to be an aggregator of Albums and RemoteAlbums, there might be no side effects bubbled up to the ui, thus not a lot of change ? The issue is that the code is getting more and more complicated to maintain it. --=20 Luciano Resende http://people.apache.org/~lresende http://twitter.com/lresende1975 http://lresende.blogspot.com/