Developing Full Stack Cross-Platform Metrics System with Swift - Pol Piella | Swift Heroes 2023 Talk

  Переглядів 785

Swift Heroes

Swift Heroes

День тому

🎟️ 2024 ticket SPECIAL PRICE: swiftheroes.com/2024/
⏩ Chapter:
00:00 Intro
01:30 What we’ll build today?
03:21 Why Swift though?
04:42 How to create a Swift Package
06:38 Using Vapor
07:51 Modelling data (migrations)
10:48 Defining the routes
13:51 Finally… Configure
14:41 The run target
16:22 The metric dashboard (creating a template)
18:48 Vapor RESOURCE
19:19 GitHub Actions Metrics
24:06 Creating a workflow
25:59 GitHub Actions workflow RESOURCE
26:42 Xcode Cloud metrics
30:16 Let’s deploy the LAMBDA
33:14 WRAP UP
👨🏻‍💻 "Over the last few years I have been using Swift and advocating for it to be used in a wider context than macOS and iOS development.
💬 In this talk, I will build a full stack cross-platform metrics system which tracks the duration of Github Action workflows over time using exclusively Swift.
🛠️ The system I will be making is a re-implementation of a real-world metrics system we use at the BBC and is currently implemented across a number of different languages.
🚀 My goal is to show you how powerful Swift is and how it can be used to write complex systems and mobile developer tools like this one.
⚖️ The metrics system consists of three parts:
1. A command line tool that drives the core of the system's logic and extracts the workflow data from Github's API for a given repo. This will be written entirely in Swift and will use modern concurrency. I will also share a bunch of tips and tricks around how to debug command line tools locally.
2. A serverless function, completely written in Swift and using modern concurrency to analyse the data from Github's API and store it in a suitable location.
3. A web #dashboard which shows the workflow duration data. This will also be written entirely in Swift using Vapor and John Sundell's plot framework.
🎯 The goal of the talk is to encourage people to use Swift to make developer tools and to show why it might be a great choice for mobile engineers looking to automate their processes and improve their developer experience."
🎤 Pol Piella Abadia, Senior iOS Developer, BBC iPlayer
📍Swift Heroes 2023 was hosted in Turin, 4-5 May. Attended by 320 iOS developer participants and broadcast to an additional 320 Swift enthusiasts across the globe. The agenda covered a range of important iOS developer topics including SwiftUI, the composable architecture, accessibility, developer tools, testing and much more.
📌 For more engaging content and expert insights, subscribe to our channel and hit the notification bell. 🛎️
Inform: swiftheroes.com/
✅ Tweet: / swiftheroes_it
✅ Connect: / swift-heroes
✅ Read: telegram.me/swiftheroes
#SwiftHeroes #developertools #fullstackdevelopment #CrossPlatformMetricsSystem #bbciplayer #SwiftHeroes #iosdevelopment #swiftui #Vapor #automation

КОМЕНТАРІ: 3
@user-np8mu3yh1t
@user-np8mu3yh1t 2 місяці тому
Someone make this guy a CEO!
@user-np8mu3yh1t
@user-np8mu3yh1t 2 місяці тому
Someone make this guy a CEO!!!
@SwiftHeroes
@SwiftHeroes 2 місяці тому
😂😂😂
How GitHub Actions 10x my productivity
8:18
Beyond Fireship
Переглядів 376 тис.
Спектакль для окупантів та ждунів 🤯
00:47
Радіо Байрактар
Переглядів 545 тис.
Elevated Swift - Soroush Khanlou | Swift Heroes 2023 Talk
26:24
Swift Heroes
Переглядів 2 тис.
How to determine where code runs in Swift Concurrency
12:42
donny wals
Переглядів 1,6 тис.
How I'd Learn Full-Stack Web Development (If I Could Start Over)
10:28
Conner Ardman
Переглядів 340 тис.
Big Tech AI Is A Lie
16:56
Tina Huang
Переглядів 55 тис.
Python Vs C++ Vs Java!
4:41
ByteByteGo
Переглядів 415 тис.
It's embarrassing how much I like this thing.
12:19
Linus Tech Tips
Переглядів 933 тис.
Бюджетная видеокарта за 5000 рублей
17:47
Nitroxsenys
Переглядів 21 тис.
ИГРОВОЙ ПК от DEXP за 37 тысяч рублей из DNS
27:53
Ремонтяш
Переглядів 377 тис.