[nodejs] Simple node.js support for rich apps on ExtJS

2014-09-30 Thread Oleg Verych
Hi. I propose small (just connect 2.9) multiuser (RBAC) platform with comprehensible ideas and amount of code to just start developing desktop-like (e.g. MS Excel/VBA, Delphi, etc.) applications that help organizations to run its small business. Heavy lifting of UI is done by ExtJS. All is lef

[nodejs] Problems with the cluster module and node's eval

2014-09-30 Thread Adam Snodgrass
I'm currently working on a project that requires compiling the source into node.js (0.10.32). After moving all the source files into `lib/`,referencing them in node.gyp and some other work, I add `process._eval = 'require("app");';` to `src/node.js`. This works fine but if I try using the clust

Re: [nodejs] monolithic node app VS multiple node instances and/or proxying

2014-09-30 Thread Aria Stewart
> On 30 Sep 2014, at 21:05, Jason Grima wrote: > So to my question: What approach is Node better suited to? > • a single monolithic runtime > • multiple instances on a single machine - I've seen the new "Cluster" > module, which certainly looks interesting, but is listed as experim

Re: [nodejs] Re: NodeJs e-commerce solution?

2014-09-30 Thread chuck.lei
It is totally based on mongodb. I prefer to choose MySQL for inventory manage. It's hard to convince other colleagues that mongodb is a better solution. The most popular and mature commerce projects like (magneto, ofbiz) all use MySQL. Although it seems that mongodb is best suited for nodejs. 发

Re: [nodejs] Re: NodeJs e-commerce solution?

2014-09-30 Thread chuck.lei
Thanks. I will checkout and take a look at it. 发自我的 iPad > 在 2014年9月29日,上午11:40,Alexey Petrushin 写道: > > There's kind of eCommerce in node.js, very simple though, sample shop built > with it http://robotigra.ru > > It's not exactly eCommerce, but a static site generator with eCommerce plugin

[nodejs] monolithic node app VS multiple node instances and/or proxying

2014-09-30 Thread Jason Grima
I'm fairly new to node, but quite experienced at development (PHP, Java, C, asp, .Net, VB - I've been round the block a few times). I'm in the early stages of planning the redevelopment of a web-app servicing several thousand active users per day and currently NodeJS is looking to be a good pla

Re: [nodejs] Sharing binary data between PHP and NodeJS - without b64?

2014-09-30 Thread Aria Stewart
On Sep 30, 2014, at 5:20 PM, Ingwie Phoenix wrote: > I see, thats one solution - and you just reminded me on this hTTP header i > keep forgetting too! Thanks for that by the way. > > I have to sen dmultiple files and retain some metadata (title, description). > Is there some kind of JSON that

Re: [nodejs] Sharing binary data between PHP and NodeJS - without b64?

2014-09-30 Thread Ingwie Phoenix
I see, thats one solution - and you just reminded me on this hTTP header i keep forgetting too! Thanks for that by the way. I have to sen dmultiple files and retain some metadata (title, description). Is there some kind of JSON that also lets me work with binary data - in both languages that is

Re: [nodejs] Sharing binary data between PHP and NodeJS - without b64?

2014-09-30 Thread Aria Stewart
On Sep 30, 2014, at 5:07 PM, Ingwie Phoenix wrote: > Cool, nice to know! :) > > Now, what is if I wanted to save a structure like this and send it to my > client? > > { >"files": { >"file.jpg": , >"name": "My File" >} > } JSON is UTF-8, so you're at the mercy of the

Re: [nodejs] Sharing binary data between PHP and NodeJS - without b64?

2014-09-30 Thread Ingwie Phoenix
Cool, nice to know! :) Now, what is if I wanted to save a structure like this and send it to my client? { "files": { "file.jpg": , "name": "My File" } } Am 30.09.2014 um 22:59 schrieb Aria Stewart : > > On Sep 30, 2014, at 4:42 PM, Ingwie Phoenix wrote: > >> The title

Re: [nodejs] Sharing binary data between PHP and NodeJS - without b64?

2014-09-30 Thread Aria Stewart
On Sep 30, 2014, at 4:42 PM, Ingwie Phoenix wrote: > The title says it rather well. > > But to elaborate a little: I have a web service that can collect data from a > database, clean it and then send it to a user as a backup. This backup is > supposed to contain binary data, like pictures. Bu

[nodejs] Sharing binary data between PHP and NodeJS - without b64?

2014-09-30 Thread Ingwie Phoenix
The title says it rather well. But to elaborate a little: I have a web service that can collect data from a database, clean it and then send it to a user as a backup. This backup is supposed to contain binary data, like pictures. But how do I parse such with nodejs - and what format to use? The

[nodejs] mocha dies to 1mil testcases

2014-09-30 Thread Abrar Sheikh
i see that mocha first instantiates all its it functions and then start running the test cases. is there any way in which mocha can start running test cases without initialising all 1mil functions first. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9

Re: [nodejs] npm install mongodb explosion

2014-09-30 Thread Ryan Schmidt
On Sep 29, 2014, at 10:44 PM, Rob Vig wrote: > I'm trying to run > npm install mongodb > > and I get > > = > > Microsoft Windows [Version 6.3.9600] > (c) 2013 Microsoft Corporation. All rights reserved. > > C:\Users\RobbyV>npm install mongodb > \ > > > >

Re: [nodejs] Re: Running node on port 80?

2014-09-30 Thread henrique matias
As people said, haproxy or nginx can solve you loads of issues ( and bring you new ones as well haha ) In case you considering using iptables, maybe you might want to know about UFW https://wiki.ubuntu.com/UncomplicatedFirewall On 30 September 2014 08:47, Alex wrote: > This is largely a syst

[nodejs] Node v0.12 Addons and V8: Returning new objects from exposed functions

2014-09-30 Thread blazs
Hi, suppose I have wrapped a vector TJsVec and there's a function static void multiply(const v8::FunctionCallbackInfo& Args); that returns a new TJsVec, scaled by a scalar: void TJsVec::multiply(const FunctionCallbackInfo& Args) { Isolate* Isolate = Isolate::GetCurrent(); HandleScope Scope(

[nodejs] Re: NodeJs e-commerce solution?

2014-09-30 Thread Matt Mischewski
this is built on Meteor https://reactioncommerce.com/ Not pure node but looks promising On Thursday, May 10, 2012 8:55:51 PM UTC+2, guzelgoz wrote: > > Hi all, > > I've been searching and searching but couldn't find any project/open > source node e-commerce platform. As I am running some e-comm

[nodejs] Re: Running node on port 80?

2014-09-30 Thread Alex
This is largely a systems administration question. Here's what we do: 1. Use iptables to do a nat REDIRECT from port 80 to 8000. ## # # NAT table -- used to step down privileged ports, SSL redirection, and a couple other things *nat :PRER