Select Page

Category: Web Development

Manipulating HTML5 Canvas Using Konva: Part 5, Events

If you have been following this series from the beginning, you should now be very comfortable with shapes, groups, and layers. You should also be able to easily draw some basic and complex shapes on the canvas using Konva. If you plan on using Konva to create some interactive app or games, learning how to bind events to different shapes on the stage is the next logical step. In this tutorial, you will learn how to bind events to any shape using Konva. You will also learn about event delegation and propagation. Sometimes, you need might need to control...

Read More

10 Best Android App Templates for Business

Business apps for Android are a constantly growing market thanks to a community of avid developers and the increasing popularity of mobile devices. It is no surprise, therefore, that business app templates are also in demand as they help cut down some of the tedious parts of coding and allow developers to focus on the more interesting work of making their app unique. Today I’ll be looking at 10 of the best business app templates for Android developers to be found at CodeCanyon. The app templates I’ve chosen relate to all aspects of business, from increasing productivity to keeping...

Read More

Manipulating HTML5 Canvas Using Konva: Part 4, Styling

In the second tutorial of the series, you learned how to draw some basic shapes like rectangles, circles, and regular polygons using Konva. The third tutorial covered how you can use Konva to draw some more complex shapes like stars and rings as well as sprites on the canvas. In this tutorial, we will go one step further and learn how to apply different styling to shapes by changing their fill and stroke values. You will also learn how to control the opacity of a shape and apply shadows to it. In the final sections, you will learn how...

Read More

Testing Data-Intensive Code With Go, Part 4

Overview This is part four out of five in a tutorial series on testing data-intensive code with Go. In part three, I covered testing against a local complex data layer that includes a relational DB and a Redis cache. In this tutorial, I’ll go over testing against remote data stores using shared test databases, using production data snapshots, and generating your own test data. Testing Against Remote Data Stores So far, all our tests were conducted locally. Sometimes, that’s not enough. You may need to test against data that is hard to generate or obtain locally. The test data...

Read More

Testing Data-Intensive Code With Go, Part 3

Overview This is part three out of five in a tutorial series on testing data-intensive code with Go. In part two, I covered testing against a real in-memory data layer based on the popular SQLite. In this tutorial, I’ll go over testing against a local complex data layer that includes a relational DB and a Redis cache. Testing Against a Local Data Layer Testing against an in-memory data layer is awesome. The tests are lightning fast, and you have full control. But sometimes you need to be closer to the actual configuration of your production data layer. Here are...

Read More
000webhost logo