ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    what language used in Mangolassi

    IT Discussion
    6
    31
    3.8k
    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.
    • IT-ADMINI
      IT-ADMIN
      last edited by

      Hi guys

      what programming language used in developing Mangolassi, is it PHP right ?? (i know that for DB it use mongoDB)

      thanks

      1 Reply Last reply Reply Quote 2
      • coliverC
        coliver
        last edited by

        I thought it was node.js?

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          Node.js (JavaScript on Google V8 engine.)

          JaredBuschJ 1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @scottalanmiller
            last edited by

            @scottalanmiller said:

            Node.js (JavaScript on Google V8 engine.)

            @IT-ADMIN and specifically, it is the NodeBB project.

            1 Reply Last reply Reply Quote 0
            • IT-ADMINI
              IT-ADMIN
              last edited by

              wow, interesting

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • IT-ADMINI
                IT-ADMIN
                last edited by

                and for facebook.com, and youtube.com ??

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @IT-ADMIN
                  last edited by

                  @IT-ADMIN said:

                  wow, interesting

                  JavaScript has been the biggest language for new projects for the last two or three years. That doesn't mean that most projects use it by any stretch, but as far as "interest from the development community", JS has been the biggest thing. It is by far what people talk about. If you see interesting new projects today (Rocket.chat for example) there is a really high chance that it is JavaScript.

                  J 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @IT-ADMIN
                    last edited by

                    @IT-ADMIN said:

                    and for facebook.com, and youtube.com ??

                    Facebook is older than Node.js. They use a custom compiled PHP system.

                    YouTube, no idea. It's very old.

                    IT-ADMINI 1 Reply Last reply Reply Quote 0
                    • IT-ADMINI
                      IT-ADMIN @scottalanmiller
                      last edited by IT-ADMIN

                      @scottalanmiller but PHP still has the lion share in the web market, isn't it??

                      scottalanmillerS 2 Replies Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @IT-ADMIN
                        last edited by

                        @IT-ADMIN said:

                        @scottalanmiller but PHP still has the lion share in the web market, isn't it??

                        Because things are not rewritten. It definitely has very little of the share of things being written today.

                        IT-ADMINI 1 Reply Last reply Reply Quote 2
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          It's like asking.... what do you mostly use to build a house, stone or wood?

                          Well... most houses that exist are built with stone. But most built today are made of wood.

                          If you want to know about building something new, why do you care what old code is sitting around out there?

                          I think you are asking one question but looking for an answer to something else and don't realize that you are asking something different than what I think it is that you want to know.

                          1 Reply Last reply Reply Quote 1
                          • IT-ADMINI
                            IT-ADMIN @scottalanmiller
                            last edited by

                            @scottalanmiller said:

                            @IT-ADMIN said:

                            @scottalanmiller but PHP still has the lion share in the web market, isn't it??

                            Because things are not rewritten. It definitely has very little of the share of things being written today.

                            Oh! i see

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller
                              last edited by

                              PHP remains a major language. But modern development has moved heavily to Ruby and then on to JavaScript and GoLang. For "web applications."

                              Java and C# are still important, as is PHP. But if you want to know what languages "matter" if you are looking at starting a new project, PHP would be in the top ten to consider, but not in the top three.

                              1 Reply Last reply Reply Quote 0
                              • IT-ADMINI
                                IT-ADMIN
                                last edited by

                                precious advice, thanks for that

                                1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller
                                  last edited by

                                  If I was going to be starting a new project, and without having any additional information to tell me what would make sense, I would be most interested in roughly this order...

                                  1. JavaScript / node.js
                                  2. Ruby (likely on Rails)
                                  3. GoLang
                                  4. PHP
                                  5. Groovy
                                  6. Python
                                  7. Java
                                  8. C#

                                  I probably missed something, but that's the idea.

                                  1 Reply Last reply Reply Quote 1
                                  • IT-ADMINI
                                    IT-ADMIN
                                    last edited by IT-ADMIN

                                    the most interesting thing in node.js is that you can do the whole project with a single language javascript (server side and client side) not like other server side languages like ASP.net or PHP where you have to use 2 different languages (i mean PHP and javascript or ASP.net and javascript )

                                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @IT-ADMIN
                                      last edited by

                                      @IT-ADMIN said:

                                      the most interesting thing in node.js is that you can do the whole project with a single language javascript (server side and client side) not like other server side languages like ASP.net or PHP where you have to use 2 different languages (i mean PHP and javascript or ASP.net and javascript )

                                      That's "interesting" but I'd label it as "trivial." It's very, very far from why anyone cares about Node.js. It's neat, but really, doesn't matter. The server code and the client code are unrelated. Not much benefit there.

                                      1 Reply Last reply Reply Quote 0
                                      • IT-ADMINI
                                        IT-ADMIN
                                        last edited by

                                        then what is attractive about node.js ??

                                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @IT-ADMIN
                                          last edited by

                                          @IT-ADMIN said:

                                          then what is attractive about node.js ??

                                          Non-blocking single threaded performance is 99% what people care about.

                                          1 Reply Last reply Reply Quote 1
                                          • scottalanmillerS
                                            scottalanmiller
                                            last edited by

                                            Try doing this with PHP...

                                            var http = require("http");
                                            var server = http.createServer(function(request, response) {
                                              response.writeHead(200, {"Content-Type": "text/html"});
                                              response.write("<!DOCTYPE "html">");
                                              response.write("<html>");
                                              response.write("<head>");
                                              response.write("<title>Hello World Page</title>");
                                              response.write("</head>");
                                              response.write("<body>");
                                              response.write("Hello World!");
                                              response.write("</body>");
                                              response.write("</html>");
                                              response.end();
                                            });
                                            
                                            server.listen(80);
                                            console.log("Server is listening");
                                            

                                            Then save it as webdemo.js and...

                                            node webdemo.js
                                            
                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post