Re: [nodejs] which framework to use (express, meteor or koa)

2014-12-21 Thread Andi Nugroho Dirgantara
ising. -- Andi N. Dirgantara Platform Developer NoLimit Indonesia On Mon, Dec 22, 2014 at 10:07 AM, Alexander Praetorius wrote: > i evaluated sailsjs and loopback against each other. > > i like the tooling around loopback

Re: [nodejs] which framework to use (express, meteor or koa)

2014-12-21 Thread Andi Nugroho Dirgantara
If you want to learn Express, I recommend SailsJS instead, it has good learning curve for beginners (as long as you has experience in Javascript of cource), easy to use and learn, flexible, and also has a good directory structure. It's built on top of Express, Socket.io, has very helpful ORM li

Re: [nodejs] Best node.js full stack web framework

2014-12-09 Thread Andi Nugroho Dirgantara
Same as Savio Lucena said, SailsJS is a perfect match. I used it for daily projects. - MVC -> Sails has good structure and fully automated "Controllers" and "Models" global include, so it's not necessary to require('thisController') anymore - Easy to configure and extend -> Sails has "config" f

[nodejs] Re: Some questions concerning libuv (native binding)

2012-05-19 Thread Andi
hread pool since I am binding a network related client. On Saturday, May 19, 2012 8:26:55 AM UTC+2, mscdex wrote: > > On May 19, 1:02 am, Andi wrote: > > What did I miss? > > You might be missing some HandleScopes, but FWIW I generally follow > this helpful template for *thr

[nodejs] Some questions concerning libuv (native binding)

2012-05-18 Thread Andi
This is the example: http://pastebin.com/K4D6d4iB 1) The first thing is that "Loop" is not found: CXX(target) Release/obj.target/binding/binding.o ../binding.cc: In static member function ‘static v8::Handle HelloWorld::Async(const v8::Arguments&)’: ../binding.cc:62: error: ‘Loop’ was not decla

[nodejs] Re: Cannot use my own native binding (built with node-gyp)

2012-03-11 Thread Andi
My mistake was that I didn't know that "binding" in NODE_MODULE(binding, init) must be the target name, defined in the gyp file. On Sunday, March 11, 2012 4:52:14 PM UTC+1, Andi wrote: > > I have created my own native binding like this: > http://pastebin.com/pEujz

[nodejs] Cannot use my own native binding (built with node-gyp)

2012-03-11 Thread Andi
I have created my own native binding like this: http://pastebin.com/pEujzNfc I have created the correct binding.gyp file, and installed node-gyp. I use node v0.6.12. $ node-gyp configure info it worked if it ends with ok spawn python [ '/Users/andi/.node-gyp/0.6.12/tools/gyp_

[nodejs] Cannot use own native binding (built with node-gyp)

2012-03-11 Thread Andi
#include #include using namespace node; using namespace v8; class HelloWorld: ObjectWrap { private: int m_count; public: static void Init(Handle target) { HandleScope scope; Local t = FunctionTemplate::New(New); Persistent s_ct = Persistent::New(t); s_ct