Enterprise capabilities for Swift applications and micro-services

In this blog post, we introduce the new Swift-Enterprise-Demo application. This application highlights some of the new enterprise capabilities you can leverage when you deploy your Swift, Kitura-based applications to the Bluemix cloud. Using a cloud offering, such as Bluemix, for provisioning and running your applications allows you to focus on implementing business logic and features and not worry about server and hardware maintenance. However, there are more advantages for hosting your Kitura-based applications on the cloud as we will explore in this post!  Continue reading Enterprise capabilities for Swift applications and micro-services

Stabilize your Swift applications with CircuitBreaker

In this article you will get a high level overview of the Circuit Breaker design pattern, why you would use this pattern in your applications, and how to get started using the Swift CircuitBreaker library. What is the Circuit Breaker design pattern? The CircuitBreaker pattern embodies the idea of a traditional circuit. If the circuit…  Continue reading Stabilize your Swift applications with CircuitBreaker

DevOps at Swift@IBM

To leverage Travis CI and avoid duplication of code, we developed a set of utilities for building, testing, and performing quality checks against our Swift code. These common set of utilities are found in a GitHub repository that we have named Package-Builder. Our Swift packages leverage these capabilities by simply including a .travis.yml file that references the Package-Builder repository.

  Continue reading DevOps at Swift@IBM

Working with WebSockets in a Kitura based server

Historically Web Servers respond to requests sent to them using HTTP. These requests are sent over a TCP/IP socket. The response to one of these HTTP requests is sent back to the client using the same TCP/IP socket on which the request was sent. Fundamentally HTTP enables the client to send requests to the server…  Continue reading Working with WebSockets in a Kitura based server

Writing a WebSocket based chat server using Kitura

Introduction In this blog article I'd like to describe the building of a simple chat server using Kitura and Kitura-WebSocket. The server will support multiple users connected to a single chat. There is no storage of the messages exchanged, any messages sent are only received by those users connected at that moment in time. Slack…  Continue reading Writing a WebSocket based chat server using Kitura

Working with SQL in Swift using Swift-Kuery

Many server based applications store data in relational databases whose data can be manipulated through SQL statements. Many different relational database engines exist that differ in many dimensions. Many offer scalability and performance, others are open source, others have a small footprint suitable for development and embedded deployments. The selection of a database engine is…  Continue reading Working with SQL in Swift using Swift-Kuery

Serving content written in Markdown using Kitura

Web applications serve HTML content. Much of this content makes up the various pages of the application. Such HTML is either hand written by developers or generated from templates, often in templating languages designed for developers. This HTML content if most often is much more about laying out other content than actual text in the…  Continue reading Serving content written in Markdown using Kitura

Getting Started with Kitura and AngularJS

Introduction Kitura is an open source web framework provided by IBM that is created for building microservices written in Swift. Kitura is a great way to leverage Swift knowledge to develop both client and server sides of your project. This presents the opportunity for a frontend Swift developer to become a full-stack developer by eliminating…  Continue reading Getting Started with Kitura and AngularJS

Deploy a Microservice Architecture with IBM Cloud Tools (video)

IBM Cloud Tools for Swift (ICT) makes it easy for developers on macOS to deploy, manage, and monitor end-to-end applications on Bluemix. The tool is part of a larger IBM initiative to bring Swift to the server. We recently created a video illustrating the value IBM Cloud Tools provides when creating a microservice architecture that…  Continue reading Deploy a Microservice Architecture with IBM Cloud Tools (video)