Using Application Metrics for Swift in Xcode

Early releases of Application Metrics for Swift (SwiftMetrics) were difficult to get working for Xcode developers due to the use of dynamic libraries as plugins and the fact that SwiftMetrics previously expected them to be all in the same folder in a specified location. As a workaround it was possible to build SwiftMetrics outside of…  Continue reading Using Application Metrics for Swift in Xcode

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
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

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

Enabling Swift 3.0 on LinuxONE Server

Swift 3.0 is the first (major) release since Swift was open sourced and it includes support for LinuxONE. It represents a big milestone in the evolution of the language and makes it ready for the high demands of the modern digital enterprise. IBM has been highly involved in Swift, participating in the development of the…  Continue reading Enabling Swift 3.0 on LinuxONE Server

Transition to Server-Side Swift with BluePic

In order to demonstrate the possibilities a developer has using open source Swift, IBM built the open sourced demo application known as BluePic. This article will provide you with an overview of the technologies BluePic uses and how it leverages server-side Swift. BluePic is a photo sharing application for viewing, posting, and searching for images posted by others. This application takes advantage of Swift in a typical iOS client setting, but also on the server-side using the new Swift web framework and HTTP Server, Kitura.  Continue reading Transition to Server-Side Swift with BluePic