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 748739679 for ; Thu, 9 Feb 2012 19:42:48 +0000 (UTC) Received: (qmail 18998 invoked by uid 500); 9 Feb 2012 19:42:47 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 18534 invoked by uid 500); 9 Feb 2012 19:42:46 -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 18407 invoked by uid 99); 9 Feb 2012 19:42:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 19:42:46 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fil@adobe.com designates 64.18.1.191 as permitted sender) Received: from [64.18.1.191] (HELO exprod6og106.obsmtp.com) (64.18.1.191) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 19:42:37 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob106.postini.com ([64.18.5.12]) with SMTP ID DSNKTzQhlleJW2hnn1JGnAoiX7X0JJQTHMWX@postini.com; Thu, 09 Feb 2012 11:42:17 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q19JeH0Y013388; Thu, 9 Feb 2012 11:40:17 -0800 (PST) Received: from nacas03.corp.adobe.com (nacas03.corp.adobe.com [10.8.189.121]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id q19JgCPl007306; Thu, 9 Feb 2012 11:42:12 -0800 (PST) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nacas03.corp.adobe.com ([10.8.189.121]) with mapi; Thu, 9 Feb 2012 11:42:12 -0800 From: Filip Maj To: "callback-dev@incubator.apache.org" , "gtanner@gmail.com" Date: Thu, 9 Feb 2012 11:42:10 -0800 Subject: Re: Work Items for 1.5.0 - unified JS Thread-Topic: Work Items for 1.5.0 - unified JS Thread-Index: AcznYuqKueMwUCWgTqm9E/04yQFLKQ== Message-ID: In-Reply-To: <843717901-1328813116-cardhu_decombobulator_blackberry.rim.net-264734803-@b1.c19.bise6.blackberry> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.14.0.111121 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I'll do the same and work on a patch. I'll post links to patch source so we can collaborate on getting this done, Jesse/Gord. I'll aim for next week, and Jesse we can sync up in person. On 12-02-09 7:45 PM, "gtanner@gmail.com" wrote: >I am setting up a windows dev environment. > >I was a c# dev in a past life so I can see if I can step up on wp7 too. > > >Sent on the TELUS Mobility network with BlackBerry > >-----Original Message----- >From: Jesse >Date: Thu, 9 Feb 2012 10:35:15 >To: >Reply-To: callback-dev@incubator.apache.org >Subject: Re: Work Items for 1.5.0 - unified JS > >Re: shipping date. >I can say with almost absolute uncertainty that I alone will not get this >into WP7 for 1.5 release at the end of the month. > >On Thu, Feb 9, 2012 at 9:48 AM, Patrick Mueller wrote: > >> On Thu, Feb 9, 2012 at 12:07, Filip Maj wrote: >> >> > Three parts to this email. First: >> > >> > >[ Whole bunch of discussion] >> > > >> > >Perhaps it's time to define "AMD-lite" runtime somewhere? >> > >> > ^^ Pretty much. >> > >> > In my mind the simplest way to distill the discussion down is: do we >>want >> > to employ almond or some other AMD+CJS-compliant loaders, and make it >> > obvious to users that this comes with cordova, or roll our amdlite or >>smd >> > or whatever you want to call it, a cut-down version tailored for our >> > needs, and hide the fact we use it (closure that stuff up)? >> > >> >> If we closure it up, we don't need to say anything about >>AMD/AMD-lite/SMD. >> If we have a version that we don't closure up, we do neede to talk >>about >> the AMD-ish API. Easiest path is to closure it up, I guess. I might >>press >> for an option on the build script, which we wouldn't use for the >>production >> cordova.js, to allow for other options: >> >> - don't closure it up >> - don't closure it up, and don't prepend our AMD-ish runtime, allowing >> someone else to prepend theirs (eg, require.js, Dojo, etc) >> >> >> > Second: >> > >> > One thing Mike and I chatted about today was the various platform >> > definition files ... It used a >> > JSON convention that currently is something like: >> > >> > [[icky crap elided]] >> > >> > ... One convention that could be employed is >> > having a string value instead of an object if it's a module path alone >> (no >> > children). Mike took it a different route and was thinking of >>something >> > string-based like: >> > >> > { >> > "window.PhoneGap":"lib/phonegap", >> > "window.PhoneGap.exec":"lib/phonegap/exec" >> > } >> > >> >> This was the sort of thing I was thinking about. Rather than object >> structures, we can use strings with path structures ("." or "/" or >>whatever >> delimited). >> >> >> > Third: >> > >> > I really want to ship cordova-js for 1.5. There is a lot that can be >> > improved, but I'm hoping that improvements can be slowly introduced >>over >> > the next few releases. I am hoping that none of the issues that you >> > brought up, Pat, are "show-stoppers". >> > >> >> +1 on shipping a "built from modules" cordova.js for 1.5. Anyway we >>can do >> that. It's a step in the right direction. Some implementation choices >> imply (in my mind) show-stoppers, like shipping almond 0.3 - so we don't >> use those implementation choices. >> >> -- >> Patrick Mueller >> http://muellerware.org >> >