A Simple Telegram Time Tracker Bot Creation

A Simple Telegram Time Tracker Bot Creation

A Simple Telegram Time Tracker Bot Creation

Everyone has Telegram nowadays. All of us use this messenger daily — it’s convenient, easy to use, intuitive, secure, and of course we all love stickers. Besides the personal messaging, we often use group chats — with family, friends and colleagues. In addition to live ordinary users, there are also bots in Telegram.

Let’s Look Under the Hood of Doctrine 2

Let’s Look Under the Hood of Doctrine 2

Doctrine 2

Perhaps it is not an exaggeration to say that Doctrine is the most frequently used ORM in the Symfony ecosystem. That’s why for the PHP developer, the mastery of this library is really important. In this article, I propose to look ‘under the hood’ of this Mustang among ORMs and figure out what abstractions and patterns form the base of this library.

Running PHPUnit Tests with Code Coverage in PHPStorm When Working in Docker

Running PHPUnit Tests with Code Coverage in PHPStorm When Working in Docker

Running PHP Unit tests with code coverage in PhpStorm

In PhpStorm, there is a possibility to create Run/Debug Configurations and to run them from IDE. It allows the project participants to share common configurations using a ‘Shared’ flag in the settings. One of such operations is running unit tests in the course of development. Let’s discuss how to fine-tune this process by means of Docker.

7 Reasons to Choose PHP Web Development for Business IT Solutions

7 Reasons to Choose PHP Web Development for Business IT Solutions

PHP: 7 Advantages for Business

Today, one may often come across the disputes about the feasibility of applying PHP in the development of IT products and services. There are so many publications (mostly, written in emotions by frustrated programmers) stressing out the drawbacks and limitations of PHP and its frameworks, that, as a business owner or a CIO, you may also start hesitating if PHP is suitable for your project. Is the situation really so bad? And if so, why 83 % of all web services are still being written in PHP? And why is it the choice of Slack, BlaBlaCar, Spotify, and other market leaders?

PHP: 5 Powerful Spheres of  Use

PHP: 5 Powerful Spheres of Use

5 spheres of PHP use

Initially built for server-side scripting, PHP has become one of the most widely used programming languages. According to WWW Technology Surveys, the share of its use worldwide exceeds 80%. Among PHP advocates are such giants as Slack, Wikipedia, Wordpress, Pinterest, Nvidia, Tumblr and, to some extent, Facebook. The wide range of functions it possesses allow applying this language in almost any area of IT development. That's why companies, from startups to large enterprises, so often choose this programming language when it comes to developing products and services. Let’s have a look at some inspiring examples of what can be done with PHP.

Code commenting and PHP documentation generation

Code commenting and PHP documentation generation

Code commenting and PHP documentation generation

Why do we need comments in code? How to write them? Where they are necessary and where they are not? How to comment code correctly? How to create the same documentation style for all members of the team? What are the tools for documentation generation? I will try to answer all the questions and share with you my ideas about this question.

Symfony 2 installation and configuration

Symfony 2 installation and configuration

Symfony 2 installation and configuration

Since its release date, Symfony 2.0 installation process and tools required for it have been changed and updated for several times. In this article we tell you how to install and set up a Symfony2 application.

Increasing Project Productivity in Symfony2 with Doctrine2 ORM

Increasing Project Productivity in Symfony2 with Doctrine2 ORM

Increasing project productivity in Symfony2 from Doctrine2 ORM

I have been trying to write this Doctrine 2 ORM tutorial for a long time but just couldn’t get down to it. Finally, I pulled myself together and did it. So here I’m sharing some techniques for working with Doctrine2 ORM which will help to improve the site performance on Symfony2 (precisely any site that uses Doctrine2 ORM). I have created a project and put it on a GitHub as a visual guide so anyone can test my words in action now.

Code refactoring in PhpStorm

Code refactoring in PhpStorm

Code refactoring in PhpStorm

PHP refactoring is really cool! But in the process of fulfilling it, some routine operations and repetitive actions with the code are rather frequent. And in the end there still may remain a lot of syntax errors. Well it often kills any initiative. And surely this is not cool. Fortunately, modern IDE are able to take part of the tasks for themselves while the developer can concentrate on the process of refactoring of code and architecture as a whole, rather than on the fight against boring code.