Skip to main content

What Languages Need To Develop A Website?

For website design, plenty of languages come in mind, like, HTML, JavaScript, CSS, PHP, ASP, Perl and many more. Furthermore, it depends upon your need that you want a website just for publishing articles, some videos and images or you want a website in which your clients can create account and you can keep their records in a database or you want an E-Commerce website to sell services and products online. In this article, i will describe a web architecture   and explain that which language fit in  the architecture.


A Typical Web Architecture
In the figure, there is a typical web architecture that has three components Client(Browser), Server+Database(A Web Hosting Company) , I will try to make you understand by  user authentication example.
User Authentication Algorithm
First example is, when you Log in into Facebook account.
STEP-1. You open the www.facebook.com
Corresponding Action- Server sends a file which contains  HTML+CSS+JavaScript
STEP-2.  You fill the login form and submit 
Corresponding Action- Browser sends login and password detail to PHP OR ASP  script at the server from which your login and password will be extracted.
STEP-3. PHP or ASP sends login and password detail to MySQL or MS-Access.
STEP-4. If login and password match MySQL or MS-Access will send your record to PHP script.
STEP-5. PHP will embed those data with HTML+CSS+JavaScript and account will be displayed.

Furthermore, you might have got idea that that how languages interact each other to accomplish a task , now I will explain what each languages do. First, HTML( Hyper Text Markup Language), which describes a web page structure such as a heading, a paragraph, placement of an image, link to other pages and meta description of a website.

------------------------------------------------------------------------
The first example  is of a heading tag.
<h1> This is a heading</h1>
Where
<h1>------> Heading Opening Tag
</h1>------> Heading Closing Tag
_________________________________________________
The second example is of linking a web page to other web page.
<a href="http://www.computex.online/" target="_blank">Computing Blog</a></div>
If you put this code in HTML website it will show Computing Blog and if click page will be opened.
Here <a is a tag stands for anchor tag 
href-> Hyper reference
target is a property that means if you click on the link another tab will be opened. 
_________________________________________________
It must be noted that there is not any other optional markup  language, HTML is standard.
_________________________________________________
_________________________________________________
Moreover, now CSS term comes here CSS stand for   Cascading Style Sheets that makes HTML tags stylish, such as, colour of heading tags, colour of paragraph tag and it styles tables too.
____________________________________________
Here example is
<style>
h1
{
color : red;
text-align: centre;
}
</style>
In the example, style tag is used for embed CSS code into HTML and in the example h1 tag will be red in all document and alignment will be centre.
______________________________________________
CSS is standard language for stylising HTML tags.
______________________________________________

Now i will explain about JavaScript, HTML creates static web pages, suppose you want to see time  dynamically see time on your web page HTML can not do, so, JavaScript creates dynamic web pages i.e. when a change happens on server JS will update web page without interface of user, furthermore, pop-up messages can be built by HTML It can be only built by JavaScript. In addition, JS not only builds dynamic web page but also support calculations, input authentication that reduce the overload of server.

______________________________________________
Example
<script>
function sum(a, b) {
    return a+b;
}
</script>
_______________________________________________
JavaScript code can be embedded into HTML using script tag.

Vb Script from Microsoft is competitor of JavaScript and Internet Explorer uses it.

_______________________________________________
_______________________________________________   
    
   The above all languages are for web browser, now we come at server side scripting language there are many server side scripting languages, such as, PHP , ASP, Perl, Ruby, and Python here i will describe an example from  PHP.
Usually, PHP is needed when you fill an HTML form and MySQl commands will be embedded in PHP to interact with database and record will be stored .
_______________________________________________
Example is
<form action="server.php" method="post">
Name <input type="text" name="name"><br>
Age <input type="text" name="email"><br>
<input type="submit">
</form>

Name

Age


Here server.php  in which MySQL code  is embeded
 <?php
$server = "host";
$username = "user";
$password = "pass";
$database="record"
$cn = new mysqli($server, $user, $pass, $nameage);//SQL code
$sql = "INSERT INTO record($_POST["name"],$_POST["age"])VALUES('$_POST["name"]','$_POST["age"]')" ;// SQL code
<?
Examples of two Blogging Platforms
1-Blogger- Blogger which is of Google in which you can only manipulate HTML/Java script in the form of widgets i.e client side scripting language but can not develop server side applications, such as, you can not keep the record of audience in a database.
2- WordPress.org- Here I have also written the  name extension name because there is also a www.wordpress.com, but you can purchase a hosting and build a website using www.wordpress.org. Furthermore, if you purchase domain name and hosting you can use HTML+CSS+JavaScript on client side and PHP and MySQL on server side. 
Conclusion
To sum up, I hope that by this example you will understand  that how languages interact each other to accomplish a task on web and also what languages you will need when you are going to develop a website, if you have any query feel free to comment. 





Comments

  1. This is an awesome post.Really very informative and creative contents.
    SEO company in Chennai

    ReplyDelete

Post a Comment

Popular posts from this blog

Transition Words In English Can Improve Your Writing Skills : Try It If You Get Stuck While You Are Writing

Writing skills is  very important for bloggers, students and whoever in the field of writing, however, after writing one or two sentences newbie writers get stuck and do not know what to do, on the other hand, transition words or linking words or adverbial phrases help  writers to write their sentences further in smooth way. Moreover, there are many types of linking words [1][2][3],  such as  examples, addition, contradiction, result, consequences,  chronology, and conclusion  and many more, the said linking words are not complete but sufficient for write a good essay  or a blog post. Additionally,  sometimes transition words overlap it means a linking word that belongs to result can sometimes be used in the sentence which is showing the effect. Furthermore, I am going to describe linking word by examples. #1 Transition words which are used for addition of ideas.Further, furthermore, moreover, in addition, additionally, as well as, again. And these words exchangeable. Example in sente…

Top Browser's Plugins that Every Blogger Should Know

To know statistics of your blog or website or others, it helps to understand the performance and necessary actions to take. Furthermore, to help you there are many plugins are developed. But, many bloggers do not know that there are bundels of free plugins are that can help you to understand your website. Such as, what runs, alexa rank plugin, moz rank  plugin and many more. Im going to some of the important plugins that every bloggers should install.

1- Alexa Traffic Rank and Alexa Rank Plugin - What  happens when you want to know about  alexa rark of websites you are browsing. You open the url "https://www.alexa.com/siteinfo" and put website name. But these plugins show the alexa rank of browsed websites in the right side of address bar and make your life easy.
Link for Alexa Traffic Rank
2- What Runs - This  plugin is very useful when you want to about technologies a website is running. Such as, server information, server side scipting language, client side scripting langua…

Social Media and Submission Directories that Can Help to Grow Your Web Traffic

When your blog or website is new it will not be able to get traffic from search engines. Then you need to use social media and submission directories where you will submit your  articles' link. If somebody clicks on the link your article will open and blog will drive traffic. But some submission directories takes long time to approve and some demands reciprocal links which are backlinks from your blog and most of them charge money. Here, I am going to list some social media website and  submission directories which do not take long time to approve.  You can submit your articles link very easily.

1- www.facebook.com- This will be the first  the first  choice of any blogger to submit post link to drive traffic. Further, there are many pages and groups that are running. You can find of your own category and can submit your blog posts.
2- www.medium.com-  This is a very good plateform where you can submit you posts links and even you can write articles. Making account in Medium is ve…