I like it. You might want to change the following though:

pass the path of the controller folder to your route registrar instead of
hardcoding it there.

A problem you might run into is the ordering of the routes. This is
normally not an issues except when you have entities like usernames in the
root space (like /martinw). You might want to mention that.

Cheers
Martin



On Fri, Mar 15, 2013 at 7:25 AM, Renato M. da Gama <[email protected]>wrote:

> Hi guys, I am documenting my architectural choices in a blog I am writing
> with a friend.
>
> This is the first post I wrote, I would like to know if you can review and
> give feedback in terms of coding and if possible in terms of writing. It is
> aprox. 650 words
>
> http://ec2-54-232-84-48.sa-east-1.compute.amazonaws.com/structuring-a-node-js-web-application-with-express/
>
>
> Thank you very much.
>
> --
> --
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to