Four critical applications for backend developers

June 18, 2021

When developing web sites and applications we must always seek comfort and the best setup for productivity and scalability of our code and applications, in this summary, we will see local applications or essential online for web application development.

IDE: PHPStorm

PHPStorm IDE is a development focused on improving the application development language PHP server side. It contains numerous plugins that help in code completion, syntax correction, debugging and standardization of code that increases the scalability of your application.

PHPStorm It can be downloaded from the home page JetBrains for a trial period of 30 days.

Rootstack PHPStorm

Terminal: OhMyZSH

ZSH is a command interpreter that greatly improves the experience in the terminal, with a 100% customization and a lot of plugins available in the free software community.

The customization and configuration of ZSH can be achieved with the installation of the framework, ohMyZSH. SSH advantages over other terminals, according to its official website:

  1. Efficiency.
  2. Enhanced Completed tab.
  3. Expansion improved file name.
  4. Improved handling arrays.
  5. Fully customizable.

To install ZSH and configure OhMyZSH in Ubuntu 12.04 or later:

1 Install ZSH:

[prism:php]sudo apt-get update && sudo apt-get install zsh[/prism:php]

2 Configure OhMyZSQ:

[prism:php]wget –no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O – | sh[/prism:php]

3 Make ZSH your predefined terminal:

[prism:php]chsh -s /bin/zsh[/prism:php]

4 Reboot your system.

You can check the official site OhMyZSH

Rootstack OhMyZSH

Cliente MySQL: Workbench

The official client MySQL Workbench is one of the most comprehensive databases to manage both remote or local. It allows you to design, model and generate databases visually, has a command console to run and manage databases with ease.

To download Workbench you can directly access the official site, or a version of ubuntu, from 12 onwards you can run:

[prism:php]sudo apt-get install mysql-workbench[/prism:php]

Rootstack MySQL Workbench

Depuration: xdebug

Xdebug is a PHP extension that provides the ability to debug and profile applications. Use the DBGp protocol that allows us to connect with our IDE and debug our application PhpStorm virtually while writing.

To install Xdebug in Ubutnu 12.04 or later:

[prism:php]sudo apt-get install php5-xdebug[/prism:php]

And then edit the php.ini from our php installation, en /etc/php5/apache2/php.ini and add these line at the end of the file:

[prism:php]# Added for xdebug zend_extension="/usr/lib/php5/20121212/xdebug.so" xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 xdebug.max_nesting_level=300[/prism:php]

Reboot apache:

[prism:php]sudo service apache2 restart[/prism:php]

Rootstack Xdebug

Conclusion

With these tools, you will achieve an ideal working environment in your computer to develop web applications with quality standards and scalability, making our approach is to program the functionality of the application quickly and effectively.