Using SwiftMetrics with a secure Kitura Server

SwiftMetrics does not provide any security, however, it can easily be used in an already secure environment. This article securing-kitura-part-1-enabling-ssltls-on-your-swift-server/ details how to configure Kitura to use SSL/TLS. This article on SwiftMetrics details how to use SwiftMetrics with Kitura. Combining the articles will enable you to use SwiftMetrics in a secure Kitura environment. I would…  Continue reading Using SwiftMetrics with a secure Kitura Server

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
Kitura/iOS

Kitura/iOS: Running a Web Server on your iPhone

Server-side Swift applications, and Kitura applications in particular, can run on macOS and Ubuntu Linux. There are use cases, however, that require running server-side applications on iOS. To run a server-side application on iOS means embedding its code in a plain client-side iOS app. In this blog post, I will describe these use cases and…  Continue reading Kitura/iOS: Running a Web Server on your iPhone

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

Securing Kitura Part 3: Challenges on Cross-Platform SSL/TLS

Having a consistent development experience for Swift across iOS, tvOS, macOS and now Linux helps to drive higher developer productivity as well as better reuse of Swift assets/libraries across these platforms. The challenge then is to design and maintain consistent Swift APIs across these platforms while leveraging libraries and capabilities that might be specific to…  Continue reading Securing Kitura Part 3: Challenges on Cross-Platform SSL/TLS

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)

Creating a Bookstore application: Interface to SQL

Introduction In this tutorial series, you will learn the basics for creating a new Swift on the Server application. For an interesting example, we have chosen a "Book Store" website, where people can search for books to buy and add them to their shopping carts. We will be using the SwiftKuery library for interfacing with…  Continue reading Creating a Bookstore application: Interface to SQL