A simple router https://github.com/ajlopez/NodeSamples/blob/master/WebServer/server4.js (no parameters, only routes) It's an evolution of screencasts in Spanish
On Wed, Jul 2, 2014 at 12:53 AM, Ethan Garofolo <[email protected]> wrote: > I did a screencast that gets into routing without Express: > http://www.learnallthenodes.com/episodes/3-beginning-routing-in-nodejs > > The conclusion of the episode was, "use Express," but I think it's useful > to see the pain that Express solves. It comes down to using the url and > method properties on the http.incomingMessage objects that come into your > handlers. (http://nodejs.org/api/http.html#http_http_incomingmessage). > > Is this beyond where you are? How far into setting up your server did you > get? > > > On Tuesday, July 1, 2014 5:51:01 AM UTC-6, venkat wrote: >> >> I am very new to nodejs and I was searching examples which have code for >> routing and route handling but can't find. Can I write the code for route >> handler's without using express.js framework ?, Could you please provide >> the reference links for routing and routing handler examples using nodejs? >> > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > 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 unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/18dbbbb7-2360-4be3-bbb5-a92a5f4380f0%40googlegroups.com > <https://groups.google.com/d/msgid/nodejs/18dbbbb7-2360-4be3-bbb5-a92a5f4380f0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAMs%2BDqJ7ZtOaG6RShj4dJA-PJdVzMBtFbn7kt1C84mun%2BUJrnQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
