From user-return-6507-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Sun Sep 20 21:56:15 2009 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 53084 invoked from network); 20 Sep 2009 21:56:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Sep 2009 21:56:15 -0000 Received: (qmail 40889 invoked by uid 500); 20 Sep 2009 21:56:13 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 40855 invoked by uid 500); 20 Sep 2009 21:56:13 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 40844 invoked by uid 500); 20 Sep 2009 21:56:13 -0000 Delivered-To: apmail-incubator-couchdb-user@incubator.apache.org Received: (qmail 40841 invoked by uid 99); 20 Sep 2009 21:56:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Sep 2009 21:56:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jchris@gmail.com designates 209.85.212.198 as permitted sender) Received: from [209.85.212.198] (HELO mail-vw0-f198.google.com) (209.85.212.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Sep 2009 21:56:03 +0000 Received: by vws36 with SMTP id 36so1943669vws.22 for ; Sun, 20 Sep 2009 14:55:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=7UQk3XQpEVg/Xyci9O89v6bSeIBZilrFTd9VNU4WNZI=; b=QlNiEV+lXk8ZkI5HPcIlfnVw8TML9LuawDjLL8nKxtdM6XDQfxsQVDktHxeyh/U4q5 MgzTH8X4AgCNN8W6WT/F9su0bcfqwG1qchljr6LQhKQMeDxwcTNwx/8gEWlGBaH4x5MI zUjetE8rtIDl3mkwrHvz5tg5eABodHePi0Khw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=MNc6Up4tiiQ/M4+wyGbxRzcwkOvpJAwPw/2BVTC5CZpzTaewtLJ6RR7JP8uXBL+a6Z rw6n+IPloYmAPZ1NTTfkTDuKo+nZvoDmg+CAurpTV2pEkUjO83m0ymSYz7APcDOoUrlI hI1Qiizw67QKXQGTDqjzIbRg2KDQlHK5n9+pI= MIME-Version: 1.0 Sender: jchris@gmail.com Received: by 10.220.108.102 with SMTP id e38mr4577426vcp.71.1253483741823; Sun, 20 Sep 2009 14:55:41 -0700 (PDT) In-Reply-To: <66f535320909200127re1f3absb972d47ada6ba022@mail.gmail.com> References: <66f535320909200127re1f3absb972d47ada6ba022@mail.gmail.com> Date: Sun, 20 Sep 2009 14:55:41 -0700 X-Google-Sender-Auth: 8b4e7fd93fee48d1 Message-ID: Subject: Re: couchapp templating, alternatives to template.js? From: Chris Anderson To: user@couchdb.apache.org Cc: couchdb-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Sun, Sep 20, 2009 at 1:27 AM, Oliver Oli wrote: > I've started writing a simple website with couchapp. It took me a few > hours to grasp the couchdb way, but now it feels much more > straightforward than other web app frameworks. Though I'm missing a > good template engine. template.js is maybe good enough for the most > basic html templates, but it doesn't play well with javascript > embedded in html. Are there alternative template libs that you can > recommend for couchdb / server side templating? Maybe a lib that > supports Django's template syntax? > > Btw, is anyone using haxe with couchdb? > I've been wanting to patch template.js to allow embedded javascript. But hey, it looks like http://embeddedjs.com/ has been growing up nicely, thanks for the reminder, Benoit. Does anyone know if the EJS team is using CouchDB yet? Chris -- Chris Anderson http://jchrisa.net http://couch.io