Aurelia

Aurelia是一个JavaScript客户端框架,用于移动、桌面和网络,利用简单的约定并赋予创造力。(Aurelia is a JavaScript client framework for mobile, desktop and web leveraging simple conventions and empowering creativity.)

Github星跟蹤圖

Aurelia是一个JavaScript客户端框架,用于移动、桌面和网络,利用简单的约定并赋予创造力。aurelia 框架将所有所需的核心 aurelia 库汇集成即将推出的应用程序构建平台。

Aurelia是什么? (原文:http://aurelia.io/hub.html#/doc/article/aurelia/fr...

那其实很简单! Aurelia只是JavaScript。 不过,这不是昨天的JavaScript,而是明天的JavaScript。 通过使用现代化的工具,我们已经能够在ECMAScript 2016中从头开始编写Aurelia。这意味着我们可以使用原生模块、类、decorators等等,而且您也可以使用它们。
Aurelia不仅在现代和未来的JavaScript中编写,而且还采用现代化的架构方法。 过去,框架已经是整体的野兽。 不是Aurelia虽然 它是作为一系列协作库构建的。 综合起来,它们构建了一个强大而强大的构建单页应用(SPA)框架。 然而,Aurelia的库通常可以单独使用,在传统的网站上,甚至通过像NodeJS这样的技术在服务器端使用。

Aurelia特性:

今天创建下一代JavaScript应用程序。
  • 有远见的 -- 写下一代EcmaScript。与Web组件集成。没有外部依赖。利用未来的技术,但目标是今天的移动,桌面和浏览器环境。
  • 现代构建 -- Aurelia不是采取单一框架方式,而是由较小的,集中的模块组成。将它们一起用作全功能框架,或选择构建自定义解决方案。
  • 双向数据绑定 -- Aurelia的技术可以强大的双向绑定到任何对象。通过使用自适应技术,我们可以选择最有效的方式来观察模型中的每个属性,并自动将UI与同类最佳性能同步。
  • 可扩展的HTML -- Aurelia的可扩展HTML编译器允许您创建自定义HTML元素,向现有元素添加自定义属性并控制模板生成,全部支持动态加载,数据绑定和高性能批量渲染。
  • 路由和UI组合 -- 利用Aurelia的高级客户端路由器及其可插拔管道,动态路由模式,子路由器和异步屏幕激活。不需要路由器,但需要动态的数据驱动的UI组合?我们也这样做
  • MV *与公约 -- 谁想浪费时间为他们的MV *架构编写大量的配置代码?简单地利用惯例,使构建您的应用程序毫不费力。不喜欢这些惯例?插上你自己的或放下它们。
  • 广泛的语言支持 -- 使用ES5,ES 2015,ES 2016和TypeScript。 Aurelia的API经过精心设计,可以从今天和未来的流行网络编程语言中自然消耗。
  • 可测试 -- 通过将ES 2015模块与简单而强大的依赖注入容器相结合,我们可以轻松创建高度凝聚力但最低限度的代码,从而使单元测试成为可能。

概覽

名稱與所有者aurelia/framework
主編程語言TypeScript
編程語言JavaScript (語言數: 2)
平台
許可證MIT License
發布數93
最新版本名稱1.4.1 (發布於 2022-03-31 23:28:40)
第一版名稱0.0.1 (發布於 )
創建於2014-12-10 19:22:29
推送於2023-01-27 11:32:58
最后一次提交2022-08-27 07:48:16
星數11.7k
關注者數396
派生數630
提交數846
已啟用問題?
問題數701
打開的問題數53
拉請求數171
打開的拉請求數5
關閉的拉請求數105
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

License: MIT
npm Version
Discourse status
Twitter

aurelia-framework

Aurelia is a modern, front-end JavaScript framework for building browser, mobile, and desktop applications. It focuses on aligning closely with web platform specifications, using convention over configuration, and having minimal framework intrusion. Basically, we want you to just write your code without the framework getting in your way. :wink:

This library is part of the Aurelia platform. It contains the aurelia-framework library, which brings together all the required core aurelia libraries into a ready-to-go application-building platform.

Aurelia applications are built by composing a series of simple components. By convention, components are made up of a vanilla JavaScript or Typescript class, with a corresponding HTML template.

//app.js
export class App {
  welcome = "Welcome to Aurelia";

  quests = [
    "To seek the holy grail",
    "To take the ring to Mordor",
    "To rescue princess Leia"
  ];
}
<!-- app.html -->
<template>
  <form>
    <label for="name-field">What is your name?</label>
    <input id="name-field" value.bind="name & debounce:500">

    <label for="quest-field">What is your quest?</label>
    <select id="quest-field" value.bind="quest">
      <option></option>
      <option repeat.for="q of quests">${q}</option>
    </select>
  </form>

  <p if.bind="name">${welcome}, ${name}!</p>
  <p if.bind="quest">Now set forth ${quest.toLowerCase()}!</p>
</template>

Check out the interactive version of this example on Code Sandbox.

This example shows you some of the powerful features of the aurelia binding syntax. To see further examples, online playgrounds, guides, and detailed API documentation, head on over to aurelia.io.

Feeling excited? To quickly get started building your project with aurelia, you can use the aurelia CLI.

Documentation

You can read the documentation for the aurelia framework here. It's divided into the following sections:

  • Overview : Discover what Aurelia is along with its business and technical advantages.
  • Tutorials : Step-by-step tutorials teaching you how to build your first Aurelia applications.
  • Fundamentals : After you've completed the quick starts, learn more about Aurelia's app model, components, dependency injection and more.
  • Binding: Learn all about Aurelia's powerful, reactive binding engine.
  • Templating: Learn all about Aurelia's powerful templating engine.
  • Routing: Learn how to setup and configure Aurelia's router.
  • Plugins: Learn about Aurelia's officially supported plugins and how to use them, including validation, i18n, http, dialog and state management.
  • Integration: Learn how to integrate Aurelia with various other libraries and frameworks.
  • Testing: Learn all about testing Aurelia apps, including component testing and e2e testing.
  • Server Side Rendering: Learn about Server Side Rendering with Aurelia and how to configure your project.
  • CLI: Learn how to create, build, bundle and test your apps using all your favorite tools, facilitated by the Aurelia CLI.
  • Build Systems: Learn how to use Webpack or JSPM directly for building apps without the Aurelia CLI.

You can improve the documentation by contributing to this repository.

Staying Up-to-Date

To keep up to date on Aurelia, please visit and subscribe to the official blog and our email list. We also invite you to follow us on twitter.

Questions

If you have questions, join us in our dedicated discourse forum or submit questions on stack overflow.

Contributing

We'd love for you to contribute and help make Aurelia even better than it is today! You can start by checking out our contributing guide, which has everything you need to get up and running.

License

Aurelia is MIT licensed. You can find out more and read the license document here.

去到頂部