Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 27351 invoked from network); 11 Nov 2008 04:17:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Nov 2008 04:17:45 -0000 Received: (qmail 91814 invoked by uid 500); 11 Nov 2008 04:17:51 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 91775 invoked by uid 500); 11 Nov 2008 04:17:51 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 91763 invoked by uid 99); 11 Nov 2008 04:17:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 20:17:51 -0800 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.217.11] (HELO mail-gx0-f11.google.com) (209.85.217.11) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 04:16:31 +0000 Received: by gxk4 with SMTP id 4so2429646gxk.3 for ; Mon, 10 Nov 2008 20:16:13 -0800 (PST) Received: by 10.90.78.14 with SMTP id a14mr6847255agb.26.1226376972374; Mon, 10 Nov 2008 20:16:12 -0800 (PST) Received: by 10.90.90.17 with HTTP; Mon, 10 Nov 2008 20:16:12 -0800 (PST) Message-ID: <64a10fff0811102016i4fd830a6yfaacf4365346b2d7@mail.gmail.com> Date: Mon, 10 Nov 2008 23:16:12 -0500 From: "Dean Landolt" To: couchdb-user@incubator.apache.org Subject: Re: action servers In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_101633_26064581.1226376972368" References: <64a10fff0811101758g33973bbau1fff53f4c789f11e@mail.gmail.com> <64a10fff0811101928q36c862fayb5532f92be342467@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_101633_26064581.1226376972368 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Mon, Nov 10, 2008 at 10:42 PM, Chris Anderson wrote: > Dean, what OS are you on? I'm due to try a from-scratch install on a > VM, and I've got a MacBook laying around that needs action2, so I'll > try those installs in the next couple of days. Hopefully it's > something easy to fix when I've reproduced it. > > On Mon, Nov 10, 2008 at 7:28 PM, Dean Landolt > wrote: > > (I hope you don't mind my poking around your db internals, jchris) > > Please feel free to as long as you play nice. If you'd like to deploy > your feed reader to my CouchDB, you're welcome to. No promises about > uptime! Beautiful -- and I promise I'll be nice. Though, couch's sound design means there's nothing I can do to your system (other than drop your dbs, which I won't touch obviously). Are there any other security concerns in that light? I've left my instance wide for a few friends to play with -- perhaps I should have asked this earlier. > > It's got everything you referenced (and the paths look right -- it's a > > strait install). So I'm still at a loss. Ah well -- I'm trying to slap > > together an unobtrusive google reader clone so I've gots plenty to do > before > > I need to worry about persistence. I can just do everything in the > browser > > in the meantime. > > Very cool. I'm working on a Twitter client, and it hasn't even needed > to dip into action servers yet. The main action use I can see for you > would be as a built-in proxy for fetching RSS feeds. I know -- I *was* poking around. I feel like such a peeping tom, though it does have a TI-82 feel (my high school baseline -- am I dating myself with that one?)... I noticed you were still action-free -- but to do it unobtrusively I'm going to need the action server for every request -- and based on the req obj it can decide whether to pass the whole template or just the small piece that I can jQuery.load into the dom (I haven't been able to examine the req yet but I imagine I'll be able to get to the jQuery X-Requested-With header it passes in). But yeah, if I squash the unobtrusive thing I'll probably only need an action for periodic feed updates (any ideas on a good cron strategy for something like an action server that would take through replication?). > > > The Twitter client is up on my public couch now. I haven't tried it on > anything but a Mac with firefox/firebug or Safari. It seems to work. > Please let me know if it works for you! > > > http://jchris.mfdz.com:5984/twitter-client/_design%2Ftwitter-client/index.html I already tried it -- I couldn't help myself. An hour ago all I got was a black screen -- now I see some action down below (other than the tweet form everything gets cut off on Firefox Ubuntu Hardy). > > > (I don't store passwords, or even see them - the browser just basic > auth's with Twitter's JSONP api.) There's a cosmetic problem when > posting status updates, where Twitter's response gets downloaded > instead of silently hitting the iframe... I sure hope I can solve that > while still maintaining the direct user-twitter connection. Screw cosmetics. Don't forget there's always a better designer out there -- justTI-85 the thing and that's easy enough for someone else to fix! > > > > > > I haven't even gotten started yet and I think I'm starting to love this > > javascript + javascript development. > > > > Glad you like it! I'm a python guy but I've really grown to appreciate the beauty of javascript. Frankly I'm starting to really miss js anonymous function blocks every time I try to cram a lambda onto one line (among other things). But this whole notion of not having to worry about deployment...at...all. Just thinking about it makes me want to almost cry. > > > > > -- > Chris Anderson > http://jchris.mfdz.com > ------=_Part_101633_26064581.1226376972368--