Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Intelligent lazy and parallel snippet

Received: by 10.50.87.169 with SMTP id az9mr7987502igb.0.1335264858491;
        Tue, 24 Apr 2012 03:54:18 -0700 (PDT)
X-BeenThere: liftweb@googlegroups.com
Received: by 10.231.84.14 with SMTP id h14ls4478944ibl.7.gmail; Tue, 24 Apr
 2012 03:54:12 -0700 (PDT)
Received: by 10.50.217.193 with SMTP id pa1mr7983731igc.1.1335264852937;
        Tue, 24 Apr 2012 03:54:12 -0700 (PDT)
Received: by 10.50.217.193 with SMTP id pa1mr7983730igc.1.1335264852927;
        Tue, 24 Apr 2012 03:54:12 -0700 (PDT)
Return-Path: <je...@ingolfs.dk>
Received: from mail-ob0-f178.google.com (mail-ob0-f178.google.com [209.85.214.178])
        by gmr-mx.google.com with ESMTPS id no9si6664970igc.0.2012.04.24.03.54.12
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 24 Apr 2012 03:54:12 -0700 (PDT)
Received-SPF: neutral (google.com: 209.85.214.178 is neither permitted nor denied by best guess record for domain of je...@ingolfs.dk) client-ip=209.85.214.178;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.214.178 is neither permitted nor denied by best guess record for domain of je...@ingolfs.dk) smtp.mail=je...@ingolfs.dk
Received: by mail-ob0-f178.google.com with SMTP id wc18so933371obb.9
        for <liftweb@googlegroups.com>; Tue, 24 Apr 2012 03:54:12 -0700 (PDT)
        d=google.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding:x-gm-message-state;
        bh=bI/ZrLcXwj3cVKJ8CTf1AwKnekbvaxAxQEFwvTvBoSs=;
        b=Hrg3R32KBN+6d96mKd7sCWPRR4k+TeIhS7VfKO8ju2xwVO1Pn5u4ygXTcYxI6bi3Ai
         hSf4V+2dNR2DnZmFGwbga1xuAnl9CErTibKDYmBh+zvple+9cONjeDE56xI4/UtIk76h
         j1HfPncJ7gyv37q3TZITMwgvJGGO3WCJHNZF6e+Wnd4FW1nCuEDpChjdLRcHdTpXkfwC
         utoXtz6DJmhS2dD6WcutvzK6NhrnZHYVyt85a0hgVnTfFIS2XROkVARtvSmxD+/1UlAL
         kaiRzQ4gD9B8oS/rP6wtdLS3Q+oDkZL3sbFpGBM3gK6UnGnC6gopuQwZEvKfFa7NTLH5
         UgGg==
MIME-Version: 1.0
Received: by 10.50.40.130 with SMTP id x2mr13565938igk.0.1335264851994; Tue,
 24 Apr 2012 03:54:11 -0700 (PDT)
Received: by 10.231.85.92 with HTTP; Tue, 24 Apr 2012 03:54:11 -0700 (PDT)
In-Reply-To: <30178575.504.1335256945962.JavaMail.geo-discussion-forums@pbkc8>
References: <30178575.504.1335256945962.JavaMail.geo-discussion-forums@pbkc8>
Date: Tue, 24 Apr 2012 12:54:11 +0200
Message-ID: <CAHaTLWD30rGCiTi5dubzOqwxAg+NO+E-Ls1kGdOb-kWhao+...@mail.gmail.com>
Subject: Re: [Lift] Intelligent lazy and parallel snippet
From: Jeppe Nejsum Madsen <je...@ingolfs.dk>
To: liftweb@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQkUE+XGn4dZq+vuQ7sYiPqfyBXO3XVVjohcafBsVRvBmp3cZms4xZW6XabQoNktYi2O7miy

On Tue, Apr 24, 2012 at 10:42 AM, xzer <xiao...@gmail.com> wrote:
> There is parallel snippet in lift, but it seems that it is not easy to us=
e.
>
> To avoid long time execution on a parallel snippet, there is a timeout li=
mit
> on it,
> it is good but we will get a failure when timeout=A0occurred. So how abou=
t to
> mix
> a parallel snippet to a lazy load snippet? It will intelligently decide t=
o
> render the
> manufactured html if the manufacturing finished in time or to output a la=
zy
> load
> js hanlder if the manufacturing did not finished in time.
>
> In fact, I have implemented it in my current project, but unfortunately, =
to
> avoid
> hack lift itself, I did this task in a awful way. Anyway, I can transform=
 a
> existed
> snippet to a intelligent lazy load and parallel snippet simply now.
>
> Is there anybody being interesting in this? And is there any possibility
> that I can
> contribute this thing to the lift core source?

Sounds interesting. Perhaps add it as a lift module
http://www.assembla.com/spaces/liftweb/wiki/External_Modules_Repository

/Jeppe