The MEAN Stack: Mistakes You're Probably Making With MongooseJS, And How To Fix Them

Posted by: The MongoDB NoSQL Database Blog, on 06 Jun 2013 | View original | Bookmarked: 0 time(s)

If youre familiar with Ruby on Rails and are using MongoDB to build a NodeJS app, you might miss some slick ActiveRecord features, such as declarative validation. Diving into most of the basic tutorials out there, youll find that many basic web development tasks are more work than you like. For example, if we borrow the style of http://howtonode.org/express-mongodb, a route that pulls a document by its ID will look something like this:app.get('/document/:id', function(req, res) { db.collection('documents',...

Category: XSD | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1143 | Hits: 30

Similar Posts

  • Welcome the WebUI Test Studio v2.0! more
  • Introducing Recurring Appointments for Web.UI Scheduler ASP.NET AJAX more
  • Podcast #1 – interview with Ben Scheirman co-author of ASP.NET MVC in Action more
  • RadScheduler for WinForms data binding and occurrence exceptions more
  • Ambiguous References in DefaultWsdlHelpGenerator.aspx more
  • StackOverflow DevDays in London more
  • Designer Support for One-Way navigations in Entity Framework 4 more
  • Sneak Peek: Enhanced ASP.NET Themes DLL Performance more
  • Add Reference Dialog Improvements (VS 2010 and .NET 4.0 Series) more
  • Get Ready for Teleriks Custom-built Extensions for ASP.NET MVC more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD