node.js

19 views
Skip to first unread message

Andrew Brookins

unread,
Feb 8, 2011, 10:47:10 PM2/8/11
to pd...@googlegroups.com
I'm digging CoffeeScript + node.js right now. Anybody using either of
these (but particularly node) in production or for fun?

Andrew

martypdx

unread,
Feb 16, 2011, 12:44:45 AM2/16/11
to Portland JavaScript Admirers
Started using CoffeeScript and node.js last week. Trying to get the
whole dev env flow worked out. The -watch option is pretty cool and
makes it trivial to integrate, still trying to find the right testing
framework to fit into everything. Vows looks pretty good, but doesn't
have a watch option.

Have you checked out zappa https://github.com/mauricemach/zappa? It's
a coffeescript DSL on top of express.

Andrew Brookins

unread,
Feb 16, 2011, 12:59:24 PM2/16/11
to pd...@googlegroups.com
> --
> You received this message because you are subscribed to the Google Groups "Portland JavaScript Admirers" group.
> To post to this group, send email to pd...@googlegroups.com.
> To unsubscribe from this group, send email to pdxjs+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/pdxjs?hl=en.
>
>

Yeah, I struggled a bit with the env stuff. Looked for a
virtualenv-equivalent and wound up using nave, which wasn't quite what
I'd hoped. It's more like rvm.

I'll have to poke around with Vows - haven't used it yet.

I'm building an app with zappa and mongoose right now, with a
front-end written in plain JS with Backbone (until I convert it to
CoffeeScript next sprint). Loving zappa, not so much mongoose - so far
I've had more problems with its error handling than the light schema +
validation has been worth.

What are you using for persistence?

Andrew

Christopher Bailey

unread,
Feb 16, 2011, 4:27:23 PM2/16/11
to pd...@googlegroups.com, Andrew Brookins
I'll be interested to follow this.  I *love* Coffeescript, but haven't done anything with node yet.  However, our entire (native) iPhone app is written in Coffeescript (using Titanium), and it's been superb.  Makes me want to never write straight JS again :)  I'm curious to learn more and compare many of these JS frameworks like Zappa/Express, Backbone, Knockout, etc.  For the environment stuff, I may not be understanding what you're after, but my understanding is that npm can do some similar things to rvm in terms of managing different sets of node packages and so on.  Might not be all you need, but maybe helps?
--
Christopher Bailey
Cobalt Edge LLC
http://cobaltedge.com

Chris Smith

unread,
Feb 16, 2011, 5:19:12 PM2/16/11
to pd...@googlegroups.com, Christopher Bailey, Andrew Brookins
Has anyone found a reliable service for hosted node.js?

Or had success running it in a cgi environment?

Duncan Beevers

unread,
Feb 16, 2011, 5:22:01 PM2/16/11
to pd...@googlegroups.com
I know both Joyent and Heroku offer hosted node, though I have no personal experience with either platform.

Christopher Bailey

unread,
Feb 16, 2011, 5:24:51 PM2/16/11
to pd...@googlegroups.com, Duncan Beevers
I haven't tried any either, but another interesting one I came across recently is Duostack, which is to host both Ruby and Node apps...

Andrew Brookins

unread,
Feb 16, 2011, 5:52:01 PM2/16/11
to Christopher Bailey, pd...@googlegroups.com
I'd forgotten that Titanium had a JavaScript mode. Pretty cool that
you can write an iPhone app in CoffeeScript, though Objective-C and
the iOS SDK aren't that bad by themselves. Reference counts can be a
drag, but the tooling is pretty nice. Anyway, yeah, I'd also be happy
to drop JavaScript on the floor.

I gandered at Express, but it didn't impress me with its beauty or
anything. I might have skipped doing my current (weekend) project in
node.js if I hadn't discovered zappa.

As for environment, I'd like something akin to virtualenv for Python:
a tool that will create a sandbox environment containing an
interpreter and module/package installer pegged to the sandbox. I
think npm is the node package manager? There's also nvm which is, I
think, like nave -- both manage different versions of the node binary.

Probably nave does something like what I want, and I just haven't
spent enough time using it.

Andrew

On Wed, Feb 16, 2011 at 1:27 PM, Christopher Bailey
<ch...@cobaltedge.com> wrote:

Martin Nelson

unread,
Feb 16, 2011, 6:03:46 PM2/16/11
to pd...@googlegroups.com, Christopher Bailey, Duncan Beevers
I've successfully gotten coupons for duostack, nodester.com, and bejus.us in the past week.  Just started trying to get nodester set up, but ran into an error.

I've come over from the darkside (10+ years of Microsoft development) and I tend to struggle with a lot of basic things. Is anyone interested in getting together in Portland to share and show how they have their development experience set up? 

Phil Tomson

unread,
Feb 16, 2011, 1:09:11 PM2/16/11
to pd...@googlegroups.com
>
> What are you using for persistence?
>

We're using redis for persistence and for pub/sub messaging. We're
using rapid as the ORM (Javascript <-> redis)

Phil

Andrew Kurtz

unread,
Feb 16, 2011, 5:44:40 PM2/16/11
to pd...@googlegroups.com
I'm using duostack for node right now. Works as advertised, basically a heroku for node/ruby. Documentation is exceptionally sparse, busted app builds can get your repo locked (email support for unlock). There are no app logs recorded for node (debugging deploys is frustrating). Only DBs are mongo and mysql, though they claim anything on s3 east will have low enough latency to work (opposite of my experience trying to run something from mongohq). It's unclear how many adapters and libs they offer through npm. Heroku, Duostack and Joyent all require you to get selected for their "beta". That's the problem.

Andrew Hay Kurtz

unread,
Feb 16, 2011, 5:56:52 PM2/16/11
to Portland JavaScript Admirers
I'm using duostack for node right now. Works as advertised, basically
a heroku for node/ruby. Documentation is exceptionally sparse, busted
app builds can get your repo locked (email support for unlock). There
are no app logs recorded for node (debugging deploys is frustrating).
Only DBs are mongo and mysql, though they claim anything on s3 east
will have low enough latency to work (opposite of my experience trying
to run something from mongohq). It's unclear how many adapters and
libs they offer through npm. Heroku, Duostack and Joyent all require
you to get selected for their "beta". That's the problem.

On Feb 16, 2:24 pm, Christopher Bailey <ch...@cobaltedge.com> wrote:
> I haven't tried any either, but another interesting one I came across
> recently is Duostack, which is to host both Ruby and Node apps...
>
> http://www.duostack.com/
>
> On Wed, Feb 16, 2011 at 2:22 PM, Duncan Beevers <duncanbeev...@gmail.com>wrote:
>
>
>
>
>
>
>
>
>
> > I know both Joyent and Heroku offer hosted node, though I have no personal
> > experience with either platform.
>
> > On Wed, Feb 16, 2011 at 2:19 PM, Chris Smith <ch...@chrissmith.us> wrote:
>
> >> Has anyone found a reliable service for hosted node.js?
>
> >> Or had success running it in a cgi environment?
>
> >> On Wed, Feb 16, 2011 at 1:27 PM, Christopher Bailey <ch...@cobaltedge.com
> >> > wrote:
>
> >>> I'll be interested to follow this.  I *love* Coffeescript, but haven't
> >>> done anything with node yet.  However, our entire (native) iPhone app is
> >>> written in Coffeescript (using Titanium), and it's been superb.  Makes me
> >>> want to never write straight JS again :)  I'm curious to learn more and
> >>> compare many of these JS frameworks like Zappa/Express, Backbone, Knockout,
> >>> etc.  For the environment stuff, I may not be understanding what you're
> >>> after, but my understanding is that npm can do some similar things to rvm in
> >>> terms of managing different sets of node packages and so on.  Might not be
> >>> all you need, but maybe helps?
>
> >>> On Wed, Feb 16, 2011 at 9:59 AM, Andrew Brookins <a.m.brook...@gmail.com
> >>> > wrote:
>
> >>>> On Tue, Feb 15, 2011 at 9:44 PM, martypdx <marty.nel...@yahoo.com>
> >>>> wrote:
> >>>> > Started using CoffeeScript and node.js last week.  Trying to get the
> >>>> > whole dev env flow worked out. The -watch option is pretty cool and
> >>>> > makes it trivial to integrate, still trying to find the right testing
> >>>> > framework to fit into everything. Vows looks pretty good, but doesn't
> >>>> > have a watch option.
>
> >>>> > Have you checked out zappahttps://github.com/mauricemach/zappa?It's

Christopher Bailey

unread,
Feb 18, 2011, 7:16:16 PM2/18/11
to Andrew Brookins, pd...@googlegroups.com
On Wed, Feb 16, 2011 at 2:52 PM, Andrew Brookins <a.m.br...@gmail.com> wrote:
I'd forgotten that Titanium had a JavaScript mode. Pretty cool that
you can write an iPhone app in CoffeeScript, though Objective-C and
the iOS SDK aren't that bad by themselves. Reference counts can be a
drag, but the tooling is pretty nice. Anyway, yeah, I'd also be happy
to drop JavaScript on the floor.

Don't want to side track things, and I'm happy to talk about this more at the meetup next week if you or anyone are interested.  But, what I've found interesting, is that I feel like I can write iPhone apps way faster with Titanium.  But, to be sure, I'm very light on experience with the Objective-C route (I've used the language plenty, that's not the issue, it's more just experience specifically with iOS app dev using the full native tools).  I feel like I can knock stuff out with Titanium so quickly, and that the corresponding code in Objective-C is many more lines, often more architecture for the sake of architecture and nothing else, etc, etc.  There are things Titanium wouldn't be good for, but for many apps I think it's pretty awesome.  

Andrew Brookins

unread,
Feb 18, 2011, 9:42:20 PM2/18/11
to Christopher Bailey, pd...@googlegroups.com
On Fri, Feb 18, 2011 at 4:16 PM, Christopher Bailey
<ch...@cobaltedge.com> wrote:
> On Wed, Feb 16, 2011 at 2:52 PM, Andrew Brookins <a.m.br...@gmail.com>
> wrote:
>>
>> I'd forgotten that Titanium had a JavaScript mode. Pretty cool that
>> you can write an iPhone app in CoffeeScript, though Objective-C and
>> the iOS SDK aren't that bad by themselves. Reference counts can be a
>> drag, but the tooling is pretty nice. Anyway, yeah, I'd also be happy
>> to drop JavaScript on the floor.
>
> Don't want to side track things, and I'm happy to talk about this more at
> the meetup next week if you or anyone are interested.  But, what I've found
> interesting, is that I feel like I can write iPhone apps way faster with
> Titanium.  But, to be sure, I'm very light on experience with the
> Objective-C route (I've used the language plenty, that's not the issue, it's
> more just experience specifically with iOS app dev using the full native
> tools).  I feel like I can knock stuff out with Titanium so quickly, and
> that the corresponding code in Objective-C is many more lines, often more
> architecture for the sake of architecture and nothing else, etc, etc.  There
> are things Titanium wouldn't be good for, but for many apps I think it's
> pretty awesome.
>

Yeah, we'll have to chat at the next meeting. Right now I do a lot of
pure Objective-C iOS development with the native toolkit, but I could
see using Titanium for a project that was less memory-intensive than
the one I'm working on.

Andrew

Christopher Bailey

unread,
Feb 18, 2011, 11:32:18 PM2/18/11
to Andrew Brookins, pd...@googlegroups.com
Cool, I'd love to chat.  Also great to just talk to more mobile developers, I've been really enjoying it.  Will be my first time at the meeting, so look for the newbie ;-)
 

<snip> 

jayesh joshi

unread,
Sep 17, 2012, 6:05:36 AM9/17/12
to pd...@googlegroups.com
what is node.js?

Ramiro Jr. Franco

unread,
Sep 17, 2012, 3:25:54 PM9/17/12
to pd...@googlegroups.com
I've been using CoffeeScript in production with rails for over a year now and I love it, no node though.
--
You received this message because you are subscribed to the Google Groups "Portland JavaScript Admirers" group.
To post to this group, send email to pd...@googlegroups.com.
To unsubscribe from this group, send email to pdxjs+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/pdxjs/-/v9RK--mnSYYJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Merlyn Albery-Speyer

unread,
Sep 17, 2012, 3:49:50 PM9/17/12
to pd...@googlegroups.com
I've two hobby projects that are using node.js: (feedback welcome)

1. My rewrite of Jobagator.org into node.js + backbonejs + mongodb -- http://techlandia-staging.herokuapp.com/
2. My node.js + socket.io site for use on mobile devices -- http://multiplayer-chess-clock.herokuapp.com/

Jesse Hallett

unread,
Sep 17, 2012, 4:38:47 PM9/17/12
to pd...@googlegroups.com

You can read about node.js at http://nodejs.org/

Node.js is a server-side javascript implementation.  It is useful for implementing stuff like network servers and shell scripts.

--

Andrew Brookins

unread,
Sep 17, 2012, 4:51:42 PM9/17/12
to pd...@googlegroups.com
Google may have some links, too.

Andrew Brookins

unread,
Sep 17, 2012, 4:57:30 PM9/17/12
to pd...@googlegroups.com
Sorry, that wasn't a helpful reply. Here's an article by O'Reilly that I found:

http://radar.oreilly.com/2011/07/what-is-node.html

I retreated back to Python for server-side development and
Coffeescript in the client, but the allure of using a single language
remains client- and server-side remains. There's also Opa
(http://opalang.org/) which seems like a more (better? I can't say)
engineered solution to that problem.

Best,
Andrew

jayesh joshi

unread,
Sep 18, 2012, 2:15:59 AM9/18/12
to pd...@googlegroups.com
Thank you
Reply all
Reply to author
Forward
0 new messages