Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1161)

Unified Diff: samples/third_party/todomvc_performance/js_todomvc/README.md

Issue 204733004: Added TodoMVC startup benchmarks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: samples/third_party/todomvc_performance/js_todomvc/README.md
diff --git a/samples/third_party/todomvc_performance/js_todomvc/README.md b/samples/third_party/todomvc_performance/js_todomvc/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..da3d1bc9eec42864f33629aa459ecf163730db3b
--- /dev/null
+++ b/samples/third_party/todomvc_performance/js_todomvc/README.md
@@ -0,0 +1,46 @@
+This is a snapshot of https://github.com/Polymer/todomvc taken on 3-14-14.
+
+# Polymer TodoMVC Example
+
+> Polymer is a new type of library for the web, built on top of Web Components, and designed to leverage the evolving web platform on modern browsers.
+
+> _[Polymer - www.polymer-project.org](http://www.polymer-project.org/)_
+
+## Learning Polymer
+
+The [Polymer website](http://www.polymer-project.org) is a great resource for getting started.
+
+Here are some links you may find helpful:
+
+* [Getting Started](http://www.polymer-project.org/docs/start/everything.html)
+* [FAQ](http://www.polymer-project.org/resources/faq.html)
+* [Browser Compatibility](http://www.polymer-project.org/resources/compatibility.html)
+
+Get help from Polymer devs and users:
+
+* Find us on IRC on __#polymer__ at freenode.
+* Join the high-traffic [polymer-dev](https://groups.google.com/forum/?fromgroups=#!forum/polymer-dev) Google group or the announcement-only [polymer-announce](https://groups.google.com/forum/?fromgroups=#!forum/polymer-announce) Google group.
+
+## Implementation
+
+The Polymer implementation of TodoMVC has a few key differences with other implementations:
+
+* Since [Web Components](http://w3c.github.io/webcomponents/explainer/) allow you to create new types of DOM elements, the DOM tree is very different from other implementations.
+* The template, styling, and behavior are fully encapsulated in each custom element. Instead of having an overall stylesheet (`base.css` or `app.css`), each element that needs styling has its own stylesheet.
+* Non-visual elements such as the router and the model are also implemented as custom elements and appear in the DOM. Implementing them as custom elements instead of plain objects allows you to take advantage of Polymer data binding and event handling throughout the app.
+
+## Compatibility
+
+Polymer and its polyfills are intended to work in the latest version of [evergreen browsers](http://tomdale.net/2013/05/evergreen-browsers/). IE9 is not supported. Please refer to [Browser Compatibility](http://www.polymer-project.org/resources/compatibility.html) for more details.
+
+## Running this sample
+
+1. Install [node.js](nodejs.org) (required for `bower` client-side package management)
+1. Install bower: `npm install -g bower`
+
+1. From the `todomvc\` folder, run `bower update`
+1. Start a web server in the `todomvc\` folder. Hint: if you have python installed, you can just run:
+
+ `python -m SimpleHTTPServer`
+
+1. Browse to the server root

Powered by Google App Engine
This is Rietveld 408576698