page banner
avatar
'Get a base64 encoded image using ng-flow in AngularJS' post illustration
Get a base64 encoded image using ng-flow in AngularJS

Here is an example of how you can get a Base64 encoded image using the ng-flow for the image upload, for instance, if you need to send the image in a JSON request.

avatar
'How to build a simple MongoDB DAO in Scala using SalatDAO' post illustration
How to build a simple MongoDB DAO in Scala using SalatDAO

Usually a data access object for MongoDB consists of common routine CRUD methods. Those methods should be implemented, tested, maintained just like any other code. In this post, I'm going to show you how to use SalatDAO to vastly simplify the process.

Generally, Salat is used for serialization of case classes, enums and collections to

avatar
'Test management process as a crucial point of the qualitative development' post illustration
Test management process as a crucial point of the qualitative development

Effective test management is an important element of a software development process. A well-planned and organized test management can ensure that the best possible software is produced within fixed time and resources.

The necessity to develop increasingly sophisticated software solutions has led to comprehensive,

avatar
'RESTful service load testing using Gatling 2' post illustration
RESTful service load testing using Gatling 2

In this post, I am going to show how to create load tests for a REST API application with the help of Gatling 2. This will be a step-by-step guide — starting from integrating Gatling 2 using SBT plugin, creating/configuring test scenarios, and all the way to running the Gatling tests.

avatar
'Advanced GORM features: inheritance, embedded data, maps and lists storing' post illustration
Advanced GORM features: inheritance, embedded data, maps and lists storing

In my previous GORM related article, "Association Types in GORM", I have described how to create different types of relationships using Grails ORM. In this article, I would like to talk about several advanced GORM features that may help you in the development process, such as:

  • domain classes inheritance
  • embedded data
  • maps and lists storing

avatar
'Managing configuration of a distributed system with Apache ZooKeeper' post illustration
Managing configuration of a distributed system with Apache ZooKeeper

One of the steps towards building a successful distributed software system is establishing effective configuration management. It is a complex engineering process which is responsible for planning, identifying, tracking and verifying changes in the software and its configuration as well as maintaining configuration integrity throughout the life cycle of the system.

Let's consider how to store and manage configuration settings of the entire system and its components using Apache ZooKeeper, a high-performance coordination service for distributed applications.

avatar
'Dynamically add and remove HTML blocks with Grails tag library and JQuery' post illustration
Dynamically add and remove HTML blocks with Grails tag library and JQuery

This post shows how to create Grails tag library for adding and removing identical HTML blocks, which can be used when you want to give user an option to dynamically add extra inputs for additional information. There are lots of simple JQuery and pure JavaScript solutions for this feature, but, in general, they are not flexible and clean enough for a Grails application. Pure tag library approach helps to avoid HTML and JS clutter in a GSP file and speeds up the development, since the only thing you need is to specify the tag with necessary parameters.

avatar
'Usability testing. Practical guideline. Part One' post illustration
Usability testing. Practical guideline. Part One

The primary purpose of any commercial website is to effectively sale services or products. That is where the user experience design which includes various usability solutions comes into focus. This article considers key concepts of the user experience and usability and answers the basic questions:

avatar
'Basics of AppleScript: Mac OS scripting Language' post illustration
Basics of AppleScript: Mac OS scripting Language

Every computer user has to deal with boring and time-consuming operations such as sending a lot of similar emails, converting files between formats, making backups and so on. Mac OS has a handy tool that is called AppleScript which can perform all these tasks for an user. This post shows how to start with AppleScript and how to use it in order to "communicate" with MAC applications.