Category: Tech Corner

Tech Laravel: Using Pagination, Sorting and Filtering with Your Tables

Laravel: Using Pagination, Sorting and Filtering with Your Tables

Introduction. In Laravel, when you create websites displaying some data, you almost always need to display tables of results (e.g. Products, Categories, etc). The problem with displaying these tables is that you need to make them sortable and filterable. Plus, you may need to paginate your results since the table may become very big and …

Read Article Read More

Tech Laravel: Database Management with Eloquent ORM

Laravel: Database Management with Eloquent ORM

Introduction In Laravel, we have several ways to work with a database. One of them is using raw SQL queries and commands via the query builder. The other way is using Eloquent ORM. Eloquent ORM is more common in everyday tasks since it simplifies our life and saves our time in the most basic things …

Read Article Read More

Tech Manage NGINX configurations with Ansible

Manage NGINX configurations with Ansible

When we set up more servers connected through a load balancer, the editing of the NGINX configuration and management of virtual hosts was frustrating. We could no longer copy and paste code between SSH terminals. Here Ansible saved our lifes. Configuration After installing Ansible we created a configuration file – ansible.cfg – just to tell it …

Read Article Read More