On Oct 20, 2012, at 15:05, Haseeb Ahmad <[email protected]> wrote:

> I have some basic knowledge of Node.js.
> Since i came from (PHP - Codeigniter) i would go for express.js.
> I want to start with writing simple application for add, edit (update) and 
> delete posts. And want to use mongoDB with it.

I've been meaning to write to the expressjs group about this, but here's a 
tutorial I recently found that's been very helpful to me:

https://github.com/madhums/nodejs-express-mongoose-demo

Unlike other tutorials I had read before, this one is current, and it goes into 
considerable detail. Other tutorials were either out of date or often left me 
saying "Yes but how would I structure a *real* app?" This app actually takes 
some time to propose a reasonable app structure and use all sorts of parts you 
might actually need, including express, jade for templates, mongoose for 
connecting to mongodb, passport for authentication, a simple MVC structure, a 
config file and more. There's also a link to a live running copy of the app you 
can play with.

The readme includes a link to a blog post, but I recommend just diving in and 
reading the code instead. Reading the blog post confused me a bit since the 
code has been rearranged since the blog post was written, and even some of the 
dependencies that were originally used have been replaced.

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

Reply via email to