At Flatiron School, our team culture encourages learning new tech and sharing knowledge. We constantly look for new technologies to work on and experiment with. We aren’t currently using any Vapor/Swift internally, but as an iOS & Web developer, Server Side Swift continues to fascinate me, so I wanted to put together a tutorial on how to use PostgreSQL (an open source relational database) and Vapor 3 (a server side Swift framework) to store our data.
If you’re not totally familiar with using SQL, have no fear: Vapor comes with an ORM (Object Relational Mapping Tool) called Fluent that makes working with databases very easy. …
As I’ve been learning React Native, I’ve started to get frustrated having to continually wait for rebuilds on my phone and in general having to switch between screens. Now don’t get me wrong testing on a phone while building a mobile app is super critical as it shows you exactly how something will look in a users hands. That being said any mobile dev can attest to how frustrating testing incremental builds can be. So in case you’re looking for a super easy way to test in the browser I present you React Native Dom.
First let’s start off by creating a new project using
create-react-native-app. For anyone who’s new to React Native development but has used React before, this should look super familiar. In React, we use
create-react-app to create React applications that come with some awesome default settings to get you developing quickly.
create-react-native-app is no different. …
This is Part 2 of an ongoing series on Getting Started with Vapor
For this tutorial, we’re going to take what we learned in Part 1 and create some web pages using Vapor’s templating system Leaf. First, let’s talk about what is Leaf. …
Swift on the Server
Last year at WWDC, Apple showed off the concept of server-side-swift utilizing IBM’s Kitura framework. The concept of using Swift on the server has taken the entire Swift community by storm and has lead to the advent of several other frameworks such as Vapor, Zewo and Perfect.
Why do we need Swift on the server?
For many iOS developers, one of the biggest hurdles in building apps has been the difficulty finding someone to build a backend for their app. Many developers have come up with ideas for applications but became stumped by the question of “Where do I store my data?” Some have had the fortune of working closely with friends who are web developers, and some have taught themselves Ruby on Rails or Node.js to actualize their dreams themselves. …