ASAB

Asynchronous Server App Boilerplate Video Tutorial

Previous article

If you ever wondered about how to enter the fast asynchronous world, where web servers and other responsive applications utilize hardware components to their maximum and sleep when no work is necessary, you are in the right place.

Asynchronous Server App Boilerplate (ASAB) was built exactly for the purpose of letting newcomers quickly enter the asynchronous programming with just a few lines of code. ASAB can then be used for building complex applications or foundations for other frameworks and base components.

Introduction

Presentation of the ASAB architecture together with basics of asynchronous programming in Python with asyncio library.

Hello world

How to build a few line long "Hello world" application.

Web server example

Web server application made easy with ASAB using aiohttp.

Publish-subscribe (PubSub) example

Publish-subscribe mechanism of events in the ASAB application.

Logging & Configuration

How to use hierarchy configuration and simple logging.

Modules & Services

ASAB is based on modules, services and their handlers to ensure loose coupling and independent microservices.

Other examples

ASAB provides many examples, which are part of the source code on GitHub: https://github.com/TeskaLabs/asab/

About the Author

Premysl Cerny

Software Developer at TeskaLabs




You Might Be Interested in Reading These Articles

SeaCat Tutorial - Chapter 4: Using MongoDB with REST Integration (iOS)

The previous tutorial introduces several concepts and helps you understand the basic of REST API integration with iOS client written in Swift. There are several limitations, with data storage being the most important. This article provides instructions on how to work around this restriction.

Continue reading ...

tech tutorial ios osx

Published on November 25, 2014

Situations Where Mobile App Security Best Practices is Necessary

The use of mobile app security best practices has become a necessity as app development and mobile usage continue to grow. These practices are needed to improve consumer protection, trust, and regulatory compliance.

Continue reading ...

security development

Published on March 24, 2015

The Golden Age of Black Hats

I experienced a precious moment, discovering the cause which contributed to today's dire state of mobile application security. App developers think that if their apps do not deal with money, they should not have to care about app security. Is it true?

Continue reading ...

security development

Published on February 24, 2015