This content originally appeared on DEV Community and was authored by JcRodSolutions
Where to start?
That's a question many have already answered and yet many others like you (maybe) are still asking yourselves. Maybe your question is different, like "what if I have started with a different set of tools?" or "what it will be look to start from scratch in 2023?". I will get you through my own setup and after you will be able to decide on your own if you follow my guide and recommendations 100% of the way or just take my approach in using a specific tool.
First of all, I will focus on PHP project development, using Laravel Framework. Also I will assume you are kind of a beginner and in a way or another you don't have a clear idea on what your starter kit should look like. I will present you the following set of tools as my proven for productivity setup. Please stay with me until the end, I'll have a reasoning for each decision taken.
- Development IDE: Apache Netbeans
- Terminal: Windows terminal, using Cygwin Bash
- Browser: Any chromium based browser
- Git: Cygwin git package
Optional features/tools:
- Virtualbox
- Vagrant / Homestead
You can use any of this tools or at least use the same reasoning method I will try to explain to make your own decision. Many of the features I will present are probably present in other similar tools.
Development IDE
It's true you can use any text editor you prefer but my choice to use Netbeans for PHP development is based on how the tweaks I implemented work for me.
You can download it from apache.org downloads and nowadays it has a 3 month cycle between updates.
The features I like are:
- Code templates. You can configure templates for each document type (html, php, javascript, etc). The respond instantly to your keystrokes so if you are fast typing you will like this one.
- Customization. There is not a lot you can customize visually, but at least there is a good dark theme that comes with the default install. Also, there are not a lot of plugins available.
- Remote connections. You can configure remote repositories which can be sync'd via SFTP (ssh) or regular FTP. There is a remote hosts manager and authentication can be done using user/password or key-pair authentication.
Features available I don't use or don't like:
- Git integration
- Composer integration
- Debug and profiling
- Class automatic import is mostly a hit/miss
- No native support for blade templates syntax or proper formatting
Cygwin Terminal
There are many terminals you can use like Windows Command Prompt or PowerShell, or maybe bash types like Git-Bash implementation. Over every one of these, I prefer Cygwin's bash implementation. I also made it possible to make it as the default terminal in Windows. It's easier to do this in Win11, but can be done in Win10 too.
You can download the Cygwin installer from here.
List of packages I install:
- OpenSSH
- Git
- Curl
- (optional) wget
- (optional) Vim / Nano
Virtualbox / Vagrant / Homestead
Homestead, as stated in the Laravel Docs, is "an official, pre-packaged Vagrant box that provides ..." TLDR: everything you need to run a Laravel Application in your local pc as if it where a Linux Ubuntu based server.
The Homestead image is implemented in a VirtualBox vm using Vagrant as its vm manager.
That's it. You are ready to begin with your development. Please stay tuned as I will be posting tips and tricks that make me more productive using this tools.
This content originally appeared on DEV Community and was authored by JcRodSolutions
JcRodSolutions | Sciencx (2023-05-03T19:05:43+00:00) What I should begin with?. Retrieved from https://www.scien.cx/2023/05/03/what-i-should-begin-with/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.