Exploration Project
Exploration Project
A.
These server-side programming languages are the most popular
and have large communities behind them making them great for
most people to learn
1. Node.js (JavaScript)
Node.js is the newest in the list and the fastest growing today.
Released in 2009, it is used to run JavaScript code on the server-
side. The great thing is that you do not have to learn a new
language for back-end development. The JavaScript that you use
for front-end rendering can also be used in the back-end.
One thing that Node.js does very well compare to most other
languages is real-time applications as it was developed with it in
mind. Therefore, if you are developing something that required to
work real-time such as chats or games, then this is a good place to
start. As it is also newer than the other languages, it comes with
some nice and modern features that are lacking in older languages
that make development easier, such as the default package
manager NPM.
<!DOCTYPE html>
<html>
<head>
<title>Wei-Ming's blog</title>
</head>
<body>
<h1>Welcome</h1>
<?php
$t = date("H");
package me.twm.app;
import org.springframework.stereotype.Controller;
import
org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.ui.ModelMap;
@Controller
@RequestMapping("/hello")
public class HelloController {
@RequestMapping(method = RequestMethod.GET)public
String printHello(ModelMap model) {
model.addAttribute("message", "Hello World!");
return "hello";
}
}
Spring is one of the most popular framework for Java web
applications is usually considered an essential in a Java web
developer's toolbox. It is a good framework to start with once you
have picked up on Java and its concepts. However, development
with Java can be overengineering and development time can take
considerably longer than other languages. It's worthy of a mention
as it is very popular for large-scale application but you should
consider other languages for smaller applications.
4. Ruby
Ruby is largely popular for small applications as it is suitable for
rapid web development. Rails is the most popular framework to
use with Ruby. It is a latecomer compared to some of the other
languages and became popular more recently, starting 2010s. It is
adopted by a lot of startups today that wish to rapidly build and go
to market. However, for learners, I would recommend against it
for a smaller framework.
#!/usr/bin/env ruby
require 'sinatra'
get '/' do
redirect to('/hello/World')
end
get '/hello/:name' do
"Hello #{params[:name]}!"
end
Ruby on Rails philosophy of convention over configuration makes
it great for development and for teams but not for learners as it
does a lot of things under the hood. Sinatra requires more focus
on details but not too much. I generally advocate micro-
frameworks to learners for that reason and it will help you much
more in the long run.
Notable websites built on Ruby: Twitter (in the early days),
GitHub, Groupon, Airbnb.
5. Python
Python is one of the best programming languages for beginners,
not just for web development, but also to learn to program. It is a
language that has clear and easy to read syntax that makes it
easier to focus less on syntax and more on learning to program. It
is also one of the most popular languages used for statistical
analysis.
@app.route("/")
def hello():
return "Hello World!"
if __name__ == "__main__":
app.run()
Historical trend
This diagram shows the historical trend in the percentage of
websites using PHP.
Our dedicated trend survey shows more server-side languages
usage trends.
You can find growth rates of PHP compared to all other server-
side programming languages in our PHP market report.
Market position
This diagram shows the market position of PHP in terms of
popularity and traffic compared to the most popular server-side
programming languages.
Our dedicated market survey shows more server-side languages
market data.
Popular sites using PHP
Facebook.com
Wikipedia.org
Sina.com.cn
Vk.com
360.cn
Wordpress.com
Pinterest.com
Babytree.com
Ettoday.net
Mama.cn
Random selection of sites using PHP
Bshopbasketball.fr
Insurances.tips
Thesiliconreview.com
Diyphotography.net
Cricketmr360.com
Sites using PHP only recently
Cnzz.com
Flaticon.com
Wayfair.com
Ficbook.net
Uniqlo.com