Report 1: Objective • Understanding the differences, strengths, and cases where
ID: 3751605 • Letter: R
Question
Report 1: Objective • Understanding the differences, strengths, and cases where .NET API or node.js API has strength (pros and cons) compared to the other in various web development projects.
Requirements:
Please conduct a survey and research on .NET web development framework and node.js web development framework. With case study, suggest which framework you would choose for advanced web applications in your project. Support your answer with adequate case studies, code samples, comparison etc. Your report should be anywhere between 5 and 10 pages long with figures, codes samples, case studies, references as appropriate.
Explanation / Answer
In case of Cost Effectiveness
========================================================================
Pros and Cons
Pros of Node js Api
1. Its Non Abstract.
2. Its Clear File structured.
Cons of Node js Api
1.Not Easy to abuse
2. Non Consistend Async model.
3. Non Verbose.
Pros of .NET Api
1. Its Easy to Abuse.
2. Mostly Verbose.
Cons of .NET Api
1. Difficuly File Structure.
2. Its Abstract.
3. Mostly Inconsistent Async Model.
==============================================================
Information on Node js Api:
The main idea of Node.js: use non-blocking, event-driven I/O to remain lightweight and efficient in the face of data-intensive real-time applications that run across distributed devices.
What it really means is that Node.js is not a silver-bullet new platform that will dominate the web development world. Instead, it’s a platform that fills a particular need. And understanding this is absolutely essential. You definitely don’t want to use Node.js for CPU-intensive operations; in fact, using it for heavy computation will annul nearly all of its advantages. Where Node really shines is in building fast, scalable network applications, as it’s capable of handling a huge number of simultaneous connections with high throughput, which equates to high scalability.
How it works under-the-hood is pretty interesting. Compared to traditional web-serving techniques where each connection (request) spawns a new thread, taking up system RAM and eventually maxing-out at the amount of RAM available, Node.js operates on a single-thread, using non-blocking I/O calls, allowing it to support tens of thousands of concurrent connections held in the event loop.
==============================================================
Web API is an application programming interface (API) that is used to enable the communication or interaction with software components with each other. ASP.NET Web API is a framework that makes it easy to build HTTP Service that reaches a broad range of clients, including browsers and mobile devices. Using ASP.NET, web API can enable communicating by different devices from same database.
DataBase <----------> Web API <--------------> Multiple Clients
Its Use Are
========================================================================
Features Node js API .NET API Typed System Weakly Typed Strongly Typed Generic No Need, Dynamic Yes Imperative Yes Yes Structured Yes Yes Procedural Yes Static Methods Reflective Yes Yes OOPs Prototyped based Clasical Fuctional Third Party Libs Partly supported Closure Yes Yes Lambas Yes Syntax Support Concurrent No, Clustered yes Yes