Build your next website in Swift

  Рет қаралды 33,799

Paul Hudson

Paul Hudson

Ай бұрын

Swift's result builders let us create domain-specific languages right inside our Swift code, and with a little thinking that means we can actually build whole websites in Swift - and even use similar syntax to SwiftUI!
Get Ignite here: github.com/twostraws/Ignite

Пікірлер: 111
@JesseSlomowitz
@JesseSlomowitz Күн бұрын
As a web developer, it is amazing to see another language having an access point to front-end development. Great work! I was surprised to see Bootstrap being used, it seemed more people have leaned more into Tailwind but seeing as how Bootstrap is more component-based than CSS-flexible, it does make sense to have that structure for the Swift components.
@djryanashton
@djryanashton 2 күн бұрын
This is such an exciting project. Thanks Paul.
@artemyvolkov
@artemyvolkov Ай бұрын
Amazing! Simple and so clever! Thanks so much, Paul, learning every time!
@Stricken174
@Stricken174 Ай бұрын
Bravo! Couple of weeks ago i was making html + css code work in swift project, and doesn't even think that it can be done that way. Awesome, as always.
@fpst
@fpst Ай бұрын
First time I am interested in web development. Thanks Paul :)
@fruitduck2094
@fruitduck2094 Ай бұрын
This is great Paul! I've recently started working on my personal website and was looking into SSGs. Imagine my surprise when I came across this video
@ioscaleb
@ioscaleb Ай бұрын
Paul Hudson you are a mad genius. Great ideas, great video.
@dj_256
@dj_256 Ай бұрын
My man did the thing I've been waiting for for years. Im getting emotional rn
@milanlabus1582
@milanlabus1582 21 күн бұрын
We love this kind of content diving into the more niche areas of SwiftUI, Id love to see more Mapkit videos
@ValentinaRotari-ii7hw
@ValentinaRotari-ii7hw 23 күн бұрын
That is a great work done! Thank you! And hope to see some clips from you on building web sites using Ignite!
@codingraph
@codingraph Ай бұрын
Watching this video on my way to Japan, so well done !
@swiftandtips
@swiftandtips Ай бұрын
Awesome video Paul! I will try it out for my new blog, thank you! (And great explanation of Result builders 👏🏻)
@tdrg_
@tdrg_ Ай бұрын
Never thought I’d see this day. Awesome!
@iOSnick
@iOSnick Ай бұрын
Paul, You're The Best! I'am gonna try it!
@knightandlord
@knightandlord 19 күн бұрын
I really hope you never stop your good works. I hope you see this. I haven’t quite gotten to the level of understanding these at all. However, I’m passionate about building amazing things and I know I’ll get to the point where your videos will become useful. But I’ll wet the ground to walk on a ground with coolness later on. Parable. I’m a designer currently looking out for Swift tutorials that can explain it to me in design terms. Haven’t quite seen yet. But I notice your videos show up more and more in my search.
@twostraws
@twostraws 14 күн бұрын
I’m glad you enjoyed the video! Building with Swift is a lot of fun 🙂
@akbar_logs
@akbar_logs Ай бұрын
Amazing work. Lot of thanks.
@will.gallegos
@will.gallegos Ай бұрын
Aye what!? Never thought that this would ever be a thing... Im going to start as soon as I can...
@mohammadnej7029
@mohammadnej7029 Ай бұрын
Such a nice job bro! Job well done 😮🎉
@willchiu4418
@willchiu4418 Ай бұрын
I usually don’t leave comment, but you get my attention. Well Done Man 👍🏻
@micahburnside2281
@micahburnside2281 Күн бұрын
I will build a website next week with Ignite. I cant wait.
@vsramakrishnarajukanumuru9586
@vsramakrishnarajukanumuru9586 Ай бұрын
This is awesome idea. I was thinking about this while learning 100 days swift project on embabed html in swift.
@AioriaPoderoso
@AioriaPoderoso Ай бұрын
This is amazing I will defenitly switch from dart to swift
@LeBojo
@LeBojo Ай бұрын
That's looks insane!
@anmolrajpalofficial
@anmolrajpalofficial Ай бұрын
So if I want to make some changes in my html code (eg, text), do i have to compile the XCode app every time to see the changes? In html files, we don't need to compile our Node.js or any web app!
@typicaltype2608
@typicaltype2608 Ай бұрын
this is so sick man
@arjundureja
@arjundureja Ай бұрын
Very cool! Could this be used with Vapor to dynamically generate HTML pages entirely in Swift?
@takumuguti
@takumuguti Ай бұрын
Wow this is amazing 🙌🏾🔥🔥🔥
@atanasnachkov4030
@atanasnachkov4030 Ай бұрын
Thank you!
@TeddRod-jh3lb
@TeddRod-jh3lb Ай бұрын
Awesome work with your Ignite project. I also see that it is actually meant to build static website, any change that it could be use for generating server-side website in future ?
@stevepottz111
@stevepottz111 Ай бұрын
This is cool. This is one step closer to freeing me from the JS ecosystem.
@RA-xx4mz
@RA-xx4mz Ай бұрын
Htmx gang wuz here
@langahoohlo6695
@langahoohlo6695 Ай бұрын
Is it better to be an apple eco system compared to js
@stevepottz111
@stevepottz111 Ай бұрын
@@langahoohlo6695 Facts
@Red00022
@Red00022 Ай бұрын
@@langahoohlo6695believe it or not. It really is.
@mayankbhaisora2699
@mayankbhaisora2699 Ай бұрын
More power to Swift
@techanthrop
@techanthrop Ай бұрын
That reminds me John Sundell's "Publish" which can be used to generate HTML Websites with Swift Code... Very similar but more intuitive. :) Thanks Paul.
@JasonJurotich
@JasonJurotich 21 күн бұрын
question... when you have this webpage, because it is swift, could you somehow package this to then work as an iOS app so you could then add notifications, bluetooth access, etc? That would be a cool video...
@nasir519
@nasir519 Ай бұрын
At the moment I needed a way to develop a static website for my brand, just curious how does ignite helps with SEO ?
@danieldonaldson8634
@danieldonaldson8634 Ай бұрын
And is this adaptable to Vapor, or similar Swift based web frameworks for dynamic HTML?
@ayopringle
@ayopringle Ай бұрын
this is amazing
@sabata657
@sabata657 Ай бұрын
great job
@goranbla
@goranbla Ай бұрын
another one of those: "why didn't I think of this" ideas 🙈 😅 amazing work, man, forking now, have some additional ideas that might make sense
@goranbla
@goranbla Ай бұрын
and of course, coming up with an idea doesn't mean much until you create a repo 💪
@user-dx3hm7sm6j
@user-dx3hm7sm6j Ай бұрын
Awesome!🎉
@cbbcbb6803
@cbbcbb6803 Ай бұрын
Could this be done in any programming language?
@karlostj4683
@karlostj4683 Ай бұрын
"But what happens if I forget this closing ?" You mean, just like you forgot the closing ? Browsers apparently accept the fact that some tags don't have to be closed.
@maciejtrybilo
@maciejtrybilo Ай бұрын
Minor thing: AFAIK the '/' in "self closing" tags are ignored nowadays. Just using is _slightly_ more correct than . The forward slash is in fact misleading since e.g. will just start a new div and not self close.
@__Imran__
@__Imran__ Ай бұрын
Every day passed and I realized, I loved you more than yesterday. I want to be a coder like you. I am passionate like you but not that much skilled. Pray for me ❤. By the way, thanks for this amazing Library. 💌
@tejaspatelia8179
@tejaspatelia8179 Ай бұрын
Praying won't work. Practice will!
@__Imran__
@__Imran__ Ай бұрын
@@tejaspatelia8179 trying brother
@user-vj4st2gd4i
@user-vj4st2gd4i Ай бұрын
Incredible….
@tazman7689
@tazman7689 Ай бұрын
Can you publish to GitHub pages?
@timotejmatlak4625
@timotejmatlak4625 Ай бұрын
What a great news 😎
@Abdullah-zl9ub
@Abdullah-zl9ub Ай бұрын
I never knew it was possible to build a website using swift. Is it done in Xcode? Does swiftUI work?
@AndyJMacLeod
@AndyJMacLeod 11 күн бұрын
Would this make it easier to make a web app from an iOS app?
@Goku61001
@Goku61001 Ай бұрын
Blazor?
@garanceadrosehn9691
@garanceadrosehn9691 Ай бұрын
Impressive.
@AnandKumar-oc2nv
@AnandKumar-oc2nv 27 күн бұрын
Amazing Video. Can you create video how to publish the site?
@SwiftDeepDive
@SwiftDeepDive 3 күн бұрын
if I'm not mistaken and correct me please Paul, Ignite will allow Swift developers to create a Static Website using SwiftUI style code and then the framework will create the html for us that we can just upload to our hosting provider? Is that correct - Love the work that you are doing!!!
@EricMasiello
@EricMasiello Ай бұрын
Is this meant to run on a server alongside a server framework (e.g., Express, etc) or is this meant for emitting static html via a build script?
@Bks715
@Bks715 Ай бұрын
Looks like it’s for static html only
@twostraws
@twostraws Ай бұрын
Ignite is designed for static site generation, at least for now, but the result builder approach introduced in the rest of the video can be used anywhere you want.
@Bks715
@Bks715 Ай бұрын
@@twostraws it’s a super cool idea
@vimalgorvadia
@vimalgorvadia Ай бұрын
Hey You’re doing great job by creating lgnite, full filing purposes of swift as general purpose language keep it up. Can you please let me know how can we develop dynamic website using swift only? By using ignite with vapor or so.
@Xcoder
@Xcoder Ай бұрын
👍🏻
@datping7377
@datping7377 Ай бұрын
It’s really nice but will it solves all the html related problems at the beginning?
@datping7377
@datping7377 Ай бұрын
But I don’t understand why it would be beneficial to build a website using swift… is it just because we can and it’s cool or does it fixes problems other ways can’t?
@AlanRick26
@AlanRick26 Ай бұрын
I just don’t understand how/where to host the SwiftUI platform. I don’t think that my hosting service provides this.
@adp989
@adp989 9 күн бұрын
For Android devs, there is native support to use Compose ( the android equivalent of SwiftUI) on the web, you dont have to use HTML. Its unfortunate SwiftUI is not open source. So for native iOS devs the swiftUI skills cannot be directly used to build UI on the web like Android...
@vollmerama
@vollmerama Ай бұрын
dont already have react and nextjs?
@infantfrontender6131
@infantfrontender6131 Ай бұрын
This solution is for those who want to use only Swift in the web. If you know JS, then you have a lot of frameworks for different needs
@dexternepo
@dexternepo 2 күн бұрын
Will this work on Linux?
@soheilpakgohar6630
@soheilpakgohar6630 Ай бұрын
awesome
@cb73
@cb73 Ай бұрын
Sincere question: who has this problem now days? I haven’t worried about editing proper html in what seems like decades. Every good editor now has good linting.
@D_bugit
@D_bugit Ай бұрын
Actually this already exist in kotlin
@Goktug-sx6fm
@Goktug-sx6fm Ай бұрын
you lost me at html language lol
@LevitskiSRGE
@LevitskiSRGE Ай бұрын
Build yout next Crysis in Php!
@huynhlong350
@huynhlong350 Ай бұрын
Backend next so i can do full stack iOS with swift only haha
@arjundureja
@arjundureja Ай бұрын
You can already do this with Vapor
@huynhlong350
@huynhlong350 Ай бұрын
@@arjundureja wow didnt know that, thanks brother
@takasurazeem
@takasurazeem Ай бұрын
I would love it if we could develop an Android app using Swift...
@pookiepats
@pookiepats Ай бұрын
Yes! Yess!! Yessss!!!! Eat it Rust. Eat it Go. Eat it C. Eat it Ada. Eat it Nim. Eat it C trash trash. Eat it OCAML. Eat it Zig. Eat it Crystal. Eat it Elixir. Eat it Erlang. Eat it Clojure. Eat it Scala. Eat it C#. Eat it Objective-C. Odin, V-y’all are cool.
@pookiepats
@pookiepats Ай бұрын
This is actually a list of my favorite languages
@user-sr4ih1zt5s
@user-sr4ih1zt5s Ай бұрын
for somehow, it looks like react.
@Michael-Martell
@Michael-Martell Ай бұрын
I’m just waiting for Swift Next.JS. I’m gonna be on that like a fat kid in a candy store…
@neneodonkor
@neneodonkor Ай бұрын
2:26 The Swift way of doing it looks awkward to me.
@gcelite36
@gcelite36 Ай бұрын
JavaScript and Swift seem pretty similar, so it’d be natural to expand Swift’s capabilities into the web realm
@tylerfrydenlund
@tylerfrydenlund Ай бұрын
Im sorry what. Javascript and Swift couldnt be more different. One is a strongly, statically typed language, designed for a specific use case of building beautiful UI in a close ecosystem. And the other is a dumpster fire that the internet runs on. The only similarity between the two, is that they are programming languages
@gcelite36
@gcelite36 Ай бұрын
@@tylerfrydenlund do you know what the word “seem” means?
@arjundureja
@arjundureja Ай бұрын
@@tylerfrydenlund Swift is not designed specifically for building UI. It's general purpose like JavaScript, Python, Java, etc. You might be confusing Swift with the SwiftUI framework
@REDCoder-xs6pw
@REDCoder-xs6pw 28 күн бұрын
😵‍💫
@ShaqarudenGames
@ShaqarudenGames Ай бұрын
Damn, it had to be bootstrap….
@Rychillie
@Rychillie Ай бұрын
As a web developer moving to iOS and I say, Bootstrap is outdated and cumbersome! I would go with Tailwind, but all these tools are really cool!
@tis5yoab
@tis5yoab Ай бұрын
It reminds me of a Java JSP 🙂
@rickdg
@rickdg Ай бұрын
And then stick it in a webview of your mobile app 😂
@arturo7392
@arturo7392 Ай бұрын
It feels to me that it brings more new stuff to learn without guarantee of scalability for a big project. I’m not learning something new for the sake of wasting time. I would just stick to typescript and react for now. It needs more work
@smithshaw1151
@smithshaw1151 Ай бұрын
Bad idea. HTML is simple enough to learn
@herosova
@herosova Ай бұрын
ultimately it will end up becoming html then why bother with this so much layers
@twostraws
@twostraws Ай бұрын
This is literally answered in the video, and more than once 🤷‍♂️
@herosova
@herosova Ай бұрын
@@twostraws i never thought you would reply
@ioscaleb
@ioscaleb Ай бұрын
Code will ultimately become machine code anyway, why bother with a high level language?
@cubanlincoln1767
@cubanlincoln1767 Ай бұрын
Just another try of replace classic html that will fail soon
@ali-dp7wr
@ali-dp7wr Ай бұрын
I don't think it's going to be successful.
@smithshaw1151
@smithshaw1151 Ай бұрын
Let’s get rid of build steps people. Just learn HTML
@farrenzoroqueez
@farrenzoroqueez Ай бұрын
As a human that abhorres HTML, I have to say, this is truly an abomination. You must repent for such sacrilegious actions.
Python vs Swift | Chris Lattner and Lex Fridman
11:16
Lex Clips
Рет қаралды 149 М.
Making it Rain - Advanced Special Effects with SwiftUI
29:16
Paul Hudson
Рет қаралды 14 М.
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 2,3 МЛН
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 8 МЛН
Haha😂 Power💪 #trending #funny #viral #shorts
00:18
Reaction Station TV
Рет қаралды 15 МЛН
Swift 5.9 Released | Prime Reacts
14:36
ThePrimeTime
Рет қаралды 63 М.
I built my own WEBSITE BUILDER and you can do it too !
6:23
Raj talks tech
Рет қаралды 14 М.
Build a stretchy header with SwiftUI on iOS 18
6:45
donny wals
Рет қаралды 1,1 М.
Swift in 100 Seconds
2:25
Fireship
Рет қаралды 736 М.
Python vs Swift | Prime Reacts
19:44
ThePrimeTime
Рет қаралды 70 М.
`const` was a mistake
31:50
Theo - t3․gg
Рет қаралды 124 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 915 М.
M4 Deep Dive - Apple's First Armv9 Processor
15:20
Gary Explains
Рет қаралды 120 М.
How I designed Jetpack Joyride
41:15
Luke Muscat
Рет қаралды 1,4 МЛН
Low Price Best 👌 China Mobile 📱
0:42
Tech Official
Рет қаралды 719 М.