Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actual working example code #133

Closed
Pomax opened this issue Sep 25, 2013 · 7 comments
Closed

actual working example code #133

Pomax opened this issue Sep 25, 2013 · 7 comments
Milestone

Comments

@Pomax
Copy link

Pomax commented Sep 25, 2013

It would be incredibly helpful if http://imakewebthings.com/deck.js/ didn't just show fragments, but also had a presentation that showed how to create a minimal deck.js slideshow from scratch, with all the necessary HTML markup in there. I can't get enough information from just the examples to get to a working page, I'm view-source mining for information instead, and that's not a good thing.

@twitwi
Copy link
Contributor

twitwi commented Sep 25, 2013

Hi,
I am bundling deck.js with my extensions and a minimal presentation. It can be found here if you are interested.
http://home.heeere.com/tech-deckjs-ext.html

Also, I made an extension called "includedeck" that simplifies the boilerplate code that needs to be put (css and js includes). An example is given in the bundle too.

I hope this helps.
Let me know.
Rémi

@imakewebthings
Copy link
Owner

@Pomax I know there are one or two open issues on it, but maybe try using the boilerplate.html file included in the download.

@imakewebthings
Copy link
Owner

I'm going to call the action on this "Make the boilerplate/setup a part of the Getting Started deck". Since I suppose most folks coming to the project page don't go to the GitHub repo page and see the Quick Start section.

@szimek
Copy link

szimek commented Nov 3, 2013

What do you guys think about creating an official yo generator for deck.js? It could ask for color and transition themes and maybe if one wants to include some more popular extensions. Extensions could easily be installed using bower - that would also allow them to declare their dependencies on other extensions as well.

@Pomax
Copy link
Author

Pomax commented Nov 3, 2013

A generator would be pretty good, but don't do that instead of a basic example. People do love text editors a lot, and they love minimal code =)

@imakewebthings
Copy link
Owner

@szimek A few distinct points you bring up.

  • A generator is a good idea, but I do see it as something entirely separate from the Getting-Started/Boilerplate/Basic-Example case.
  • I wouldn't want an "official" generator. Aside from the potential diplomatic game of which 3rd party themes and extensions are included, doing so would also feel like a big enough endorsement to make me personally invested in the maintenance of those repositories. But if anyone wants to make one in a non-official capacity that's awesome.
  • It seems every ticket and comment plays into what's being discussed in A Roadmap Discussion #140. This ticket itself will be obsoleted in time with the creation of the new deck.js site that would allow for registration of extensions in npm and boilerplate+extensions building. That functionality would overlap with a yo generator (and thats totally fine) but reach a broader audience.
  • I think the gruntjs npm model of extensions mentioned in that ticket would also serve to solve the issue of extensions dependencys? Though maybe not for the yo generator case (I don't know.)

Much of the above will not be tackled in the near term. If you want to create a yo generator in the meantime please feel free and add it to the wiki. Thanks.

@imakewebthings
Copy link
Owner

1.0 is released and the project page updated. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants