I would like to repeat here that both html, css & js files & Node server files are in the same domain.
On Tuesday, February 19, 2013 8:05:53 PM UTC+5:30, kanitkar...@gmail.com wrote: > > Hi, > > I would like to do the following, > > 1) Have regular .html .css & .js files just like a normal web app > > 2) Interact with Node Js only through Ajax calls > > 3) But All files mentioned in 1) are also hosted on the same Node Http > server. > > So when I say http://localhost:3000/index.html, Node Js server should > give me index.html along with all css & js files included in it. > > Then my Javascript & Ajax code should drive the functionality with Node > program getting called by ajax request. > > Can anyone please please suggest me the best way to do this ? > > I don't want to use Jade or Stylus. I want to develop as if I am using > tomcat or wamp server & use power of Node where ever needed only. > > I am aware of express js framework but don't know how it will be useful > for above scenario. > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.