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
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
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
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
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
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
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_
#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