Moving from c#.net to node.js, recommendations for design patterns
NickName:user1790300 Ask DateTime:2017-01-09T23:15:05

Moving from c#.net to node.js, recommendations for design patterns

I am working on transitioning an app. from c# to node.js and am trying to find where complex logic should go? For c#, ddd is a good fit where logic would normally exist in the domain and logic that was not a good fit for the domain itself could go into domain services, etc. With the way mean is structured and javascript in general, this seems to be an awkward fit. Doable but awkward. The app. I am working on is a social network, so I am using the microservices approach. In the node.js world, what are the preferred approaches to handling complex business logic? What is the preferred folder structure for mean applications? Are there preferred approaches over patterns and practices like ddd, service layer, repository, etc.?

Copyright Notice:Content Author:「user1790300」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/41551089/moving-from-c-net-to-node-js-recommendations-for-design-patterns

More about “Moving from c#.net to node.js, recommendations for design patterns” related questions

Moving from C# on Windows to Objective-C on Mac

I'm going to be getting my first Mac computer soon, and I want to learn Objective-C. I already have experience in C#, and I've already started learning C++, but absolutely everything in Objective-C

Show Detail

Moving folders using c#

I'm trying to write a program to move folders to a new location. That's easy enough using Directory.move(). The problem I'm having is that I only want to move folder names that are read in from a...

Show Detail

Moving Average in C Language

I am trying to do a moving average filter in C language, I've adapted a matlab program that works correctly, the input of my filter is a .pcm archive (a sweep audio signal), the problem to me is the

Show Detail

Surprises Moving from C++ to C#

I am a C++ programmer moving into C#. I worked with the language for a month now and understand many concepts. What are some surprises I may get while moving from C++ to C#? I was warned about

Show Detail

calculate moving average of an static array in c

I wrote this code to calculate moving average of array in c. Array_MovingAverage(const int inputSeries[], size_t inputSize, size_t window, ...

Show Detail

Speed Tracking a moving object from another moving object

I am new to computer vision, and need some advice on where to start. The project is to estimate speed of a moving object(A) relative to the moving object(B) which is tracking it(A). what should I...

Show Detail

Tips for moving a large project from VB.Net to C#?

I have been tasked with moving a rather large project from VB.Net to C#. Are there any converters, and if so what should I watch for? Are there areas of the code that are known to be problem areas ...

Show Detail

how to get RGB value from an image by touching or moving on a screen in Xamarin or C#

how to get RGB value from an image by touching or moving on a screen in Xamarin or C#. what I mean is I would like to get RGB value form an image just pixel that I'm touching and when I moving my ...

Show Detail

Blowfish Implementation for C#.NET - Moving from PHP to C#

I'm moving my application from PHP to C# MVC. I've been using the following method to encrypt passwords: string password_hash ( string $password ) By Default, password_hash() uses the BLOWFISH h...

Show Detail

Moving from ADO to ADO.net

I am re-engineering a product which uses ADO communication for connecting to SQL.THe bussiness layer is in c++. The whole queries are written as SP's. I want the product to support SQL 2008 and ma...

Show Detail