incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shazron <shaz...@gmail.com>
Subject Re: standard project template
Date Tue, 22 May 2012 17:58:26 GMT
+1 to standardized sample Cordova index.html.

Here's a crazy idea (whitelist permitting) - how about a link that either
goes to (or downloads) the examples that we want? We could exercise the
File Transfer + File API at the same time - but this is definitely not
"simple".


On Tue, May 22, 2012 at 9:20 AM, Jesse MacFadyen <purplecabbage@gmail.com>wrote:

> That demo app looks to go way to far, I would have to delete a whole
> bunch of stuff ever time I created  a new project.
>
> +1 to a standardized Hello Cordova.
> Everything else is too much cruft.
> My adding the Cordova version was more about informing the user what
> version they were on, which is probably valuable.
>
> If ppl want the full demo, can we make another template? New Empty
> Cordova, New Cordova Demo, ...
>
>
> Cheers,
>  Jesse
>
>
>
> On 2012-05-22, at 9: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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message