- Understanding node
- Core modules
- Callbacks
- Events (not written yet)
- Streams (not written yet)
- Modules and NPM (not written yet)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="Starter React jsbin with JSX"> | |
<script src="http://fb.me/react-with-addons-0.13.1.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> |
I wrote this for a colleague at work, but I thought I'd share it here for those that are confused as to the role of a build tool. To those that have not spent years working with various build tools, it may be tempting to find one that is written in the language you are using (i.e. Phing, Ant, Rake, and Grunt come to mind) or perhaps you are easily persuaded by things that have a lot of features (Gradle immediately comes to mind).
To be honest, build tools are just glorified shell script wrappers. Some more complex than others. At the end of the day, a build tool should do four things to be useful and not get in the way:
- Run your scripting tasks (where less abstraction layers are better than more).
- Allow you to define dependencies (like, always run the task to delete all of the build artifacts before running the task that generates code coverage).
- Give you a simple way (preferably without needing to install a fancy GUI/IDE) to look at what build steps will be run without running them.
- Issue a s
- Wrong copyright. Should be: "© 2012 Yahoo! Inc." not: "© 2012 YUI Blog"
- Search page is unusable: http://cl.ly/IiYS
- Looks like the content is not inside a
"yui3-u"
node: http://www.yuiblog.com/blog/?s=open+hours
- Looks like the content is not inside a
- Linen texture should only be at the lowest layer of the design (I don't care that iOS uses it for the notification sheets, they did it wrong :)
- Home page's heading alignments are off:
- Home page: http://cl.ly/Ijqg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<title>My App</title> | |
<link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.4.0/build/cssreset/cssreset-min.css& | |
3.4.0/build/cssfonts/cssfonts-min.css&3.4.0/build/cssgrids/cssgrids-min.css"> | |
<link rel="stylesheet" href="styles.css"> | |
<script src="http://yui.yahooapis.com/3.4.0/build/yui/yui-min.js"></script> | |
<script> | |
YUI().use("event-base", function (Y) { | |
// specify "node-base", "event-base", or whichever modules your app requires |