Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/segment-boneyard/campjs-workshop
Notes and tasks
https://github.com/segment-boneyard/campjs-workshop
Last synced: about 7 hours ago
JSON representation
Notes and tasks
- Host: GitHub
- URL: https://github.com/segment-boneyard/campjs-workshop
- Owner: segment-boneyard
- Created: 2014-05-20T11:28:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-23T23:46:18.000Z (over 10 years ago)
- Last Synced: 2024-04-09T16:31:02.005Z (7 months ago)
- Language: JavaScript
- Size: 3.97 MB
- Stars: 3
- Watchers: 40
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Thinking with components
The idea with components is that you will package up HTML, CSS and JS together into a single re-usable module. This is different from how a lot of traditional front-end code is written. We don't have a giant folder full of JavaScript and another folder full of styles and hope they fit together.
## Goals
* How package management works in the browser
* Component.io
* Creating a simple component
* Get away from building monolithic front-end libraries## Assumed Knowledge
* Intermediate level of JavaScript experience
* Basic level of CSS experience
* Basic understanding of package managers
* You know how to write a JSON file
* Basic understanding of GitIf you're unsure about any of these topics go and do some basic reading before the workshop.
## Requirements
You'll need a few things installed before attending the workshop so you can be ready to start straight away. If you can't get these installed there will be plenty of people available on the Friday that can help get you setup.
### Node
You'll need node 0.10 installed. For both Mac and Windows you can get this from the [node.js website](http://nodejs.org).
### Component
After node is installed, you need to install Component.
```
npm install -g component@~1
```To check if this is installed run `component --version` on the command line. We're going to use the release candidate for this workshop.
### Chrome
To keep the class consistent we'll be using chrome during the workshop. This isn't a hard requirement but it will make it easier if we're all using the same browser.
### Are you using Windows?
Good luck. You might want to dual-boot or use a VM. I can't guarantee everything will work on Windows simply because we don't use them.
## Reading
Here are some additional links for Thinking in Components:
### Building Better Components
https://github.com/component/component/wiki/Building-better-componentsOne of the original articles written by TJ about Component.
### SUIT CSS
https://github.com/suitcss/suitWriting component-based CSS is also very, very important.
### Component Guide
https://github.com/component/guideCommunity-driven guide to using Component
Learn how to write component-based code for the browser using Component.io.