惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hacker News - Newest:
Hacker News - Newest: "LLM"
Webroot Blog
Webroot Blog
S
Security @ Cisco Blogs
H
Heimdal Security Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
www.infosecurity-magazine.com
www.infosecurity-magazine.com
N
News and Events Feed by Topic
H
Hacker News: Front Page
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Application and Cybersecurity Blog
Application and Cybersecurity Blog
SecWiki News
SecWiki News
N
News | PayPal Newsroom
T
Tor Project blog
W
WeLiveSecurity
A
Arctic Wolf
Security Archives - TechRepublic
Security Archives - TechRepublic
S
Secure Thoughts
月光博客
月光博客
AWS News Blog
AWS News Blog
D
Docker
C
CERT Recently Published Vulnerability Notes
MyScale Blog
MyScale Blog
Google Online Security Blog
Google Online Security Blog
大猫的无限游戏
大猫的无限游戏
T
The Blog of Author Tim Ferriss
I
InfoQ
人人都是产品经理
人人都是产品经理
Recent Announcements
Recent Announcements
Google DeepMind News
Google DeepMind News
Hacker News: Ask HN
Hacker News: Ask HN
Blog — PlanetScale
Blog — PlanetScale
博客园 - 【当耐特】
Engineering at Meta
Engineering at Meta
Stack Overflow Blog
Stack Overflow Blog
Recorded Future
Recorded Future
罗磊的独立博客
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
T
The Exploit Database - CXSecurity.com
D
DataBreaches.Net
S
Security Affairs
WordPress大学
WordPress大学
T
Threatpost
Microsoft Security Blog
Microsoft Security Blog
V
Vulnerabilities – Threatpost
The Hacker News
The Hacker News
S
SegmentFault 最新的问题
B
Blog RSS Feed
Project Zero
Project Zero
P
Proofpoint News Feed

Ember.js Blog

Ember 7.0 Released Announcing the Official TypeScript Types Public Preview Accessibility Working Group Update The 2020 Ember Roadmap Countdown to The New Year - Built-in Addons Countdown to The New Year - Ember Exam Countdown to The New Year - Ember Code Snippet Countdown to The New Year - Ember Changeset Countdown to The New Year - Ember In Viewport Countdown to The New Year - Ember CLI Update Countdown to The New Year - Ember Template Invocation Location Countdown to The New Year - Ember CLI TypeScript Countdown to The New Year - Ember Bootstrap and Ember Paper Countdown to The New Year - Ember CSS Modules Countdown to The New Year - Ember Mapbox GL Countdown to The New Year - Ember Shepherd Countdown to The New Year - Ember Template Lint Countdown to The New Year - Ember Composable Helpers Countdown to The New Year - Ember Leaflet Countdown to The New Year - Ember Intl Countdown to The New Year - Ember Test Selectors Countdown to The New Year - Ember Power Select Countdown to The New Year - Ember Simple Auth Countdown to The New Year - Ember SVG Jar Countdown to The New Year - Ember Page Title Countdown to The New Year- Ember A11Y Testing Countdown to The New Year - Ember Angle Brackets Codemod Countdown to The New Year - Ember CLI Sass Countdown to The New Year - Ember Animated Countdown to The New Year - Ember Auto Import Countdown to The New Year - Ember Concurrency Countdown to The New Year - Ember Tether Countdown to The New Year - Ember Modifier Countdown to The New Year - Ember CLI Mirage Countdown to The New Year - Ember Sortable Coming Soon in Ember Octane - Part 5: Glimmer Components Coming Soon in Ember Octane - Part 4: Modifiers Coming Soon in Ember Octane - Part 3: Tracked Properties Coming Soon in Ember Octane - Part 2: Angle Brackets & Named Arguments Preview Weekend: 2019 Ember Community Survey Coming Soon in Ember Octane - Part 1: Native Classes First Annual DecEmber Event! 2018 Ember Community Survey 2017 Ember Community Survey Announcing The Glimmer 2 Alpha Upcoming deprecation of baseURL in Ember CLI 2.7 2016 Ember Community Survey Announcing Ember Core Team Face to Face, January 2016 Ember.js 1.13.0 and 2.0 Beta Released Another Ember 2.x Status Update Ember.js 1.12 and 1.13 Beta (Glimmer!) Released Ember.js 1.11.1 Released Ember.js 1.11.0 and 1.12 Beta Released Ember.js 1.10.0 and 1.11 Beta Released Compiling templates with Ember 1.10 Core Team Meeting Minutes - 2014/08/01 Core Team Meeting Minutes - 2014/08/14 Core Team Meeting Minutes - 2014/09/12 Cleaning Up Github Issues Core Team Meeting Minutes - 2014/07/11 Core Team Meeting Minutes - 2014/07/25 Ember 1.6.0 and 1.7 Beta Released Core Team Meeting Minutes - 2014/06/13 Core Team Meeting Minutes - 2014/06/20 Core Team Meeting Minutes - 2014/06/27 Core Team Meeting Minutes - 2014/06/06 Core Team Meeting Minutes - 2014/04/25 Core Team Meeting Minutes - 2014/04/04 Ember 1.5.0 and 1.6 Beta Released Core Team Meeting Minutes - 2014/03/07 Core Team Meeting Minutes - 2014/03/14 Core Team Meeting Minutes - 2014/03/21 Core Team Meeting Minutes - 2014/02/28 Core Team Meeting Minutes - 2014/02/21 Core Team Meeting Minutes - 2014/02/14 Ember 1.4.0 and 1.5 Beta Released Core Team Meeting Minutes - 2014/01/27 Core Team Meeting Minutes - 2014/01/31 Core Team Meeting Minutes - 2014/02/07 Core Team Meeting Minutes - 2014/01/17 Core Team Meeting Minutes - 2014/01/03 Ember 1.3.0 and 1.4 Beta Released Core Team Meeting Minutes - 2013/12/20 Core Team Meeting Minutes - 2013/12/06 Ember 1.2.0 and 1.3 Beta Released Ember 1.1.2 Released Ember 1.1.1 and 1.2 Beta Released Ember 1.0 Released Ember 1.0 RC8 Released Ember 1.0 RC7 Released Ember 1.0 RC6.1, RC5.1, RC4.1, RC3.1, RC2.1 RC1.1 Released Ember 1.0 RC6 Ember 1.0 RC5 Ember 1.0 RC4 Ember 1.0 RC3 Announcing the Ember.js Security Policy Ember 1.0 RC2 Ember 1.0 RC Ember 1.0 Prerelease 2
Ember 1.0 Prerelease
2012-08-03 · via Ember.js Blog

– By Peter Wagenet

We're pleased to announce the Ember 1.0 Prerelease. It's been a couple of months since our 0.9.8.1 release and a lot has changed. By making this prerelease available we're giving you the opportunity to try out the feature set for 1.0. Read on to learn what's new along with a few caveats.

What's New

Router

Ember.js is all about giving you the tools to build ambitious apps on the web. Here's the thing about ambitious apps: they usually have state. Lots of state. And the bigger your app gets, the harder keeping all of it in your head becomes.

Part of being an app on the web is taking advantages of the browser's strengths. In particular, the fact that we have URLs to describe what we see on our screen is an advantage over native applications. Your users want to be able to share that URL on Twitter or Facebook and have their friends see what they're seeing.

Ember 1.0 Prerelease includes what we think is the most advanced tool for modeling your application's state: Ember.Router. The router allows you to describe the state of your application as discrete objects, which means it's impossible for your application to ever get into a "bad state." And because the URL is a serialization of your application's state, you tell us how to build the URL and we'll keep it up-to-date as your users move throughout the application.

We're still making tweaks to the router API to make it as easy as possible for new users to pick up, but we think that modeling your apps as discrete states is the way all apps will be built in the future. It's still new but we believe in a few years it will be as relied on as automated testing for building the most robust applications possible.

View Context Changes

In apps built on earlier version of Ember, the {{#view}} helper created a new context for the view. This meant that you had to explicitly set the context on them. In 1.0, we've made this a bit simpler. The {{#view}} helper no longer changes the context, instead maintaining the parent context by default. Alternatively, we will use the controller property if provided. You may also choose to directly override the context property. The order is as follows:

  1. Specified controller
  2. Supplied context (usually by Handlebars)
  3. parentView's context (for a child of a ContainerView)

In the event that you do need to directly refer to a property on the view, you can use the view keyword, i.e. {{view.myProp}}.

Miscellaneous

  • getPath and setPath have been merged into get and set respectively.
  • Ember.ObjectProxy - this object proxies to its content property. Along with this comes Ember.ObjectController.
  • The #with helper now supports assigning an object to a custom property name using the format {{#with path.to.object as custom}}
  • The #each helper also allows for a custom property using the format {{#each custom in path.to.array}}.
  • Ember.SortableMixin - this mixin can be added to array-like objects for sorting functionality.
  • Ember.Evented#one has been added for one time events.
  • Ember.View#classNameBindings and bindAttr class now support the double colon syntax: myProperty:enabledClass:disabledClass.
  • Ember.Object#canInvoke, tryInvoke - simplifies checking to see if a method can be invoked on the object.
  • jQuery 1.6 is no longer supported. You must use 1.7 or greater.
  • Handlebars is no longer bundled with Ember. This allows you to better control your version as well as allowing for the runtime only version to be used.
  • ViewStates are now deprecated.
  • Binding transforms have been removed in favor of computed properties.
  • Async state transitions have been removed in favor of transitional states.
  • Ember.StateManager#transitionTo should be used instead of goToState.
  • Ember.Evented#fire has been renamed to trigger.
  • Ember.Tabs have been deprecated.
  • Some existing deprecations have been removed entirely.

For a full list, see the Changelog.

Known Issues

Since this is a prerelease, there are still some important known issues:

  • Router - The Router API is not finalized. Conceptually, things are pretty stable, but API details are likely to change.
  • Ember.Object.create - We are currently considering changing create to make it behave more like setProperties. If this does happen, we will try to maintain backwards compatibility as far as possible.
  • Ember Data - We hope to merge Ember Data into the core Ember project before the final 1.0 release.
  • Memory leaks - There are some known memory leaks. We will fix these before the final 1.0 release. Issue #1165
  • Browser support - We have only done limited testing on older browsers so far. We will do more comprehensive testing before the final release.
  • Dependent Bindings - Bindings that depend on other bindings may fail on initial connect unless properly ordered. Issue #1164
  • ContainerView and SortableMixin - Using ContainerView, or its subclass CollectionView (which is used by the #each and #collection helpers), with SortableMixin may cause unexpected rendering errors. Issue #800