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

Replace chapter 4 with gists, blocks and blockbuilder #42

Open
Fil opened this issue Jun 20, 2016 · 3 comments
Open

Replace chapter 4 with gists, blocks and blockbuilder #42

Fil opened this issue Jun 20, 2016 · 3 comments

Comments

@Fil
Copy link
Contributor

Fil commented Jun 20, 2016

Learning git seems to be too much load for this lesson.

It's probably an easier path to learn to create gists, and you'll have covered half the way to properly using Github.

With gists we get access to the d3 ecosystem of bl.ocks.org and blockbuilder.

Also it takes some pressure off “publishing”, just because it looks more like “playground”. We can even start with anonymous gists!

@Fil
Copy link
Contributor Author

Fil commented Jun 20, 2016

Note that one sad consequence of this choice is that we would lose the possibility to use alert() in the examples, at least with blockbuilder.

@IsaKiko
Copy link
Owner

IsaKiko commented Jun 21, 2016

Hm - interesting idea!

I'm personally a big fan of making everyone putting their things online. I also think it's fantastic seeing that you are able to create a webpage and put it online within a day!
Having said that, the github lesson needs some work. It's easier now to add files to a repo using only the online interface. So there's no need to download anything anymore.

I haven't really used gists. How would that work? And how does the integration into bl.ocks work?

Loosing alerts is a little bit sad.. it seems people really enjoy them on their first toy pages (although I encourage them to quickly move on from alerts after ;))

@Fil
Copy link
Contributor Author

Fil commented Jun 21, 2016

blocks are just a way to display gists directly in the browser ; it was
made by Mike Bostock to showcase the D3 examples.

blockbuilder is a website that displays blocks/gists, but also enables to
toy with their code directly in the browser, in realtime, saving and
forking as you go (and only if you need). It's the fastest way to interact
with d3 code.

Limitations are:

As both blocks and blockbuilder use github gists as their file backend,
everything that exists in gist space also exists in blocks and blockbuilder
space, and vice versa. There is even a handy bookmarklet to "jump" from a
block to the blockbuilder page. (And the URL structure is the same)

-- Fil

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

2 participants