hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.1K
active users

#swift

47 posts44 participants0 posts today

I hate how a lot of programming tutorials start by creating a fuckton of abstractions & boilerplate

When I want to grasp a concept, I don't care about anything but the basics. I REALLY don't care about enterprise scalability or any of that bullshit. I might eventually arrive there, but NOT when I'm just trying to learn the basics

I'm currently going through it with a certain Vapor book. I have already given up multiple times, and it makes me more and more angry each time

Continued thread

Finally got everything I need into the pricing table, and started reading up on the web hook docs. Tomorrow let's set up routes for the web hooks, figure out the command-line tool, and verify events. See you then!

🔜 Tomorrow’s stream: youtube.com/live/dJzoMKthGjM
⏮️ Playlist so far: youtube.com/playlist?list=PLRx
📲 Download Jiiiii: apps.apple.com/app/apple-store

youtube.comBefore you continue to YouTube
Continued thread

Started doing what I set out to do, then got distracted fixing how I handle gift memberships 😅 Tomorrow let’s continue getting customer information into the pricing table. See you then!

🔜 Tomorrow’s stream: youtube.com/live/XZx3e3YAQ4I
⏮️ Playlist so far: youtube.com/playlist?list=PLRx
📲 Download Jiiiii: apps.apple.com/app/apple-store

youtube.comBefore you continue to YouTube

I published a #SwiftLog backend for #NodeSwift. I’ve been working on a VSCode extension using NodeSwift to access my existing #Swift library. The SwiftLog backend routes, for example, `logger.info(“message”)` to node.js and includes a simple `NodeConsole.log(“message”)` to send messages to the node console. swiftpackageindex.com/stevengh. For reference: NodeSwift: github.com/kabiroberai/node-sw and SwiftLog: github.com/apple/swift-log.

The Swift Package IndexNodeSwiftLogging – Swift Package IndexNodeSwiftLogging by Steve Harris on the Swift Package Index – Log to the node console or use a SwiftLog backend in NodeSwift
Continued thread

Made some good progress re-understanding how my transactions work, and slating the stripe model into it. Tomorrow, let's call the updated route, and update the price table so checkout requests are tied back to a user. See you then!

🔜 Tomorrow’s stream: youtube.com/live/I7CPJLVhzsg
⏮️ Playlist so far: youtube.com/playlist?list=PLRx
📲 Download Jiiiii: apps.apple.com/app/apple-store

youtube.comBefore you continue to YouTube

Swift: Шаблонный бэкенд с использованием Vapor

В мобильную разработку приходят различными путями. Некоторые рождаются с девайсом в руках, других ведет извилистая дорога вдоль серверов, майнфреймов, дестопных приложений. Но каждый кто в нее попадает ощущает свою незащищенность с тыла, если нет надежного партнера в лице бэкенд –разработчика. И, буквально, каждый мобильщик ожидает, что необходимый API будет готов хотя бы за один спринт, до того, как в нем возникнет необходимость. Конечно же, мир IT разработки редко допускает такую роскошь – за нее требуется бороться с ПМ и бизнес-аналитиком. К тому же не редки ситуации, когда то, что должно быть сделано «на вчера», будет готово «на послезавтра». Те кто имеют достаточно опыта как в наземном, так и подземном мире – берут инициативу с свои руки, и сами предлагают клиент-серверный интерфейс. Для мобильного мира C# и Java – падения из рая в ад – это довольно естественный процесс, поскольку присущие им платформы изначально целились на поддержку т емных сил бэкенда. То ли дело Swift – познавшему небо – не легко дается жизнь на льдине, вместе с ластоногими. Получить лучшее из обоих миров, и не потерять темп позволяют некоторые экзотические решения, наподобие Perfect и Vapor. Однако, они в большей степени отвечают на вопрос «Как?» вместо того, чтоб предложить какое-нибудь удовлетворительное минимальное решение. С другой стороны, как правило, исходные требования мобильной команды довольно умерены и стереотипны от одного приложения к другому. Обычно требуется поддержка и управления такими сущностями как аккаунт пользователя, профиль, продукт и изображения.

habr.com/ru/articles/900634/

ХабрSwift: Шаблонный бэкенд с использованием VaporВ мобильную разработку приходят различными путями. Некоторые рождаются с девайсом в руках, других ведет извилистая дорога вдоль серверов, майнфреймов, дестопных приложений. Но каждый кто в нее...