Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

未来的高性能前端框架mithril.js #111

Open
mishe opened this issue Apr 16, 2016 · 0 comments
Open

未来的高性能前端框架mithril.js #111

mishe opened this issue Apr 16, 2016 · 0 comments

Comments

@mishe
Copy link
Owner

mishe commented Apr 16, 2016

为了不误导,所以引用原文

What is Mithril

Mithril is a client-side MVC framework - a tool to organize code in a way that is easy to think about and to maintain.

框架特性

Light-weight

  • Only 7.8 kB gzipped, no dependencies
  • Small API, small learning curve

Robust

  • Safe-by-default templates
  • Hierarchical MVC via components

Fast

  • Virtual DOM diffing and compilable templates
  • Intelligent auto-redrawing system

Performance

To run the execution time tests below, click on their respective links, run the profiler from your desired browser's developer tools and measure the running time of a page refresh (Lower is better).

Safety

Mithril templates are safe by default, i.e. you can't unintentionally create security holes.

To run the tests for each framework, click on the respective links. If you see an alert box, ensuring security with that framework is more work for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant