incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drew Walters <deedu...@gmail.com>
Subject Re: standard project template
Date Tue, 22 May 2012 18:02:52 GMT
I agree with Jesse that I wouldn't want to see this created as a
result of a 'create project' invocation.

I would envision that eventually this would get shipped as a
kitchen-sink type example project, separate from the 'create project'
command.

On Tue, May 22, 2012 at 11:17 AM, Bryce Curtis <curtis.bryce@gmail.com> wrote:
> +1
>
> It has a very nice look.  I like that fact that it mirrors the API
> docs.  Is it using the samples from the docs and are they all included
> or just select APIs?
>
> On Tue, May 22, 2012 at 11:05 AM, Michael Brooks
> <michael@michaelbrooks.ca> wrote:
>> +1
>>
>> Many users use the sample application as a starting point because it shows
>> how Cordova works and how to write a simple Cordova application.
>>
>> For the future plugin packages, it would be nice to encourage our plugin
>> developers to include a sample project. While API documentation is crucial,
>> a good demo can get people up and running much faster. Maybe we can start
>> this trend with the official Cordova APIs, where each API includes a simple
>> standalone demo (possibly, visually designed well by one of our designers).
>> Cordova can then offer home screen that links to each of the API samples.
>>
>> Michael
>>
>> On Tue, May 22, 2012 at 8:13 AM, Drew Walters <deedubbu@gmail.com> wrote:
>>
>>> Added images showing tablet version:
>>>
>>> http://imgur.com/a/ZkbtX
>>>
>>> On Tue, May 22, 2012 at 9:53 AM, Brian LeRoux <b@brian.io> wrote:
>>> > ooh, that does look nice! a little nervous we're going to be
>>> > inheriting some strong maintenance w/ something like this but it is
>>> > pretty cool
>>> >
>>> > On Tue, May 22, 2012 at 4:41 PM, Drew Walters <deedubbu@gmail.com>
>>> wrote:
>>> >> Took a couple of screen captures of Libby's sample project for those
>>> >> that haven't built/run it:
>>> >>
>>> >> http://imgur.com/a/1BtRl
>>> >>
>>> >> On Tue, May 22, 2012 at 9:23 AM, Patrick Mueller <pmuellr@gmail.com>
>>> wrote:
>>> >>> On Tue, May 22, 2012 at 7:37 AM, Patrick Mueller <pmuellr@gmail.com>
>>> wrote:
>>> >>>
>>> >>>> Kinda crazy thought: howzabout some kind of mini-REPL.  I often
take
>>> the
>>> >>>> template and just add a button to it to get it to run some code,
>>> check the
>>> >>>> result of something, or whatever.  Would be even easier to
do that
>>> sort of
>>> >>>> thing it we provided the capability, out of the box.  It's
truly eval.
>>> >>>>
>>> >>>
>>> >>> I tried this, and it's just awful.  Thought maybe in the simulator,
>>> but ...
>>> >>> no.  I retract the "mini-REPL" idea.
>>> >>>
>>> >>> However, the first thing I did in the mini-REPL was to paste a sample
>>> from
>>> >>> the API docs in and run it.  Which reminded me about my thought
about
>>> >>> making the API doc an app, where every sample has a "run" button
next
>>> to
>>> >>> it, and an output area where the output is written to.
>>> >>>
>>> >>> Compared to a green field effort like Libby's, having such an app
would
>>> >>> ensure that our doc samples actually work.  Kinda dog-fooding the
doc
>>> ...
>>> >>>
>>> >>> This wouldn't be the "initial app" we ship; too complex.  Which
is
>>> probably
>>> >>> true for Libby's app as well.  The initial app prolly shouldn't
do
>>> much,
>>> >>> but I like Jesse's idea of writing the cordova version into the
DOM at
>>> a
>>> >>> minimum.
>>> >>>
>>> >>> --
>>> >>> Patrick Mueller
>>> >>> http://muellerware.org
>>>

Mime
View raw message