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

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

Learn how the IBM Swift Package Catalog makes working with the Swift Package Manager even easier

In this short tutorial we will install and configure Swift on the Mac or Linux, then walk through the creation of a simple project, and finally demonstrate our favorite new features in Swift 3.0: automatically including dependencies into projects.  Continue reading Learn how the IBM Swift Package Catalog makes working with the Swift Package Manager even easier

Stand up your Swift 3 microservice in less than 10 minutes using IBM Bluemix Runtime for Swift

A tutorial for using IBM Bluemix Runtime for Swift Using Swift for both client and server side apps has never been simpler. With the combination of Swift 3.0's release including new server-side capabilities, IBM's high performing, open source Kitura web framework for Swift and the IBM Bluemix Runtime for Swift, developers can now stand up…  Continue reading Stand up your Swift 3 microservice in less than 10 minutes using IBM Bluemix Runtime for Swift

Video Replay: IBM Announces New Swift Offerings & Tools

Swift-JohnPonzo This week IBM unveiled several projects that we’ve been working on to advance the Swift language for application developers. If you weren’t able to see Monday’s announcement in the IBM InterConnect first-day keynote, don’t worry, you can view it a video replay here.  Continue reading Video Replay: IBM Announces New Swift Offerings & Tools

10 Steps To Running a Swift App in an IBM Container

I thought it might help to review the steps for creating an IBM Container to host a sample server side application written in the Swift programming language. The sample application listens on port 8090 and returns a basic HTML response to clients. Though this is not a production-ready application, it gives you an idea of the different types of server-side applications that you can develop using Swift.  Continue reading 10 Steps To Running a Swift App in an IBM Container

Sharing – A perspective on Swift collaboration

When we say we envision bringing the many benefits of Swift to other platforms, IBM joins a growing global community. As a community, we are just starting out on our journey to bring Swift to the Cloud. Since moving to open source. the Swift language has already become the #1 open source language on Github; given it’s been just 2 short months, there is clearly shared excitement around these efforts. As with any open source effort, results come from hard work, collaboration and sharing.  Continue reading Sharing – A perspective on Swift collaboration

Swift on POWER Linux

Apple open sourced the Swift language recently, and I’ve been meaning to take a look at how much work it would be to port it to POWER Linux. As with many languages that use LLVM, it turned out to be relatively straightforward. I submitted a patch a few days ago, and thanks to some great assistance from Dmitri Gribenko in reviewing my work, support for little endian PowerPC64 is already upstream. A couple of things made the port go smoothly…   Continue reading Swift on POWER Linux