DEV Community

David Kanekanian
David Kanekanian

Posted on

Getting Started

Required programs

First you must download and install the following programs from the internet:

  • XAMPP - modules: Apache, PHP, MySQL, phpMyAdmin, Fake Sendmail (only if sending emails)
  • Visual Studio Code - PHP extension recommended
  • Chrome - any browser is fine but Internet Explorer may display styles incorrectly

This tutorial will use examples based on developing using Visual Studio Code on Windows, but most parts will apply to other IDE and OSes.

Creating project folder

  1. Open Visual Studio Code.
  2. Click Open folder... or File > Open folder...
  3. Find your XAMPP installation and enter the htdocs folder.
  4. Create a new folder called NeatTreats.
  5. Click New File in the Explorer tab (left) or File > New File. Save the file as index.php which means it is the landing page (links to other pages).

Opening your site

  1. Open File Explorer to your XAMPP installation folder.
  2. Run xampp-control.exe and start the Apache and MySQL module.
  3. Open your browser to URL localhost/NeatTreats (if your project folder NeatTreats is in the htdocs folder).
  4. Make sure you have an index.php file inside NeatTreats and it will be displayed!
  5. When you make changes to the code, refresh the browser using F5 to see what changed.

Entering SQL commands

  1. Open File Explorer to your XAMPP installation folder.
  2. Run xampp-control.exe and start the Apache and MySQL modules.
  3. Open your browser to URL localhost/phpmyadmin.
  4. Enter commands into the console at the bottom. It is good practice to learn the commands rather than use the GUI tables.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay