Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 9253 invoked from network); 29 Oct 2010 19:06:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Oct 2010 19:06:04 -0000 Received: (qmail 37526 invoked by uid 500); 29 Oct 2010 19:06:04 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 37487 invoked by uid 500); 29 Oct 2010 19:06:03 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 37475 invoked by uid 99); 29 Oct 2010 19:06:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Oct 2010 19:06:03 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chadmichaeldavis@gmail.com designates 209.85.214.42 as permitted sender) Received: from [209.85.214.42] (HELO mail-bw0-f42.google.com) (209.85.214.42) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Oct 2010 19:05:56 +0000 Received: by bwz13 with SMTP id 13so2678034bwz.1 for ; Fri, 29 Oct 2010 12:05:36 -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=Im1yrifZ2q71a3iIono6hzOfR6NkW475oOTSKeP5uvs=; b=eUwIu5SuchlocAMpkCV688Lr7DeXH5Dkl4wi3Jj7S+HnoQmDcIItvqAb2O2LmY8RbP Fap7YxZMoN1k+CGD2LYDp/hhSrrDQerzOsaIja4ZYYMRZyQBMLgLCW9bpZiNcVZGHwc+ hz+LsVEYpSUmSndZAo1cZYDnvf+EjmjrwXSmM= 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=fPVvQBfY4puTodJLZnj653obRh/wIstssMkSoYyYgrUuSQJCSzZPCNzFhpXhupWoJG CJpWQVwSO7fg720xOxOeo5OtGqJ0x0/wJGWFRT+1QcrirBLLtmYvroicdg/rkQaKlQl7 UlF3sITP515EakpwFksz8pWAjVcTdQXApaFRE= MIME-Version: 1.0 Received: by 10.204.62.139 with SMTP id x11mr1889840bkh.28.1288379136656; Fri, 29 Oct 2010 12:05:36 -0700 (PDT) Received: by 10.204.67.75 with HTTP; Fri, 29 Oct 2010 12:05:36 -0700 (PDT) In-Reply-To: <632606AC-F259-4DE0-BE15-DEFD12C19F6C@sptci.com> References: <632606AC-F259-4DE0-BE15-DEFD12C19F6C@sptci.com> Date: Fri, 29 Oct 2010 13:05:36 -0600 Message-ID: Subject: Re: improving efficiency From: ChadDavis To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Oct 29, 2010 at 12:57 PM, Rakesh Vidyadharan wro= te: > > On 28 Oct 2010, at 16:12, ChadDavis wrote: > >> I'm working on a CMS based on Jackrabbit. =A0The UI is a RIA, of sorts. >> The user is presented with a file tree structure. =A0If they are at the >> root folder, then the tree is pretty big. =A0I *need* to have the whole >> data model in order to build the file tree in the UI, but it's an >> obviously costly act. =A0 =A0I'm now trying to determine my options for >> making this process more efficient. =A0Here's a couple I've thought of, >> and I'm hoping that someone will provide some guidance. >> >> 1) I could load only a portion of the tree, then use Ajax techniques >> to lazy load the deeper folders in the tree as the user works through >> them > > I use this technique and have not had any issues. > How much of the data model do you pull down on the first request? Do you wait for the user to click on a folder to get more? > Rakesh >