When a beginner in web development thinks, “Let’s study programming” or “I want to create one service”, the first question is “Which programming language should I choose?”.
This page summarizes the programming languages recommended for beginners in web development. If you are new to development, please refer to it.
What is Web development in the first place?
Web development companies are not aimed at visual and content expression like homepage creation but at providing functions to people who visit the site.
Developing web services and web systems are called web development.
Search sites etc., will be easy to understand. Search sites such as Google and Yahoo accumulate a lot of information and list the information that matches the entered keyword. Creating a computer program that provides such a “search function” is one of “Web development”.
In addition to search sites, SNS such as Facebook and Twitter, sites that collect word-of-mouth information, and EC sites such as Amazon are all Web services.
- Thinking about a career as an engineer
- I want to create a web service and start a business
- Interested in the IT industry and want to get a job
If you want to, it’s a good idea to keep your knowledge of web development.
A client is your computer or smartphone. You can think of a client as a web browser such as Internet Explorer or Chrome from a web development perspective.
The server is the side that provides the service. Therefore, it is called a server (Service + er = Server, which means a person). In the figure, it’s beyond the Internet.
It sounds difficult because it’s a server, but it’s basically a personal computer. The mechanism of the Web is simple, there is a personal computer beyond the Internet, and I just go to see the personal computer over the Internet.
Just remember that there are two types of locations: server and client. You should gradually remember the details later.
The programming language used by the client
HTML expresses the “contents” (text, images, etc.) displayed by a Web browser and their arrangement. It’s like writing a sentence in Word. It’s enough to think that Word text can be displayed in a browser.
The programming language used by the server
If the client is about “display”, the server-side is used for “data processing”. Save “Like”, “Message read”, etc., and send data from the inquiry form. Both of these are necessary for web development.
The programming languages used by the server are more diverse than those used by the client. If you suddenly reveal the seeds, you can actually write a server-side program in any language.
However, of course, it is not suitable for that purpose, and it is related to the purpose of the development target.
Scripting and compiler languages
Before introducing each language, I will introduce the scripting language and the compiler language. This is the type of programming language.
When creating a program, first create a series of instructions called source code that can be visually understood by humans.
A computer that executes (operates) while reading an instruction statement each time is called a “scripting language”.
On the other hand, a translation program called a compiler that requires an operation to replace it with a statement that can be understood by a computer (which cannot be read by humans) is called a “compiler language”.
The characteristics of both are as follows.
It is easy to rewrite the instruction contents, and the program can be created speedily.
Once translated for a computer, it is executed as a program, so it operates very quickly.
It is necessary to understand the characteristics of each and make use of them when choosing a language.
Compiled languages are commonly used for non-Web development. However, Web services are undergoing drastic changes. The ease with which script programs can be rewritten is a very attractive feature. In addition, the operating speed of programs is often not required, and there are many developments in script languages.
Think about what you want to do and try.
Candidate programming language
Here are some of the many programming languages used in web development, from major to minor. Both are languages that are candidates for development.
Perl (scripting language)
In the early ’90s of Web Genesis, a programming language called Perl was often used.
Recently, the number of new cases has decreased, but since it has been used for a long time, many programs are still written in Perl.
Java (compiler language)
The programming language Java, which appeared in the late ’90s, revolutionized server programs. Initially, it was used as a plugin (extension of a web browser) called Applet, but a mechanism that runs on a server has appeared, and full-scale web systems have begun to appear in the world.
C language (compiler language)
This is not a very common method, but you can also create a server program in a programming language called C. The program of the largest anonymous bulletin board system in Japan was previously written in C language, and its source code (prototype of the program) is also open to the public.
Anyway, the feature is that it is fast. Writing only a part in C language will speed up a lot.
VBScript, ASP.net (scripting language)
Although it is limited to Windows, there is a VBScript that works using a mechanism called Active Server Page. This is an arrangement of a programming language called Visual Basic for web development, and it still survives.
In addition, ASP.net, which is a further development of this, is the latest version, and here you can use Microsoft’s own programming languages such as C # and J # in addition to Visual Basic.
PHP (scripting language)
This is a programming language designed for web development, and it is rare to use it in other ways.
Although it was a little after Java in the era, it was a little time before it was used in a large-scale Web system for business use because it was in a state like so-called free software without a commercial organization with the initiative. Was hung.
Nowadays, there are support groups, and development know-how has been accumulated, so it is adopted in many Web services. Since it is a programming language devised for the purpose of Web development, it is easier to learn than other languages, and the threshold for introduction is low.
Ruby (scripting language)
Among the many programming languages, it is one of the few programming languages devised by the Japanese, and it is not much different from Java and PHP in terms of time. Originally a programming language with little connection to Web development, it has spread thanks rapidly to “Ruby on Rails”, which appeared about ten years ago. “Ruby on Rails” is called a web application framework, and you can think of it as a set of mechanisms specialized for web development.