Convert Laravel Tables from MyISAM into InnoDB

Some developers don't even know what MySQL storage engine is, and they don't need to know that today because the decision on what to use is made for them by framework developers. For example, Drupal uses InnoDB for its tables. It was not always that way though. I remember the time when we had to convert Drupal 5 tables into InnoDB on a site with intense load. It was so long ago, maybe in my previous life.

Until today, I thought (or I wanted to think) that all modern PHP frameworks use at least InnoDB by default (there are newer storage engines). It turned out that I was wrong. Today I noticed that tables of the Laravel 5.2 application I worked on were in MyISAM. You can’t even imagine my confusion.

A Quick Practical Intro to Vue.js

Vue.js Logo

You may have heard of or used such JavaScript frameworks as React, Angular and Ember. They are quite popular and have their pros and cons. I personally worked with Angular 1 and learned basic principles of others. You know there is no ideal framework, but there is one framework that I like more than others. It’s Vue.js

Vue.js (pronounced /vjuː/, like view) is a library for building interactive web interfaces. The goal of Vue.js is to provide the benefits of reactive data binding and composable view components with an API that is as simple as possible. (from docs).

Vue.js is used by many companies and people across the globe. The thing that attracts me more is that a few open source products believed in Vue and included it in their code base. The products are Laravel, PageKit and some others.

In this quick tutorial we’ll create a simple Vue.js component that will calculate the length of a word and display it on the fly. Let’s get started...

Three Simple Servers for Your Front-end Projects

We can't open index.html file of some front-end projects in a browser because it requires a web server with a virtual host configured. On the other hand, configuring a separate virtual host for every front-end experiment is a waste of time. Of course, you can automate it but today you don't have to.

I'll show you how to run a simple web server using PHP, Python or Node.js with one command. Here we go.

How to Fix the Error: This Page Is Not Secure Because of Mixed Content

Insecure resources warning in Chrome

You have just switched your site from HTTP to HTTPS but your browser is displaying mixed content warnings. I’ll tell you how to handle this situation.

Typical Mistakes of Tech Conference Organizers

Empty Conference Room Photo

Some of you may know me as a local Drupal community coordinator and organizer of community events in Saint Petersburg. Even though I am not much involved in the Drupal community today, I still advise other conference organizers on their small-to-medium events.

In this post I am going to share mistakes, which organizers often make despite the fact that most of them are warned about potential pitfalls.

Drupal Is a Developer's Toy

Children Playing with Toys Photo

When I was younger, I was fond of experimenting with different kinds of operating systems and applications. The internet connection was, politely speaking, not so good. So my parents regularly bought me a Russian magazine, called Hacker, which contained a DVD disk with a number of shareware and freeware utilities for everyday use. Oh, I remember how eagerly I waited every new release of the magazine and then spent days carefully learning the content.

Susyboot - Bootstrap Grid Replacement Powered by Susy

Grid Series no. 1 Image

I like Bootstrap because, with this framework, I do not need to think about how to name grid classes. This decision has already been made for me. From project to project, my content manager and I know exactly which classes we should use for building a table of three columns. Those classes are even supported by WYSIWYG editors. Also, there are many good CMS plugins, which depend on the Bootstrap grid classes, for example Panels Bootstrap Layouts for Drupal.

Susy is light and flexible and I love it for that. With Susy, I build the grid the way I prefer by naming grid classes as it is required by the application context. And that’s awesome. However, my content manager is not very fond of Susy because she has to put some effort into splitting the article content into three columns and make it look nice on mobiles in case of using Susy.

Group Chats Negatively Affect Productivity

Group chats are helpful if used wisely. However, If you cannot concentrate on your work throughout the day because of your team chat, you are not alone.

I have just released my article "Do You Use Your Group Chat or the Group Chat Consumes You?" on Medium, where I discussed a group chat addiction and its consequences. In addition, I gave some tips on how to use group chats without the loss of productivity.

Why Else You Need HTTPS

komelin.com https lock in address bar

Everybody knows what the green lock in the browser address bar means. Briefly, it means security. But what if you have nothing to secure? What if you do not sell anything through your site and do not store any private data of your users. Well, it is in your interests to enable HTTPS, anyway. In this post, I will give you four reasons why.

HTTPS with Varnish

As you probably know, Varnish does not support SSL/TLS. This fact could mean for many people that their sites, which use Varnish as a proxy cache, would remain without HTTPS forever. It is not as bad as it sounds because you are now going to learn how to work out a solution.

Nginx is a really useful software because it can play multiple roles at once. You know that it is a quite efficient web server but it can work as a proxy server as well. In our case, it will become our SSL Termination Proxy.