Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node MySQL #66

Closed
kevsmt opened this issue Oct 2, 2012 · 5 comments
Closed

Node MySQL #66

kevsmt opened this issue Oct 2, 2012 · 5 comments

Comments

@kevsmt
Copy link

kevsmt commented Oct 2, 2012

Hi, If i have a node-mysql module installed, how do i access this through ajax? like /backend/person/get/123? or how do you go about this approach as describe on your Wiki that routers are not a good way to go.

@rogerwang
Copy link
Member

Hello,

You just need to put the Node JS code in web page and it should work.

We make a special web engine to make this possible -- calling Node's
require() and other APIs from DOM.

@zcbenz, we should put a simple example. People may get confused since this
is not a normal way of writing web pages.

Roger

On Tue, Oct 2, 2012 at 10:00 PM, Khebs Tenorio notifications@github.comwrote:

Hi, If i have a node-mysql module installed, how do i access this through
ajax? like /backend/person/get/123? or how do you go about this approach as
describe on your Wiki that routers are not a good way to go.


Reply to this email directly or view it on GitHubhttps://github.com//issues/66.

You may say I am a dreamer, but I am not the only one.

@rogerwang
Copy link
Member

@zcbenz , the quick start demo in README could be a good place. Writing 'process.version' might be too simple. I think a demo with something like require('fs') should be good.

@kevsmt
Copy link
Author

kevsmt commented Oct 2, 2012

Yes this is not really normal :) as i have read on the wiki.. but this is very nice actually. More example should get some get the idea of it though. Btw, this is CEF3? i am looking to some codes but i havent found it what CEF version does nw use, and probably i didnt looked harder and not to know where to look, excuse my ignorance.

@rogerwang
Copy link
Member

CEF3 was used in previous versions. Now we migrate to Content Shell for better architecture.

-------- Original Message --------
From: Khebs Tenorio notifications@github.com
Sent: Wed Oct 03 01:17:09 格林尼治标准时间+0800 2012
To: rogerwang/node-webkit node-webkit@noreply.github.com
Cc: Roger wenrui@gmail.com
Subject: Re: [node-webkit] Node MySQL (#66)

Yes this is not really normal :) as i have read on the wiki.. but this is very nice actually. More example should get some get the idea of it though. Btw, this is CEF3? i am looking to some codes but i havent found it what CEF version does nw use, and probably i didnt looked harder and not to know where to look, excuse my ignorance.


Reply to this email directly or view it on GitHub:
#66 (comment)

@zcbenz
Copy link
Contributor

zcbenz commented Oct 3, 2012

I'll write a detailed tutorial, and also FAQ.

And please ask questions in the mailing list, not here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants