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

  Переглядів 780

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
Переглядів 375 тис.
1 класс vs 11 класс (рисунок)
00:37
БЕРТ
Переглядів 3,2 млн
🐩🐕
00:25
Янчик
Переглядів 2,3 млн
How to determine where code runs in Swift Concurrency
12:42
donny wals
Переглядів 1,6 тис.
Elevated Swift - Soroush Khanlou | Swift Heroes 2023 Talk
26:24
Swift Heroes
Переглядів 2 тис.
[ML News] Llama 3 changes the game
31:19
Yannic Kilcher
Переглядів 42 тис.
Big Tech AI Is A Lie
16:56
Tina Huang
Переглядів 38 тис.
Data Agents with LlamaIndex
1:01:12
AI Makerspace
Переглядів 2,4 тис.