Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 170ECDEA7 for ; Mon, 16 Jul 2012 19:46:43 +0000 (UTC) Received: (qmail 24532 invoked by uid 500); 16 Jul 2012 19:46:42 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 24515 invoked by uid 500); 16 Jul 2012 19:46:42 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 24503 invoked by uid 99); 16 Jul 2012 19:46:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2012 19:46:42 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of brian.leroux@gmail.com designates 209.85.161.175 as permitted sender) Received: from [209.85.161.175] (HELO mail-gg0-f175.google.com) (209.85.161.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2012 19:46:37 +0000 Received: by ggnp4 with SMTP id p4so5036502ggn.6 for ; Mon, 16 Jul 2012 12:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=9LSiHjCjKtXBM0PFjKSFLDW2zLrMHm28iJWXy74BYNw=; b=SCMJt2Yb5cgNeunHNonyO+XQnOC2O7KBTKJGJaWbyB9ZnYmRrUr3scUwp4MPkq/s7U 1M1a7nHlSd1WGWI2LgqS9Ud4+xu9x6FtIqjXW2acAcQ8+H8FFeQl5348YyAlv4wrgSQ3 8YfvLAnTLtJGKKgNmY4BNuu9MrwoWnYCJTFr86qGyAEsDdPnGRhy96t2M3HEZTStJ0lO Z6EC5f1GppwyQNQJOJPJ3wbfufypYKvnPPga3XKPfdVe1oIeRAWyLb4+IkC/W3CkBP25 jDRi1wWkYSOiq0kitCw+uuVDeulCvlz9uTuI/RgrQGmCfN9p8y2+MJtaH3RYujsyXdsP 6/MQ== MIME-Version: 1.0 Received: by 10.50.94.133 with SMTP id dc5mr6156346igb.16.1342467976265; Mon, 16 Jul 2012 12:46:16 -0700 (PDT) Sender: brian.leroux@gmail.com Received: by 10.231.206.13 with HTTP; Mon, 16 Jul 2012 12:46:16 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 Jul 2012 12:46:16 -0700 X-Google-Sender-Auth: G5CCdfdcKBJivZvO7urcd0Ayus4 Message-ID: Subject: Re: Plugin Development Guide From: Brian LeRoux To: callback-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 like it, another nice thing about that echo plugin is a baseline for benching the bridge perf; fil should this tie into the cordova-cli stuff? On Mon, Jul 16, 2012 at 12:13 PM, Filip Maj wrote: > Great stuff Mike, thanks. > > I think for the easy win, we host it under an "example-plugin" folder or > something of the like in the platform repos this week. > > I can aggregate these into a labs branch and add in support for the > cordova plugin spec, structure the code appropriately, etc. > > On 7/16/12 11:41 AM, "Michael Brooks" wrote: > >>Hello guys, >> >>The plugin development guide exists as issue CB-862 [1] with sub-tasks for >>each plugin. >> >>Immediate Goal: >> >>The goal is the walk the user through developing a simple "Hello Cordova" >>plugin. >> >>In issue CB-862, I've proposed walking the user through the creation of a >>"Cordova Echo" plugin that simply returns the same string that it was >>called with. This shows the user the plugin's invoke cycle and condenses >>it >>into an example that uses minimal code. >> >>Source Code: >> >>It would be nice if we can host these plugins somewhere. Thoughts on >>where? >>Platform repo? Labs branch for each plugin? Common labs branch that uses >>the plugin specification draft [2]? >> >>Longer-term Goal: >> >>Later on, we can expand this guide into a plugin development section that >>is a complete reference for native constants, accepting and returning >>various formats (string, number, json, array, etc). >> >>Michael >> >>[1] https://issues.apache.org/jira/browse/CB-862 >>[2] https://github.com/alunny/cordova-plugin-spec >