Developers Club geek daily blog

Following the results of Rambler.iOS V

1 year, 7 months ago


On Tuesday Rambler.iOS V which we announced on Habré earlier took place. Experiment with breaking one very large subject on eight reports connected among themselves perfectly took place — thanks to such granulirovannost speakers could concentrate on the aspect of VIPER and prepare really powerful performances.

Read more »


Game in hospital or as we studied and tested system operation of health care of one of the European countries

1 year, 7 months ago

Read more »


Disposable without borders

1 year, 8 months ago

In the previous article I told how the object can simply and reliably bear responsibility for the resources.

But there is a set of options of ownership which are not personal responsibility of object:
  • Resources which are owned by dependences. When using Dependency Injection the object of a class not only should not be responsible for life cycle of the dependences, it just physically cannot do it: dependence can be separated between several clients, dependence can implement IDisposable, and can not implement, but at the same time it can have dependences and so on. By the way, this argument puts an end to any business interfaces expanding IDisposable at once: such interface demands impossible from the implementations — to be responsible for itself and for that guy (dependences)
  • Resources which under some conditions should not be cleared. It is, for example, bad habit of StreamReader to close underlying Stream by Dispose challenge
  • Resources which are external in relation to dependence, but are required for the client in the course of its use. The simplest example — a subscription to object events at assignment to its property.

Read more »


The announcement of Rambler.iOS V — V for VIPER

1 year, 8 months ago
image

We built, built and at last constructed! Yes we are well, hurrah!
Cheburashka

Read more »


How to cope with problems in the legacy project after 3 other commands

1 year, 8 months ago
This article does not apply for being the universal recipe, we will try to describe in it those problems which we faced, and their solutions in the project we got which after 3 other commands.

In the beginning we will shortly describe a project essence. There are doctors in clinics which on special devices dictate information on the patient and his visit. Then this information is transferred to a text type (the special division which staff listens is responsible for it and type the text), the text is checked, there is a filling of a template. Then there is a movement on Workflow which includes different stages with different business logic, then there is an integration to several external systems. And, at last, the letter to the patient is printed and sent. And work is archived after a while (but at the same time it can be recovered as necessary).

Read more »


Configuration management in the program project

1 year, 8 months ago
At first everything was simple. Youth, enthusiasm. The project was sawn by several programmers. All incensed, in process of readiness copied a code on the general virtualka, occasionally popinyvat the administrator regarding to deliver some packet or to correct a config. As soon as understood that everything, went to do release. At first backup, brought together then by senior all the steepness in a fist, copied the project on production the server and, with assistance of the administrator, tried to obtain that it earned there. The command waited two days, was convinced that queue with hatchets was not formed of grateful users, and, with a pride for the performed work, went to drink beer.

Then all slightly matured. Appeared and began somehow to be used by redmine/jira/etc, git/svn, jenkins, spinx-docs/rubydoc/doxygen/etc, wiki, unit tests. There were subprojects, the stand grew up. Production of servachok became a little. The administrator lifted salt/puppet/etc, monitoring, sits in the den as a spider, governs configs on salt-master and pulls state.highstate from there.

Read more »


Carefully, true contracts of classes can differ from formal

1 year, 8 months ago
In brief, in this article Liskov, about distinction of the contracts NotifyCollectionChangedAction.Reset in. net Framework versions 4 and. net Framework 4.5, and about what of these two contracts true and what — wrong will be a question of the rule of inheritance.


Read more »


Pure architecture in a Go-application. Part 3

1 year, 9 months ago

Read more »


The simplest and reliable implementation of a template of design of Dispose

1 year, 9 months ago

It would seem, this template is not simply simple, and is very simple, in detail sorted not in one famous book.
Nevertheless, still even within one project it often can be implemented differently, creating a zoo from bicycles, crutches and leaks.
I want to share the method of implementation which is based on minimization of the invention of bicycles, the maximum reduction of quantity of a code and increase in its expressiveness and transparency.

Read more »


The component-oriented engine on C#

1 year, 9 months ago
Several times I encountered on the Internet articles about "component-oriented programming" which general idea is in that to represent each difficult object as a set of independent functional blocks — components.

In the theory it sounds very interestingly: all independent, small, difficult objects — only different combinations from simpler. Recently decided to try to write system which will work under such laws, and everything was not so trivial. Behind details I invite under kat.

Read more »