0% found this document useful (0 votes)
30 views

Exploration Project

Vafrious trends in sswt

Uploaded by

Siddhant Khanna
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Exploration Project

Vafrious trends in sswt

Uploaded by

Siddhant Khanna
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Exploration Project:

Q. Explore the current trends in Server side web technology and


also explore the comparative study of market share of PHP.

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.

const express = require('express');


const app = express();

app.get('/', (req, res) => {


res.send('Hello world!');
});
2. PHP
PHP is by far the most used server-side scripting language. Just
above 80% of websites are running on PHP. The reason is that it
was the first programming language that was designed for the web
leading to its dominance in the Web 2.0 era of the 2000s. It is
used for the Wordpress platform which powers 25% of websites
today including most popular blogs and news sites. Therefore, if
you are looking to create content-based web pages, there is no
more proven method.

<!DOCTYPE html>
<html>
<head>
<title>Wei-Ming's blog</title>
</head>
<body>
<h1>Welcome</h1>

<?php
$t = date("H");

if ($t < 12) {


echo '<p>Good morning!</p>';
} else {
echo '<p>Good day!</p>';
}
?>
</body>
</html>

Notable websites built on PHP: Facebook, Wikipedia, Wordpress.


3. Java
Java is another popular language that is used in many major
websites. However, it is overkill for many small applications that
can be done with something much simpler. It is used in many
large enterprise applications in banks and insurance companies
that communicate with other systems such as mainframes. It is
also very powerful in terms of scalability but that is more of
something to worry about down the line.

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.

Notable websites built on Java: Google, Amazon, eBay.

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.

from flask import Flask


app = Flask(__name__)

@app.route("/")
def hello():
return "Hello World!"

if __name__ == "__main__":
app.run()

Flask is a popular micro-framework for Python to create web


applications. It's a small framework that provides you with the
necessary features to get started with developing your web
application. Another popular framework is Django. However, I
would also still recommend new learners to try out the smaller
framework.
Notable websites built on Python: Youtube, Instagram, Dropbox,
Quora.

PHP is used by 79.0% of all the websites whose


server-side programming language we know.
Versions of PHP
This diagram shows the percentages of websites using various
versions of PHP.
How to read the diagram:
Version 5 is used by 60.4% of all the websites who use PHP.
Version 5 60.4%
Version 7 39.1%
Version 4 0.5%
Version 3 less than 0.1%
W3Techs.com, 16 September 2019
Percentages of websites using various versions of PHP

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

You might also like