Questions tagged [todomvc]

TodoMVC is a project which offers the same Todo application implemented using MV* concepts in most of the popular JavaScript MV* frameworks of today.

TodoMVC is a project which offers the same Todo application implemented using MV* concepts in most of the popular JavaScript MV* frameworks of today.

TodoMVC is licensed under the MIT License and can be found on GitHub.

50 questions
1
vote
2 answers

How to rebuild Polymer's TodoMVC App

This is more of a general question in regard to learning Polymer 1.0 and it was proposed by the polymer team to publish them here on stackoverflow. The best way I personally learn stuff is to rebuild small apps. A great source has been…
LoveAndHappiness
  • 9,735
  • 21
  • 72
  • 106
1
vote
1 answer

React TodoMVC turorial react-boilerplate cant get to running

I ran into problem when i want to setup project of react-boilerplate from tutorial: http://facebook.github.io/flux/docs/todo-list.html#content When i run npm install it install all modules, but when i use command npm run build as tutorial says i get…
zazmaister
  • 667
  • 1
  • 7
  • 10
1
vote
1 answer

Sorting objects in Ember, Ember.SortableMixin sortProperties not working as expected

I'm new to Ember and recently followed the Ember "getting started" guide to build TodoMVC. Here it is in a jsbin. Everything works, but now I'm trying to sort the todos by adding sortProperties to the TodosController: Todos.TodosController =…
roseweixel
  • 58
  • 1
  • 5
1
vote
1 answer

How do I add Projects parent to Ember-CLI TodoMVC?

I am working on a todo type project using Ember-CLI. I used as a starting point the nifty todoMVC project, but built with Ember-CLI using this guide: http://blaketv.com/2014/10/03/ember-cli-todo-mvc-tutorial-0-0-47// My question is, how would I go…
1
vote
1 answer

how does todo mvc example for angularjs do without ng-controller?

Every example I've looked at has made use of the ng-controller directive to get things working. The Todo MVC example at https://github.com/tastejs/todomvc/tree/gh-pages/examples/angularjs creates a 'TodoCtrl' controller. But in the corresponding…
ladookie
  • 1,343
  • 4
  • 21
  • 24
1
vote
1 answer

Error while executing sample todomvc Sightly app

I am trying to execute todomvc sample Sightly app. After creating a package and installing it on AEM, when I try to view the Todo page (created by package) by navigating to http://localhost:4502/content/todo.html It shows up as blank page. When I…
akash
  • 237
  • 4
  • 18
1
vote
1 answer

ember js slight modification on todomvc failure

I'm trying to follow the todomvc tutorial on emberjs getting started documentation to understand it better. In the following stage of the tutorial where we add the editing capability to todo items. in the following link:…
user2485309
  • 145
  • 1
  • 6
1
vote
1 answer

Extending TodoMVC to support multiple todo lists

I'm trying to get a feel for Ember by extending the standard Todo MVC. I want to introduce the concept of multiple todo lists (eg shopping list, reading list etc) My code is online: http://jsbin.com/qidag/1/edit (I get slightly different/more…
Sam
  • 888
  • 1
  • 7
  • 8
1
vote
1 answer

backbone.js "order" attribute like TodoMVC not incrementing

I'm having difficulty getting a model with an auto-incrementing "order" attribute working in BackboneJS. For some reason every order gets set to 1. The length of the collection in the nextOrder function is always 0. Options = _.extend(Options, { …
ashgromnies
  • 3,266
  • 4
  • 27
  • 43
1
vote
1 answer

Where is the editing of TodoMVC Ember getting saved?

I'm having trouble figuring out where the edit is being saved. It looks like when we make an edit, the edit is going directly into the Local Storage, and saved immediately. But the view's change method has no save() anywhere. Do you know how this…
HaoQi Li
  • 11,970
  • 14
  • 58
  • 77
1
vote
0 answers

EmberJS todoMVC example implementing Parse Data Adapter, duplicate items

I was giving ember.js a try, and it looks really cool, having MVC architecture in javascript. I followed the todoMVC getting started guide, and everything worked perfectly. I replaced the data adapter with the Parse Data Adapter and it seems to…
Seb123
  • 471
  • 1
  • 7
  • 20
1
vote
2 answers

Ember.js how to design different representations of Data (with TodoMVC as an example)?

I would like to know what's the best way of designing the display of different representations of the same data model in Ember.js. To ask my question, I'll use the TodoMVC of Ember.JS, which has 3 representations of todo-data: any todo, i.e. the…
HaoQi Li
  • 11,970
  • 14
  • 58
  • 77
1
vote
1 answer

Design decisions in TodoMVC for Backbone Marionette example

I am wondering why in TodoMVC Backbone Marionette, a Marionette.Layout was used for Footer instead of a simple ItemView like Header? Also why use a CompositeView for TodoList.Views.ListView instead of a CollectionView?
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
0
votes
2 answers

React todolist onDoubleclick Input edit value show the current value instead of empty

I'm trying to create a todolist with React which when you double click on one of the to do list that will show input that allow you to edit the value. But I want to show the before value in the input edit when user click on it and the user can erase…
Josh Lee
  • 81
  • 5
0
votes
0 answers

To-do list with categories(ex. work) using MERN stack and CRUD functions?How would you go about creating different list types for a todo list?

I've already built out a to-do list that allows users to create and delete tasks. All the tasks are saved on MongoDB, and I also used EJS for the front end. How would you go about dynamically rendering a to-do list based on different categories? For…
artIcaDE
  • 1
  • 1