Questions tagged [ember.js]

Ember.js is a component-service application framework written in JavaScript. Consider making your question easier to answer by using the preconfigured templates mentioned in this tag's wiki. (Always specify version of ember used when describing your issue)

Ember.js is a application framework distributed under an open source license.

Ember.js provides a templating mechanism based on templates for view components, as well as facilities for an easy and tightly-integrated test process. It is easily embeddable into existing applications.


Getting Help

The Stack Overflow tag is actively monitored by several contributors to Ember. There is also an official Discord server. Other resources can be found on the Ember.js community page

Additionally Ember.js has a page on Debugging: Debugging Ember

Technical questions that are accompanied by working code make it easier for other to help give good answers.

To report bugs against Ember.js, or to propose new functionality, create an issue on the GitHub project.

Packages and add-ons

You can find various packages, add-ons on these websites:

Preconfigured Templates

Use these templates to help create an easier to answer question.

Related Stackoverflow Tags

Resources/Tutorials

23976 questions
30
votes
2 answers

How to generate image sprites in ember-cli using compass?

Update - 20140614: After not getting any answers to this question, or on github, I decided to come up with my own solution to the problem. I was using compass for a number of things, but its main utility was in its ability to generated image…
bguiz
  • 27,371
  • 47
  • 154
  • 243
30
votes
3 answers

CRUD blueprint overriding in sails.js

According to this closed issue in sails: https://github.com/balderdashy/sails/issues/835 CRUD Blueprint Overrides "absolutely, this is coming in v0.10" I'd like to modify the blueprints in my sailsjs service to allow named roots (consuming in…
davepreston
  • 1,260
  • 1
  • 10
  • 20
30
votes
1 answer

What are the major differences (pros/cons) between ember-model, ember-restless, and emu?

A recent ember-data blog update has suggested to look at ember-model, ember-restless, and emu as alternatives to ember-data to communicate with conventional APIs. Can you please provide a in-depth comparison of these libraries?
Michael
  • 1,139
  • 11
  • 11
30
votes
2 answers

Frontend javascript frameworks with node.js

I am starting to learn frontend JavaScript frameworks like Backbone.js or Embers.js and I wanted to do some projects in Node.js. I have been reading some documentation and it seems these frameworks are used when you create an application in a single…
Juanillo
  • 875
  • 2
  • 11
  • 17
30
votes
4 answers

Ember pagination full example

I was wondering if there is a complete example that could demonstrate how can we use pagination with ember.js I have a table that has many rows, so i want to use pagination to help the user with the data analysis. I've already see the…
Juan Jardim
  • 2,232
  • 6
  • 28
  • 46
30
votes
7 answers

How to represent arrays within ember-data models?

Is it necessary to use DS.hasMany pointing to a DS.Model when a model contains an array? Even if the array elements are not really models (no IDs or endpoints of their own)? Is there a better way? I am using DS.hasMany, but my extended…
dechov
  • 1,833
  • 1
  • 15
  • 18
29
votes
5 answers

Ember transitionToRoute cleanly in a component without sendAction

How can transitionToRoute be called cleanly from within an Ember component? It works with injecting a controller into the component and calling the controller's transitionToRoute function, however I'd like something a little more elegant if…
Eliot Sykes
  • 9,616
  • 6
  • 50
  • 64
29
votes
6 answers

Import jquery with ember-cli

Since ember-cli 0.0.34 jquery is removed from the .jshint file as predefined. So jquery needs to be imported, but I get the following error when doing it: import $ from 'jquery'; The error I get is: ENOENT, no such file or directory…
Willem de Wit
  • 8,604
  • 9
  • 57
  • 90
29
votes
5 answers

SetTimeout vs. Ember.run.later in an ember app?

Inside my handlebars template: Today's date: {{currentDate}} Current Time: {{currentTime}} Inside my helpers: Ember.Handlebars.registerBoundHelper 'currentDate', (option) -> moment().format('LL'); Ember.Handlebars.registerBoundHelper…
Blair Anderson
  • 19,463
  • 8
  • 77
  • 114
29
votes
3 answers

Why isn't my ember.js route model being called?

I just started learning Ember.js (bought the PeepCode screencast), and am learning quite smoothly from it, but ran into a problem when trying to write my first Ember app. Here's the (nested) route mapping: App.Router.map(function () { …
Chaddeus
  • 13,134
  • 29
  • 104
  • 162
29
votes
3 answers

Different rendering techniques in emberjs handlebars template

I've been reading a lot on emberjs lately but something isn't really clear to me: I have a feeling that there are different ways of rendering a template. Can someone explain the differences between…
polyclick
  • 2,704
  • 4
  • 32
  • 58
29
votes
6 answers

Using separate template files in Ember.js

MVC frameworks always allow views to be stored as separate files and retrieved. How is this supposed to be accomplished in Ember.js? I've been looking for hours, so if you want to vote this down as some sort of duplicate, please at least link to a…
Shawn Erquhart
  • 1,820
  • 2
  • 17
  • 30
29
votes
4 answers

Recommended example applications written in Ember.js

Which recent, public, medium-sized Ember.js applications do you recommend for learning about usage patterns by reading its implementations?
Carlos Paramio
  • 531
  • 1
  • 4
  • 6
28
votes
2 answers

How to do commenting in emberjs script handlebars?

Can anybody tell me how to include commented code in emberjs handlebars templates?
Kapil Garg
  • 3,100
  • 5
  • 19
  • 19
28
votes
6 answers

Emberjs Handlebars precompiling

My Emberjs app is running slowly so I wanted to precompile my template to ease the runtime a bit. However I'm lost on how to proceed. I read http://handlebarsjs.com/precompilation.html and Emberjs introduction but no, all I could do was just…
Stargazer
  • 542
  • 1
  • 4
  • 8