Category Archives: Development

Principles of Communications when Developing Messaging Applications

This is an intro on the challenges and options to overcome while developing applications involving digital communications, particularly real-time. There are many streaming communication protocol options to choose from, including regular socket communications, WebSockets, MQTT and a Vert.x event bus. … Continue reading

Posted in Java, Technology, Typescript, Uncategorized | Tagged , , | Leave a comment

The New Stacks Open Development Community

participants continue to share the belief that they ‘can do more in concert than individually’ — OpenSource.com I propose developers in the Stacks blockchain ecosystem join together in one identity — The Open Development Community. Our primary objective is to … Continue reading

Posted in Crypto, dApps, Development, Technology, Web | Tagged , , | Leave a comment

Stacks Blockchain API Architecture – WebSocket message flow

This discusses the architecture behind a critical piece for Stacks decentralized apps (dApps) developers: the flow of data from the Stacks Node where the block chain is constructed to the WebSockets service provided in the Stacks Blockchain API. dApps can … Continue reading

Posted in Crypto, dApps, Development, Technology, Typescript | Tagged , | Leave a comment

Simplifying WebSockets User Interface (UI) Clients with Happy Pub/Sub Patterns

A back-end WebSocket for live streaming data can typically offer subscriptions to data. Your client UI will typically have one connection to your back-end for all your subscriptions. The challenge becomes how to you handle many components in your UI … Continue reading

Posted in Angular, Development, Technology, Vue, Web | Tagged , | Leave a comment

Learning the Stacks SDK/API – The Demo Client

Stacks has a RESTful API and a library called Stacks.js. Stacks.js is a set of libraries for Typescript clients “which provide everything you need to work with the Stacks blockchain.” To develop a better understanding, I created a web client, a … Continue reading

Posted in Crypto, dApps, Technology, Vue, Web | Tagged , | Leave a comment

Mapping Vue 3 Pages to Firebase Hosting

Vue 3 has a concept called pages that let’s you define different HTML pages acting as entry points to your app. You define these in vue.config.js in the root of your project. Here is a sample: module.exports = { pages: … Continue reading

Posted in Development, Uncategorized, Vue | Tagged , | Leave a comment

Using Duration in Typescript

I’m converting Java 8 code to Typescript. Java 8 introduced a great Duration class that uses ChronoUnit to specify units such as DAYS or HOURS. You then instantiate a duration using that: Duration.of(3, SECONDS); Duration.of(465, HOURS); Duration can then interact … Continue reading

Posted in Angular, Development, Technology, Typescript | Tagged , , , , | Leave a comment

Creating a new Angular Site on Google Firebase

Angular is a framework for creating front-ends for websites. Technically, the site is static from a web hosting perspective, meaning that in and of itself it does not have a database, but rather only serves static files from the web … Continue reading

Posted in Angular, Development, Technology, Web | Tagged , , , , | Leave a comment

Using JSONP in Angular 8

JSONP is one way to get around CORS when getting data from a REST service. It does require a callback feature on the part of the service, which isn’t readily clear in some of the blogs and samples online for … Continue reading

Posted in Angular, Development, Technology, Web | Tagged , , , | Leave a comment