Coder Social home page Coder Social logo

ptzagk / buildfirst Goto Github PK

View Code? Open in Web Editor NEW

This project forked from buildfirst/buildfirst

0.0 1.0 0.0 27.18 MB

:hammer: JavaScript Application Design: A Build First Approach. Code Samples and Snippets

Home Page: https://ponyfoo.com/books/javascript-application-design

License: MIT License

JavaScript 76.08% CSS 4.29% HTML 15.82% Java 1.13% mupad 1.98% Shell 0.71%

buildfirst's Introduction

JavaScript Application Design Build Status

A Build First Approach

buildfirst.png

Accompanying code samples and snippets for the JavaScript Application Design: A Build First Approach book.

These are the accompanying code samples and snippets for a book I wrote about JavaScript build processes and application architecture. The samples are organized by chapter, and they appear in the same order as they do in the book, for convenience.

Fell out of the skies and would like to learn more about the book?

You could visit its landing page to learn all about it!

Book buying frenzy? Say no more, stranger!

Installation Pre-Requisites

You'll need Node.js. You can get the latest version from their website, although I'd suggest using nvm, which makes it super easy to install multiple versions, and switch between them.

You'll need GraphicsMagick, and also phantomjs, to run some of the examples. PhantomJS comes in a module that you can conveniently install as a global.

npm install -g phantomjs

GraphicsMagick comes in different distributions for OSX, Linux, and Windows, so please refer to their site to download the appropriate distribution. If you're on Ubuntu, I'd recommend installing it through apt-get. If you're on OSX, you can use brew to install it. These kinds of tooling download automation present the most benefits when you automate all of your development environment provisioning, enhancing consistency across fresh installs in your systems. As an example, you can take a look at my dotfiles project, for reference.

Installation

Once you have Node and the other tools you'll need, use the command below to clone this repository and install all of the dependencies:

curl https://raw.githubusercontent.com/buildfirst/buildfirst/master/install.sh | sh

If you're on Windows use install-dos.sh, instead.

That's it! You are now free to roam the sample directories and follow the instructions in each of them!

Manual installation instructions can be found here, but you shouldn't need any of that.

Execution

To run an example, read its README.md and follow the instructions I've placed there. I tried to make them as straightforward as possible, but sometimes they might not match the examples in the book to the letter.

There are some examples here that you won't find on the book, those will generally be a bit longer: exactly the reason why I didn't include them in the book. Although the code itself might not be present in the book, most of the explaining will definitely be there, rather than here.

Table of Contents

Here is a complete list of the code samples found in this repository.

Release History

This is the list of releases to date. You can feel free to simply clone master, to get the most up-to-date version.

You can find the repository up on GitHub, which contains the latest updates to the samples, and interactively renders the Markdown code in this text, displaying images, making code prettier, styling the text, and letting you follow links.

Troubleshooting

If you run into any problems, please create an issue here. Maybe it's something that needs fixing. If you feel like contributing, that's awesome! Just fork this repo and create a pull request with your fixes or improvements.

Feedback

Feedback about the book itself should be posted on the Manning Online Author Forum. You can drop me a line at [email protected] if you want to leave me a more personal note, just say hi, or grunt at me about my failure to amuse you. I'd love to hear from you!

You can also find me blogging at Pony Foo. My Twitter account is @nzgb, and I enjoy people stalking me over the Internet!

Let the #buildfirst revolution commence!

ga

buildfirst's People

Contributors

3v0k4 avatar bevacqua avatar danielmatthew avatar jlnabais avatar luchsamapparat avatar yaojingguo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.