# How does lineman compare to ember-cli?

**URL:** <https://discuss.emberjs.com/t/how-does-lineman-compare-to-ember-cli/4933>\
**Category:** Ember CLI\
**Created:** [April 17, 2014, 4:32pm UTC](https://discuss.emberjs.com/t/how-does-lineman-compare-to-ember-cli/4933 "2014-04-17T16:32:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbrandoff](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/jbrandoff/32/15712_2.png) [@jbrandoff](https://discuss.emberjs.com/u/jbrandoff)\
**Post date:** [April 17, 2014, 4:32pm UTC](https://discuss.emberjs.com/t/how-does-lineman-compare-to-ember-cli/4933/1 "2014-04-17T16:32:46Z")

</div>

I’m planning on building a web application with an EmberJS front-end that talks to a Flask-based RESTful API. I was originally excited to get going with lineman to help tackle the front-end, but recently I’ve been introduced to ember-cli which, while newer/less developed at the moment, seems to much more tightly integrated with EmberJS.

If I’m committed to EmberJS, how does lineman compare to ember-cli?

---

<div class="post-metadata">

**Author:** ![AndresSRG](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/andressrg/32/15951_2.png) [@AndresSRG](https://discuss.emberjs.com/u/AndresSRG)\
**Post date:** [August 21, 2014, 4:36pm UTC](https://discuss.emberjs.com/t/how-does-lineman-compare-to-ember-cli/4933/2 "2014-08-21T16:36:57Z")

</div>

What did you choose for your project? I’m planning on building an API for ember-data with Flesk as well.

---

<div class="post-metadata">

**Author:** ![jbrandoff](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/jbrandoff/32/15712_2.png) [@jbrandoff](https://discuss.emberjs.com/u/jbrandoff)\
**Post date:** [August 21, 2014, 9:01pm UTC](https://discuss.emberjs.com/t/how-does-lineman-compare-to-ember-cli/4933/3 "2014-08-21T21:01:16Z")

</div>

I tried Lineman at first and it’s pretty nice, but Ember is moving so quickly and ember-cli is much more tightly integrated, so I switched over to ember-cli early on and never looked back. Stefan is very attentive to issues. It’s recently sped up a lot too.

For a faux API (until you build one in Flask), I recommend using Trek’s Pretender library.

---

<div class="post-metadata">

**Author:** ![AndresSRG](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/andressrg/32/15951_2.png) [@AndresSRG](https://discuss.emberjs.com/u/AndresSRG)\
**Post date:** [August 22, 2014, 8:21pm UTC](https://discuss.emberjs.com/t/how-does-lineman-compare-to-ember-cli/4933/4 "2014-08-22T20:21:26Z")

</div>

Thanks!. Trek’s Pretender seems really interesting.

---

<div class="post-metadata">

**Author:** ![lennon\_p](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/lennon_p/32/15613_2.png) [@lennon\_p](https://discuss.emberjs.com/u/lennon_p)\
**Post date:** [August 22, 2014, 11:53pm UTC](https://discuss.emberjs.com/t/how-does-lineman-compare-to-ember-cli/4933/5 "2014-08-22T23:53:02Z")

</div>

I’m curious, are you using anything to coerce the Flask API to render responses with the right kind of sideloading that Ember-data needs ([jsonapi.org](http://jsonapi.org) spec)?

I want to craete an API in Flask but wonder how these libs compare to Rails’s ActiveModelSerializer which takes care of all that stuff.

---

<div class="post-metadata">

**Author:** ![jbrandoff](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/jbrandoff/32/15712_2.png) [@jbrandoff](https://discuss.emberjs.com/u/jbrandoff)\
**Post date:** [August 23, 2014, 1:35pm UTC](https://discuss.emberjs.com/t/how-does-lineman-compare-to-ember-cli/4933/6 "2014-08-23T13:35:43Z")

</div>

For my projects, much of the data I’m pulling is from MongoDB. I manipulate it as dicts or list of dicts in Python, then return a jsonified response using Flask’s jsonify feature, e.g.

```auto
returned = {'people':peopleData}
return jsonify(returned)

```

or you could return multiple sets for sideloading:

```auto
return jsonify(filters=filters, sections=sections, options=options)

```

---

<div class="post-metadata">

**Author:** ![AndresSRG](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/andressrg/32/15951_2.png) [@AndresSRG](https://discuss.emberjs.com/u/AndresSRG)\
**Post date:** [August 25, 2014, 10:08pm UTC](https://discuss.emberjs.com/t/how-does-lineman-compare-to-ember-cli/4933/7 "2014-08-25T22:08:17Z")

</div>

You can also check Twilio’s [https://github.com/twilio/flask-restful](https://github.com/twilio/flask-restful)

erkarl has a very good example using it with ember-data

- [https://github.com/erkarl/flask-restful-todo](https://github.com/erkarl/flask-restful-todo)
- [https://github.com/erkarl/ember-todos](https://github.com/erkarl/ember-todos)
