what language used in Mangolassi
-
Hi guys
what programming language used in developing Mangolassi, is it PHP right ?? (i know that for DB it use mongoDB)
thanks
-
I thought it was node.js?
-
Node.js (JavaScript on Google V8 engine.)
-
@scottalanmiller said:
Node.js (JavaScript on Google V8 engine.)
@IT-ADMIN and specifically, it is the NodeBB project.
-
wow, interesting
-
and for facebook.com, and youtube.com ??
-
@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.
-
@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.
-
@scottalanmiller but PHP still has the lion share in the web market, isn't it??
-
@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'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.
-
@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
-
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.
-
precious advice, thanks for that
-
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...
- JavaScript / node.js
- Ruby (likely on Rails)
- GoLang
- PHP
- Groovy
- Python
- Java
- C#
I probably missed something, but that's the idea.
-
-
@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.
-
then what is attractive about node.js ??
-
@IT-ADMIN said:
then what is attractive about node.js ??
Non-blocking single threaded performance is 99% what people care about.
-
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