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.
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.
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 –
- Work on a free hosting providing service like heroku.com or hostinger.in
- 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.
- Download xampp from https://www.apachefriends.org/download.html
- Installation part is regular and easy.
Start your XAMPP control panel and start Apache and MySQL.
- If it starts properly, then you are ready to go.
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.
- 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
although it can be anything above 1024
b. In httpd-ssl.conf file, replace
Save the files.
- Start Apache now. It should show like this.
XAMPP is up and ready to be used now.
- 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!