Content and site generator for Single page apps in depth (my book on single page applications)
HTML CSS JavaScript Makefile
Switch branches/tags
Nothing to show
Clone or download
mixu Merge pull request #29 from jamesjpk123/patch-1
Fixed version of readme.md
Latest commit 5344a38 Sep 27, 2017
Permalink
Failed to load latest commit information.
bin Convert to markdown, upgrade to responsive layout and markdown-styles Sep 25, 2015
content
input Update goal.md Jan 24, 2016
layout Convert to markdown, upgrade to responsive layout and markdown-styles Sep 25, 2015
layouts/default Convert to markdown, upgrade to responsive layout and markdown-styles Sep 25, 2015
output Convert to markdown, upgrade to responsive layout and markdown-styles Sep 25, 2015
.gitignore Convert to markdown, upgrade to responsive layout and markdown-styles Sep 25, 2015
Makefile Convert to markdown, upgrade to responsive layout and markdown-styles Sep 25, 2015
notes.txt - short notes Oct 30, 2012
package.json Convert to markdown, upgrade to responsive layout and markdown-styles Sep 25, 2015
readme.md Created version of readme.md Jun 8, 2017

readme.md

Single Page Apps in Depth

Read the book here: http://singlepageappbook.com/

Notes

I've added this repository to make it easier to work with the book, if you feel like it.

I didn't include the commits from prior to the release, because book writing is a messy and painful process of revisions, deletions and rethinking things.

I did all the writing directly as HTML inside a git repo:

git shortlog -sn

tells me that I made 216 commits between Jun 28th 2012 and Jan 18th 2012 to write the book.

There will be a second set of updates coming later on - once I am done with http://mixu.net/view.json/ , which is a view layer I'm working on right now. It has definitely changed and clarified my thinking re:view layers. Writing a book is fairly intense, which is why I am focusing on code for now; it'll let me come back to the book with a less attached and more critical perspective.

Directory Structure

The content of the book is in ./content/. To generate the book:

npm install
node generate.js

which generates the output in ./output/.

To rebuild the .epub and .mobi files:

make book.epub book.mobi

You need to install calibre first for the HTML to epub/mobi conversion.

Thanks

Many many thanks to jamesarosen and ahizzle for their help!

Licence

This book is available for free, but what I've written remains mine.

Translations: as long as the content made is available for free (you can have ads) I welcome translations.

Other use: contact me; as long as your intentions are good I'd be happy to figure out something. I'm not looking to make money from the book.