Flatiron TODO example #5

Open
jfhbrook opened this Issue Nov 14, 2011 · 32 comments

Comments

Projects
None yet
@jfhbrook
Contributor

jfhbrook commented Nov 14, 2011

The core parts of Flatiron (broadway, union, etc.) have enough documentation that you can infer generally how flatiron works, but flatiron itself has no documentation. In particular, the functionality of the baked-in plugins needs documenting.

@alphand

This comment has been minimized.

Show comment Hide comment
@alphand

alphand Dec 8, 2011

I agree with this
is it possible to explain how this flatiron works?
because I cant see the different with the broadway as a middleware

alphand commented Dec 8, 2011

I agree with this
is it possible to explain how this flatiron works?
because I cant see the different with the broadway as a middleware

@jfhbrook

This comment has been minimized.

Show comment Hide comment
@jfhbrook

jfhbrook Dec 8, 2011

Contributor

The short answer is that its plugin system is based on broadway so that aspect should look the same.

Contributor

jfhbrook commented Dec 8, 2011

The short answer is that its plugin system is based on broadway so that aspect should look the same.

@mmalecki

This comment has been minimized.

Show comment Hide comment
@mmalecki

mmalecki Dec 12, 2011

Contributor

Heads-up: A simple http example was added in d34cdb2.

Contributor

mmalecki commented Dec 12, 2011

Heads-up: A simple http example was added in d34cdb2.

@mgan59

This comment has been minimized.

Show comment Hide comment
@mgan59

mgan59 Jan 13, 2012

I think a large/lengthy overview of using flatiron to build a blog would be ideal. Coming into the main flatiron page I was confused by all the modules and what problems they are actually solving. Nodeup episode 7's intro to flatiron is more informative than the website. To get me up to speed I learn much faster when I can look at a familiar project (a simple blog) and see how all the pieces fit together.

mgan59 commented Jan 13, 2012

I think a large/lengthy overview of using flatiron to build a blog would be ideal. Coming into the main flatiron page I was confused by all the modules and what problems they are actually solving. Nodeup episode 7's intro to flatiron is more informative than the website. To get me up to speed I learn much faster when I can look at a familiar project (a simple blog) and see how all the pieces fit together.

@saadiq

This comment has been minimized.

Show comment Hide comment
@saadiq

saadiq Jan 15, 2012

+1 To the original point, we document all of the pieces but have no complete docs on how to use them all together. The flatironjs.org site gives snippets for the components but none for the whole.

saadiq commented Jan 15, 2012

+1 To the original point, we document all of the pieces but have no complete docs on how to use them all together. The flatironjs.org site gives snippets for the components but none for the whole.

@diversario

This comment has been minimized.

Show comment Hide comment
@diversario

diversario Jan 17, 2012

I would love to see some examples. I'm going to try it out as a replacement for Express and actual code snippets could help a lot.

I would love to see some examples. I'm going to try it out as a replacement for Express and actual code snippets could help a lot.

@mgan59

This comment has been minimized.

Show comment Hide comment
@mgan59

mgan59 Jan 17, 2012

I've been experimenting with backbone some over the past few weeks. Flatiron.js could act as a client-side/server-side replacement? If so would be great to see the backbone todo-app example converted :)

mgan59 commented Jan 17, 2012

I've been experimenting with backbone some over the past few weeks. Flatiron.js could act as a client-side/server-side replacement? If so would be great to see the backbone todo-app example converted :)

@tauren

This comment has been minimized.

Show comment Hide comment
@tauren

tauren Jan 18, 2012

For the client-side aspects, a todo example could be added to @addyosmani TodoMVC project:
https://github.com/addyosmani/todomvc

But I agree that a more in depth example would be very nice to see.

tauren commented Jan 18, 2012

For the client-side aspects, a todo example could be added to @addyosmani TodoMVC project:
https://github.com/addyosmani/todomvc

But I agree that a more in depth example would be very nice to see.

@jfhbrook

This comment has been minimized.

Show comment Hide comment
@jfhbrook

jfhbrook Jan 18, 2012

Contributor

If so would be great to see the backbone todo-app example converted

A capital idea.

Contributor

jfhbrook commented Jan 18, 2012

If so would be great to see the backbone todo-app example converted

A capital idea.

@addyosmani

This comment has been minimized.

Show comment Hide comment
@addyosmani

addyosmani Jan 18, 2012

@tauren @jesusabdullah If someone familiar with Flatiron would be willing to put together a version using our boilerplate for Todo apps https://github.com/addyosmani/todomvc/tree/master/template I'm sure we could consider including it.

@tauren @jesusabdullah If someone familiar with Flatiron would be willing to put together a version using our boilerplate for Todo apps https://github.com/addyosmani/todomvc/tree/master/template I'm sure we could consider including it.

@mgan59

This comment has been minimized.

Show comment Hide comment
@mgan59

mgan59 Jan 18, 2012

@tauren good to know, good place to put it :)

From what I've gathered flatiron doesn't have all the parts needed to build a todo-app, specifically event bindings/delegation for the client-side DOM which backbone/spine would have baked-in.

Anyone from the node-itsu want to weigh in on general thoughts/approaches to writing a todo example? If I have time I may take a shot at it and would be great to have some pointers/hints for things to keep in mind.

mgan59 commented Jan 18, 2012

@tauren good to know, good place to put it :)

From what I've gathered flatiron doesn't have all the parts needed to build a todo-app, specifically event bindings/delegation for the client-side DOM which backbone/spine would have baked-in.

Anyone from the node-itsu want to weigh in on general thoughts/approaches to writing a todo example? If I have time I may take a shot at it and would be great to have some pointers/hints for things to keep in mind.

@jfhbrook

This comment has been minimized.

Show comment Hide comment
@jfhbrook

jfhbrook Jan 18, 2012

Contributor

You could definitely build a todo app with flatiron, though it would probably look different from a backbone version. In fact, you may find backbone and flatiron to be complimentary.

Contributor

jfhbrook commented Jan 18, 2012

You could definitely build a todo app with flatiron, though it would probably look different from a backbone version. In fact, you may find backbone and flatiron to be complimentary.

@mgan59

This comment has been minimized.

Show comment Hide comment
@mgan59

mgan59 Jan 18, 2012

@jesusabdullah curious, would you have to make the decision to use backbone's router versus flatiron's? Or use backbone on client-side and use flatiron on server? So many choices :)

mgan59 commented Jan 18, 2012

@jesusabdullah curious, would you have to make the decision to use backbone's router versus flatiron's? Or use backbone on client-side and use flatiron on server? So many choices :)

@jfhbrook

This comment has been minimized.

Show comment Hide comment
@jfhbrook

jfhbrook Jan 18, 2012

Contributor

Not sure! I actually don't have much backbone experience. How "swappable" is backbone's router? My intuition is to not try and "tear out" parts of backbone, and to use flatiron components on the client only to compliment backbone instead of replacing it. That said, part of the fun of flatiron is that you get to make these choices!

Contributor

jfhbrook commented Jan 18, 2012

Not sure! I actually don't have much backbone experience. How "swappable" is backbone's router? My intuition is to not try and "tear out" parts of backbone, and to use flatiron components on the client only to compliment backbone instead of replacing it. That said, part of the fun of flatiron is that you get to make these choices!

@mgan59

This comment has been minimized.

Show comment Hide comment
@mgan59

mgan59 Jan 18, 2012

You could elect to use director over backbone's router and it wouldn't be an issue as Backbone doesn't force you into their router.

I've thought about this some more and they could work together, just don't know if it is the best approach.

mgan59 commented Jan 18, 2012

You could elect to use director over backbone's router and it wouldn't be an issue as Backbone doesn't force you into their router.

I've thought about this some more and they could work together, just don't know if it is the best approach.

@jfhbrook

This comment has been minimized.

Show comment Hide comment
@jfhbrook

jfhbrook Jan 18, 2012

Contributor

In that case, I would imagine that it's a matter of taste. Personally, I'd love to see an example where backbone's router is swapped out with director even if it's often not the first choice.

Contributor

jfhbrook commented Jan 18, 2012

In that case, I would imagine that it's a matter of taste. Personally, I'd love to see an example where backbone's router is swapped out with director even if it's often not the first choice.

@norman784

This comment has been minimized.

Show comment Hide comment
@norman784

norman784 Feb 23, 2012

I'll love to see how it works all together in client/server side, 'cause there is some examples on how works on server or client, but not in both sites. Its just confusing me of how need to work with flatiron

I'll love to see how it works all together in client/server side, 'cause there is some examples on how works on server or client, but not in both sites. Its just confusing me of how need to work with flatiron

@autoric

This comment has been minimized.

Show comment Hide comment
@autoric

autoric Mar 28, 2012

Are there any working examples of http applications built on flatiron? Would be extremely useful as reference for the framework and the resource-presenter-view architecture in practice.

autoric commented Mar 28, 2012

Are there any working examples of http applications built on flatiron? Would be extremely useful as reference for the framework and the resource-presenter-view architecture in practice.

@ThiagoMiranda

This comment has been minimized.

Show comment Hide comment
@ThiagoMiranda

ThiagoMiranda Apr 11, 2012

Would be interesting to see an actual app using flatiron.

Would be interesting to see an actual app using flatiron.

@autoric

This comment has been minimized.

Show comment Hide comment
@autoric

autoric Apr 12, 2012

I went to the #nodejitsu irc channel and did get pointed at one example, which you can find here -
https://github.com/meltmedia/notconf

autoric commented Apr 12, 2012

I went to the #nodejitsu irc channel and did get pointed at one example, which you can find here -
https://github.com/meltmedia/notconf

@ThiagoMiranda

This comment has been minimized.

Show comment Hide comment
@ThiagoMiranda

ThiagoMiranda Apr 12, 2012

Thanks!!! Gonna dig into that!

Thanks!!! Gonna dig into that!

@mgan59

This comment has been minimized.

Show comment Hide comment
@mgan59

mgan59 Apr 12, 2012

@autoric great find, thanks!

mgan59 commented Apr 12, 2012

@autoric great find, thanks!

@nicwolff

This comment has been minimized.

Show comment Hide comment
@nicwolff

nicwolff Apr 28, 2012

Is that a great find? It doesn't show the use of any component except, implicitly, Director. Where's an example of using Flatiron + Plates?

Is that a great find? It doesn't show the use of any component except, implicitly, Director. Where's an example of using Flatiron + Plates?

@mgan59

This comment has been minimized.

Show comment Hide comment
@mgan59

mgan59 Apr 29, 2012

Think it is better than nothing. I don't mind that the example uses handlebars as that is what I'm accustomed to with other projects.

Maybe we should organize a wiki-list of other github projects using various components so people can see how other items are being used.

mgan59 commented Apr 29, 2012

Think it is better than nothing. I don't mind that the example uses handlebars as that is what I'm accustomed to with other projects.

Maybe we should organize a wiki-list of other github projects using various components so people can see how other items are being used.

@autoric

This comment has been minimized.

Show comment Hide comment
@autoric

autoric May 8, 2012

Unfortunately it does not show the use of Plates or many of the other flatiron modules. I would love to find or see some examples that do - but so far haven't been able to. I know the nodejitsu team uses flatiron internally, but realistically I don't think the framework is ready for widespread use at this point...so examples will be hard to find.

--I should amend my comment to say that the framework as a whole does not feel ready to me. Some modules are in excellent shape, others seem farther behind. That's probably going to be reflected in the examples we can find.

autoric commented May 8, 2012

Unfortunately it does not show the use of Plates or many of the other flatiron modules. I would love to find or see some examples that do - but so far haven't been able to. I know the nodejitsu team uses flatiron internally, but realistically I don't think the framework is ready for widespread use at this point...so examples will be hard to find.

--I should amend my comment to say that the framework as a whole does not feel ready to me. Some modules are in excellent shape, others seem farther behind. That's probably going to be reflected in the examples we can find.

@jfhbrook

This comment has been minimized.

Show comment Hide comment
@jfhbrook

jfhbrook May 8, 2012

Contributor

I wrote http://blog.jit.su/getting-started-with-flatiron, some of you may find it useful.

Contributor

jfhbrook commented May 8, 2012

I wrote http://blog.jit.su/getting-started-with-flatiron, some of you may find it useful.

@joakim

This comment has been minimized.

Show comment Hide comment
@joakim

joakim Sep 9, 2012

@addyosmani commented on the todomvc issue a week ago:

Looks like this one might not end up getting rewritten for a while. Please feel free to re-open when the framework is ready for primetime :)

So, is it ready for primetime on the client?

@jesusabdullah's article is great for figuring out the server side use of Flatiron, as was this blog post. In contrast, I haven't found any examples of using Flatiron client side.

There's also been a lot of talk about isomorphic JavaScript, but I've yet to see a working example of a server/client isomorphic Flatiron app.

joakim commented Sep 9, 2012

@addyosmani commented on the todomvc issue a week ago:

Looks like this one might not end up getting rewritten for a while. Please feel free to re-open when the framework is ready for primetime :)

So, is it ready for primetime on the client?

@jesusabdullah's article is great for figuring out the server side use of Flatiron, as was this blog post. In contrast, I haven't found any examples of using Flatiron client side.

There's also been a lot of talk about isomorphic JavaScript, but I've yet to see a working example of a server/client isomorphic Flatiron app.

@pksunkara

This comment has been minimized.

Show comment Hide comment
@pksunkara

pksunkara Sep 12, 2012

Contributor

We are working on it. We still have a few more steps to go to make it completely isomorphic.

Contributor

pksunkara commented Sep 12, 2012

We are working on it. We still have a few more steps to go to make it completely isomorphic.

@klh

This comment has been minimized.

Show comment Hide comment
@klh

klh Oct 1, 2013

..a year ago guys...

klh commented Oct 1, 2013

..a year ago guys...

@addyosmani

This comment has been minimized.

Show comment Hide comment
@addyosmani

addyosmani Oct 1, 2013

ping @pksunkara

@stela5

This comment has been minimized.

Show comment Hide comment
@stela5

stela5 Jul 15, 2014

...two years and counting...

stela5 commented Jul 15, 2014

...two years and counting...

@rsp

This comment has been minimized.

Show comment Hide comment
@rsp

rsp Dec 22, 2015

@pksunkara Any progress on those "few more steps"? I'd like to update my answer on Stack Overflow: https://stackoverflow.com/questions/9057016/node-js-express-vs-flatiron/18583473#18583473
Thanks.

rsp commented Dec 22, 2015

@pksunkara Any progress on those "few more steps"? I'd like to update my answer on Stack Overflow: https://stackoverflow.com/questions/9057016/node-js-express-vs-flatiron/18583473#18583473
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment