Return to site

Ember 1 8 5 – Versatile Digital Scrapbook

broken image


  1. Ember 1 8 5 – Versatile Digital Scrapbook Paper
  2. Ember 1 8 5 – Versatile Digital Scrapbook Software

Nuvo available at Scrapbook.com. Shop for Nuvo and other related products. Get 5-star service and a money back guarantee. Ember is your digital scrapbook of things that inspire you - be it websites, photos, apps or other things. Just drag in images that you want to keep, organise.

Get Tonic Studios punches, cutters and other tools for paper crafters and scrapbookers. Purchase Tonic supplies including Tim Holtz tonic scissors. Ember 1.1.2 – Versatile digital scrapbook (formerly LittleSnapper). October 12, 2013.

We are pleased to announce that both Ember.js 1.4.0 and the first beta in the 1.5 serieshave just been released. This comes as the fourth cycle of our six-week releaseprocess that began just after 1.0 was released.

New features in 1.4

Property Brace Expansion

In prior versions of Ember if you wanted to observe both foo and bar on bazyou would need to setup both baz.foo and baz.bar as dependent keys. Dvdfab all in one 11 0 7 5.

With the new property brace expansion, you could setup the computed properties dependenciesinstead like:

This allows much less duplication/redundancy when your dependent keys are mostly similar.

See the original PR #3538 for more details.

Ember.run.bind

Ember.run.bind provides a useful utility when integrating with non-Ember librariesthat provide asynchronous callbacks.

Ember utilizes a run-loop to batch and coalesce changes. Rapidweaver 7 7 5. This works bymarking the start and end of Ember-related JavaScript execution.

When using events such as a View's click handler, Ember wraps the eventhandler in a run-loop, but when integrating with non-Ember libraries thiscan be tedious.

Ember 1 8 5 – Versatile Digital Scrapbook

For example, the following is rather verbose but is the correct way to combinethird-party events and Ember code.

To reduce the boilerplate, the following can be used to construct arun-loop-wrapped callback handler.

For more details please reference the recently added run-loop guide(much thanks to Brendan Briggs).

With Controller

Ember 1 8 5 – Versatile Digital Scrapbook Paper

The {{with}} helper can now accept a controller option. Adding controller='something'instructs the {{with}} helper to create and use an instance of the specified controllerwith the new context as its content.

This is very similar to using the itemController option with the {{each}} helper. El capitan cache cleaner 10 0 1 download free.

In the above example, the template provided to the {{with}} block is now wrapped in theuserBlogPost controller, which provides a very elegant way to decorate the context with customfunctions/properties.

Lazily Bound Attributes

Previously, every attribute that was bound added some degree of cost (mostly associated with maintainingthe bindings/observers themselves). This lead us to limit the list of attributes that were automaticallybound for Ember.TextField, Ember.TextArea, and friends. This is a common source of frustration asmore and more people want to bind to HTML5 attributes, but find that to do so they must reopen theEmber.TextField class and add the attributes they need.

This might look like:

Then from the template:

This certainly is not ideal, and causes many issues for people that expect it to 'just work'.

Thankfully, this has gotten MUCH better with the 1.4 release. In 1.4 any attribute bindings that do notexist at the time the view is first rendered will not have observers setup (therefore removing the originalperformance concern), but if/when the attribute is set on the view later (after the first render) an observeris setup at that time.

This means that we are only creating observers for actual properties that are present, but we can list everyvalid HTML attribute in the attributeBindings property so that you can simply use them without having to reopeninternal classes.

As of Ember 1.4 you should be able to use any HTML5 attribute with {{input type='text'}}, {{textarea}}, and{{checkbox}}.

Other Improvements

Ember 1 8 5 – Versatile Digital Scrapbook Software

As usual, there are a ton of bug fixes and small improvements in thisrelease. You can see a list of all the changes in the CHANGELOG:





broken image