Introduction

Getting Started

Getting started with development is the toughest part. There are chances that you may not find the right resources or end up getting stuck on the most basic things. Sometimes tutorials don’t cover what they feel is obvious and some cover too much. We will be assuming in each of our articles that this topic is completely new for you. That way experienced developers could skip some steps while beginners won’t miss out the basics.

What is Web Development?

Web development is a broad term for the work involved in developing a website for the Internet (World Wide Web) or an Intranet (a private network). It comprises of 2 parts –

1. Server side scripting – It involves creating scripts to be run on server which provide customized response for each user. Server side scripting languages can be PHP, python, Java, Ruby etc.

2. Client Side Scripting – It involves scripts or programs that are run on user browser that is on the client side. Server side scripting languages can be javascript, JQuery, VBScript etc.

These tutorials primarily focus majorly on the server side scripting and some client side scripting regarding basic web development skills that someone who is interested in web development needs to acquire first. These tutorials, however, do not explain explicitly about web designing except for when necessary.

PHP

These tutorials have used PHP as the server side scripting language but it can also be used for general purpose programming. PHP stands for Hypertext Preprocessor. The reason for using this language is it easily mixes with HTML and CSS code. Also, it is faster to develop and tends to have fewer issues.

These two sections were the only theoretical part in all the tutorials that you are going to see further. But this basic knowledge is necessary. The fun part starts now.

Installing a Local Server

The first thing that one requires for creating a website or any web application is a server. Now, you can have an online server but those of you who don’t have two options –

  1. Work on a free hosting providing service like heroku.com or hostinger.in
  2. Create a local server on your computer

There are many tools to create a local server on your computer. The most famous and easy to use are XAMPP and WAMP. In these tutorials, we will use XAMPP but WAMP is equally good. These are available for all types of Operating Systems.

        

Steps

  1. Download xampp from https://www.apachefriends.org/download.html
  2. Installation part is regular and easy.
  3. Start your XAMPP control panel and start Apache and MySQL.

  4. If it starts properly, then you are ready to go.
  5. However, sometimes Apache does not start. That happens because the ports that are required by Apache to run are being used by some other application. XAMPP by default uses ports 80 and 443.

  6. In this case, you need to change the ports used by Apache. Edit the httpd.conf and httpd-ssl.conf files.a.  In http.conf file, replace

    with

    although it can be anything above 1024
    And
    with

    b. In httpd-ssl.conf file, replace

    with
    And

    with

    Save the files.

  7. Start Apache now. It should show like this.

    XAMPP is up and ready to be used now.
  8. In the final step, open http://localhost/dashboard/ in your browser to see XAMPP home page. Open http://localhost:8080/dashboard/ if you have changed ports to check if xampp is running properly in your browser (If ports are changed, then it is always required to use the port number in the URL whenever accessing localhost) . It should show something like this.

This content has been helpful to you?

Thanks for contributing!

Yes No