Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop

    What is the powerful Back-End Language

    Back-End Development
    backend node-js nodejs web development languages
    9
    43
    8553
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • kapilsri
      kapilsri last edited by

      Why I prefer this

      • Good interaction with the browser

      A common task for a web server can be to open a file on the server and return the content to the client. Here is how PHP or ASP handles a file request Sends the task to the computer's file system. Waits while the file system opens and reads the file. Returns the content to the client. Ready to handle the next request.

      Here is how Node.js handles a file request Sends the task to the computer's file system. Ready to handle the next request. When the file system has opened and read the file, the server returns the content to the client.

      Node.js eliminates the waiting and simply continues with the next request.
      Node.js runs single-threaded, non-blocking, asynchronously programming, which is very memory efficient.

      kapilsri 1 Reply Last reply Reply Quote 1
      • kapilsri
        kapilsri @kapilsri last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • root
          root Linux Help last edited by

          Node Js is awesome.

          kapilsri 1 Reply Last reply Reply Quote 0
          • dev_lak
            dev_lak last edited by

            node :hearts:

            kapilsri 1 Reply Last reply Reply Quote 0
            • kapilsri
              kapilsri @root last edited by

              @root :+1:

              1 Reply Last reply Reply Quote 0
              • kapilsri
                kapilsri @dev_lak last edited by

                @dev_lak :+1: :ok_hand:

                1 Reply Last reply Reply Quote 0
                • Nubelle
                  Nubelle Web Development last edited by

                  node.js is good

                  1 Reply Last reply Reply Quote 0
                  • the_inspired_dev
                    the_inspired_dev last edited by

                    You can't say that one language is better than another. It depends on the situation.

                    Two of the most argued about aspects of Node.js programming are its insufficiency with heavy computations and the so-called “callback hell”.

                    As we know, JavaScript (and, as a result, Node.js) is asynchronous by nature and has a non-blocking I/O (input/output) model. This means, it can process several simple tasks (for example, read/write database queries) queued in the background without blocking the main thread and do so quickly.

                    At the same time, Node.js is a single-threaded environment, which is often considered a serious drawback of the technology. Indeed, in some cases, a CPU-bound task (number crunching, various calculations) can block the event loop resulting in seconds of delay for all Node.js website users.

                    This represents a serious issue. That is why, to avoid it, it is recommended not to use Node.js with computation-heavy systems.
                    Right here you faild your point.

                    In other hand you can use microservice architecture to avoid such things(but it is not a complete solution) but it better to use CPU intensive language. You can use other languages like Go, Rust, phyton as a microservice to overcome this situation.

                    Next biggest problem is finding the best solution for your problem. Since npm is open software, there are lots of crappy packages out there. Most of them didn't tested. Also lack of documentation and unsolved issues. (This may or maynot a problem for some ppl)

                    1 Reply Last reply Reply Quote 4
                    • tnlthanzeel
                      tnlthanzeel Web Development last edited by tnlthanzeel

                      asp core is 18 times faster than node.js

                      https://www.techempower.com/benchmarks/#section=data-r16&hw=ph&test=fortune

                      u can use the async await feature in c# to make asynchronus calls

                      ** please note the programing laguage is user preference, do select what is best for the application u start

                      root 1 Reply Last reply Reply Quote 1
                      • root
                        root Linux Help @tnlthanzeel last edited by

                        @tnlthanzeel

                        How about the opensource packages ?

                        1 Reply Last reply Reply Quote 0
                        • tnlthanzeel
                          tnlthanzeel Web Development last edited by tnlthanzeel

                          open source packages will be helpfull depending on ur need.
                          if u r refereing to open source packages for server side programing, then Dot NEt core is open source

                          root 1 Reply Last reply Reply Quote 0
                          • root
                            root Linux Help @tnlthanzeel last edited by

                            @tnlthanzeel

                            Node js and PHP has huge community, i want to know what about opensource community in ASP.core

                            tnlthanzeel Nubelle 2 Replies Last reply Reply Quote 0
                            • tnlthanzeel
                              tnlthanzeel Web Development @root last edited by tnlthanzeel

                              @root , here are few links for u to learn what is asp core
                              https://en.wikipedia.org/wiki/ASP.NET_Core
                              https://dotnet.microsoft.com/learn/web/what-is-aspnet-core
                              https://docs.microsoft.com/en-us/aspnet/core/?view=aspnetcore-2.2

                              community is not a problem brother,u have answers for allmost all problems faced with asp core on the internet

                              root 1 Reply Last reply Reply Quote 1
                              • tnlthanzeel
                                tnlthanzeel Web Development last edited by tnlthanzeel

                                @root , unlike the dotnet frame work which is not open source, dot net core is THE new framework for web development which is open source and u have the github community for it

                                1 Reply Last reply Reply Quote 0
                                • akmal
                                  akmal last edited by akmal

                                  @root its true that Node.js & PHP has a huge community bro, but you have to consider about ASP core itself is a new framework so the community is small still core delivers more features than php and nodejs and it's proven that ASPcore is 18 times faster than node.js.

                                  1 Reply Last reply Reply Quote 1
                                  • Nubelle
                                    Nubelle Web Development @root last edited by

                                    @root totally agreed with root

                                    1 Reply Last reply Reply Quote 0
                                    • root
                                      root Linux Help @tnlthanzeel last edited by

                                      @tnlthanzeel

                                      okay, i'll check that, but why are you going to move totally new env ?

                                      tnlthanzeel 1 Reply Last reply Reply Quote 0
                                      • tnlthanzeel
                                        tnlthanzeel Web Development @root last edited by tnlthanzeel

                                        @root , asp core was introduced in 2015 and its ranked higher than php or node

                                        check here, the benchmark https://www.techempower.com/benchmarks/#section=data-r16&hw=ph&test=fortune, aspcore is 7th place, and node is at 86th place

                                        root 1 Reply Last reply Reply Quote 0
                                        • root
                                          root Linux Help @tnlthanzeel last edited by

                                          @tnlthanzeel

                                          but PHP introduced in 1994, NODE JS introduced in 2009, in the web 80% websites and systems developed by using PHP. even facebook web client is developed by using php.

                                          1 Reply Last reply Reply Quote 0
                                          • tnlthanzeel
                                            tnlthanzeel Web Development last edited by

                                            web apps are all about speed, asp core is 18times faster thaan node and much more faster than php.

                                            root 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            2
                                            Online

                                            3.7k
                                            Users

                                            1.3k
                                            Topics

                                            5.3k
                                            Posts

                                            • Privacy
                                            • Terms & Conditions
                                            • Donate

                                            © Copyrights and All right reserved Lanka Developers Community

                                            Powered by Axis Technologies (PVT) Ltd

                                            Made with in Sri Lanka

                                            | |