Could you be more specific?  What kind of paths are these.  Are you talking
a virtual filesystem, or http request urls or something else?

On Thu, Apr 19, 2012 at 3:06 AM, Masiar <masia...@gmail.com> wrote:

> Hello everybody. Sorry for the meaningless title, I would like to
> create a Node.js extension that extends the paths the programmer
> writes adding some more to integrate a protocol I'm researching right
> now.
> The idea is the following: the programmer writes his/her server with
> his paths and stuff. When initialized, my extensions should create
> some a couple of listeners on some paths, for example:
>
> var myExtension = require('./myExtension');
> //...
> myExtension.init(...);
>
> and myExtension will create for example a listener to "/myextension/a"
> which will do something (decided by my extension).
> I wanted to know if this is somehow possible to do and if it is, how
> would you do that.
> Thanks,
>
> Masiar
>
>
>
> --
> 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
>

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

Reply via email to