It is not a flow control utility. It is a language tool. It pre-
compiles a language called streamline.js (which is just Javascript
with one little convention) to Javascript.

The OP was complaining about the difficulty with callbacks and his
last question was:
  Based on what I have, what are some better ways to structure
javascript on
  the server side, while keeping things asynchronous?

You responded by directing him to flow-control libraries. Sounds
reasonable to also point him to streamline and fibers, which were not
mentioned, so that he can make a well-informed choice.

Streamline does not encourage specific architectures. It is just a
generic tool to deal with async code. If I were to recommend an
architecture, it would be called REST.

Bruno.

On Nov 11, 2:52 pm, Jake Verbaten <[email protected]> wrote:
> Do you have any example of how streamline encourages certain architecture.
>
> As far as I know it's just a flow control utility
>
>
>
>
>
>
>
> On Fri, Nov 11, 2011 at 11:42 AM, Bruno Jouhier <[email protected]> wrote:
> > Hi Timothy,
>
> > This is a recurring topic on the node.js mailing list. You'll find a
> > lot of information (and hot debates) on
> >http://groups.google.com/group/nodejs
>
> > My own contribution:https://github.com/Sage/streamlinejs
> > and the blog post that I wrote about it last January:
>
> >http://bjouhier.wordpress.com/2011/01/09/asynchronous-javascript-the-...
>
> > node-fibers (https://github.com/laverdet/node-fibers) is another
> > approach that leads to similar code but with a very different
> > implementation under the hood.
>
> > Bruno
>
> > On Nov 10, 8:10 pm, "Timothy J. Warren" <[email protected]> wrote:
> > > I'm trying to create a framework along the lines of CodeIgniter for PHP
> > in
> > > Node JS.
>
> > > I have a very, very basic start here:
> >https://github.com/aviat4ion/JSIgnite/
>
> > > I've noticed that callbacks very quickly become burdensome when trying to
> > > keep the "system" or "core" part of the framework separate from the
> > > "application" part of the framework.
>
> > > Based on what I have, what are some better ways to structure javascript
> > on
> > > the server side, while keeping things asynchronous?
>
> > --
> > To view archived discussions from the original JSMentors Mailman list:
> > http://www.mail-archive.com/[email protected]/
>
> > To search via a non-Google archive, visit here:
> >http://www.mail-archive.com/[email protected]/
>
> > To unsubscribe from this group, send email to
> > [email protected]

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to