Power of Composer packages

About Composer Packages

Composer packages makes maintaining your code easier. For example, you have a small library which is used in a few projects at the same time. You want to add a new feature or fix a bug.

You can go through all projects which are using the library and update them. But what if new update needs to add new dependencies? You should add them manually too. It will take too much time and chance to break something is very high.

Another way is to package the library in a Composer package and make it accessible somewhere across the Internet (you actually don’t need make it public). In this case you update the code, add required dependencies in config and release a new version. After that, you just go through projects and run a single command in their root directory:

composer update

This is much easier than the previous scenario.

Continue reading “Power of Composer packages”

Subversion vs Git


Comparison Subversion vs Git can be interesting for a junior developer. Git and SVN both are version control systems (VCS). Their main purpose is to allow developer track project development progress. With VCS you can revert your project’s code to any version in the past. It’s extremely useful in bug fixing and new feature development.

There are many VCS and today I want to compare probably two most popular of them – Git and SVN.

Continue reading “Subversion vs Git”

Nightwatch – automatic website testing using Selenium server

About front-end website testing

Website integration tests are extremely useful for front-end development. Automatic website testing makes you sure that your website works properly, that you haven’t broken something working on recent updates. I write front-end integration tests using Selenium technology and Nightwatch (written in NodeJS) or JUnit (written in Java).

Continue reading “Nightwatch – automatic website testing using Selenium server”

Subversion. Tips and Tricks

About Subversion

Subversion (SVN) is centralized revision control version. That means you have one central server and many SVN clients installed on developer’s workstations. When a developer commits, code updates are sent to the server immediately (in contrast to Git, where commits stored in local repositories and pushed to the central repository manually).

Anyway SVN is very old and inflexible revision control system – it has many disadvantages comparing with Git. But it is used for some old projects and it can be useful to know some basic SVN commands.

Continue reading “Subversion. Tips and Tricks”