Build your next website in Swift

Sdílet
Vložit
  • čas přidán 17. 05. 2024
  • 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
  • Věda a technologie

Komentáře • 106

  • @dj_256
    @dj_256 Před měsícem +6

    My man did the thing I've been waiting for for years. Im getting emotional rn

  • @milanlabus1582
    @milanlabus1582 Před 13 dny +1

    We love this kind of content diving into the more niche areas of SwiftUI, Id love to see more Mapkit videos

  • @artemyvolkov
    @artemyvolkov Před měsícem +1

    Amazing! Simple and so clever! Thanks so much, Paul, learning every time!

  • @Stricken174
    @Stricken174 Před měsícem

    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 Před měsícem +11

    First time I am interested in web development. Thanks Paul :)

  • @codingraph
    @codingraph Před měsícem +3

    Watching this video on my way to Japan, so well done !

  • @tdrg_
    @tdrg_ Před měsícem +1

    Never thought I’d see this day. Awesome!

  • @ioscaleb
    @ioscaleb Před měsícem +4

    Paul Hudson you are a mad genius. Great ideas, great video.

  • @ValentinaRotari-ii7hw
    @ValentinaRotari-ii7hw Před 15 dny +1

    That is a great work done! Thank you! And hope to see some clips from you on building web sites using Ignite!

  • @fruitduck2094
    @fruitduck2094 Před měsícem +1

    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

  • @swiftandtips
    @swiftandtips Před měsícem +4

    Awesome video Paul! I will try it out for my new blog, thank you! (And great explanation of Result builders 👏🏻)

  • @will.gallegos
    @will.gallegos Před měsícem +5

    Aye what!? Never thought that this would ever be a thing...
    Im going to start as soon as I can...

  • @iOSnick
    @iOSnick Před měsícem +1

    Paul, You're The Best! I'am gonna try it!

  • @knightandlord
    @knightandlord Před 11 dny

    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  Před 6 dny

      I’m glad you enjoyed the video! Building with Swift is a lot of fun 🙂

  • @akbar_logs
    @akbar_logs Před měsícem +2

    Amazing work. Lot of thanks.

  • @mohammadnej7029
    @mohammadnej7029 Před měsícem +2

    Such a nice job bro! Job well done 😮🎉

  • @willchiu4418
    @willchiu4418 Před měsícem +1

    I usually don’t leave comment, but you get my attention. Well Done Man 👍🏻

  • @vsramakrishnarajukanumuru9586
    @vsramakrishnarajukanumuru9586 Před měsícem +1

    This is awesome idea. I was thinking about this while learning 100 days swift project on embabed html in swift.

  • @arjundureja
    @arjundureja Před měsícem +5

    Very cool! Could this be used with Vapor to dynamically generate HTML pages entirely in Swift?

  • @TeddRod-jh3lb
    @TeddRod-jh3lb Před měsícem +1

    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 ?

  • @typicaltype2608
    @typicaltype2608 Před měsícem +2

    this is so sick man

  • @anmolrajpalofficial
    @anmolrajpalofficial Před měsícem +2

    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!

  • @LeBojo
    @LeBojo Před 29 dny

    That's looks insane!

  • @AioriaPoderoso
    @AioriaPoderoso Před měsícem +1

    This is amazing I will defenitly switch from dart to swift

  • @stevepottz111
    @stevepottz111 Před měsícem +8

    This is cool. This is one step closer to freeing me from the JS ecosystem.

    • @RA-xx4mz
      @RA-xx4mz Před měsícem +1

      Htmx gang wuz here

    • @langahoohlo6695
      @langahoohlo6695 Před měsícem

      Is it better to be an apple eco system compared to js

    • @stevepottz111
      @stevepottz111 Před měsícem

      @@langahoohlo6695 Facts

    • @Red00022
      @Red00022 Před měsícem

      @@langahoohlo6695believe it or not. It really is.

  • @goranbla
    @goranbla Před měsícem +1

    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 Před měsícem

      and of course, coming up with an idea doesn't mean much until you create a repo 💪

  • @techanthrop
    @techanthrop Před měsícem

    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.

  • @atanasnachkov4030
    @atanasnachkov4030 Před měsícem +1

    Thank you!

  • @takumuguti
    @takumuguti Před měsícem

    Wow this is amazing 🙌🏾🔥🔥🔥

  • @mayankbhaisora2699
    @mayankbhaisora2699 Před měsícem

    More power to Swift

  • @danieldonaldson8634
    @danieldonaldson8634 Před měsícem

    And is this adaptable to Vapor, or similar Swift based web frameworks for dynamic HTML?

  • @JasonJurotich
    @JasonJurotich Před 14 dny

    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...

  • @ayopringle
    @ayopringle Před měsícem

    this is amazing

  • @nasir519
    @nasir519 Před měsícem

    At the moment I needed a way to develop a static website for my brand, just curious how does ignite helps with SEO ?

  • @user-dx3hm7sm6j
    @user-dx3hm7sm6j Před měsícem

    Awesome!🎉

  • @sabata657
    @sabata657 Před měsícem

    great job

  • @Abdullah-zl9ub
    @Abdullah-zl9ub Před měsícem

    I never knew it was possible to build a website using swift. Is it done in Xcode? Does swiftUI work?

  • @cbbcbb6803
    @cbbcbb6803 Před měsícem

    Could this be done in any programming language?

  • @karlostj4683
    @karlostj4683 Před měsícem

    "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.

  • @__Imran__
    @__Imran__ Před měsícem +1

    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. 💌

  • @user-vj4st2gd4i
    @user-vj4st2gd4i Před měsícem +2

    Incredible….

  • @timotejmatlak4625
    @timotejmatlak4625 Před měsícem

    What a great news 😎

  • @maciejtrybilo
    @maciejtrybilo Před 28 dny

    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.

  • @adp989
    @adp989 Před dnem

    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...

  • @garanceadrosehn9691
    @garanceadrosehn9691 Před měsícem

    Impressive.

  • @AndyJMacLeod
    @AndyJMacLeod Před 3 dny

    Would this make it easier to make a web app from an iOS app?

  • @tazman7689
    @tazman7689 Před měsícem

    Can you publish to GitHub pages?

  • @Xcoder
    @Xcoder Před měsícem +2

    👍🏻

  • @EricMasiello
    @EricMasiello Před měsícem

    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 Před měsícem

      Looks like it’s for static html only

    • @twostraws
      @twostraws  Před měsícem +3

      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 Před měsícem

      @@twostraws it’s a super cool idea

  • @vimalgorvadia
    @vimalgorvadia Před měsícem

    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.

  • @AnandKumar-oc2nv
    @AnandKumar-oc2nv Před 19 dny

    Amazing Video. Can you create video how to publish the site?

  • @soheilpakgohar6630
    @soheilpakgohar6630 Před měsícem

    awesome

  • @AlanRick26
    @AlanRick26 Před měsícem

    I just don’t understand how/where to host the SwiftUI platform. I don’t think that my hosting service provides this.

  • @Goku61001
    @Goku61001 Před měsícem

    Blazor?

  • @datping7377
    @datping7377 Před měsícem

    It’s really nice but will it solves all the html related problems at the beginning?

    • @datping7377
      @datping7377 Před měsícem

      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?

  • @cb73
    @cb73 Před 22 dny

    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.

  • @LevitskiSRGE
    @LevitskiSRGE Před měsícem

    Build yout next Crysis in Php!

  • @vollmerama
    @vollmerama Před měsícem

    dont already have react and nextjs?

    • @infantfrontender6131
      @infantfrontender6131 Před měsícem +1

      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

  • @takasurazeem
    @takasurazeem Před měsícem

    I would love it if we could develop an Android app using Swift...

  • @huynhlong350
    @huynhlong350 Před měsícem +1

    Backend next so i can do full stack iOS with swift only haha

    • @arjundureja
      @arjundureja Před měsícem

      You can already do this with Vapor

    • @huynhlong350
      @huynhlong350 Před měsícem

      @@arjundureja wow didnt know that, thanks brother

  • @Goktug-sx6fm
    @Goktug-sx6fm Před měsícem +4

    you lost me at html language lol

  • @gcelite36
    @gcelite36 Před měsícem +2

    JavaScript and Swift seem pretty similar, so it’d be natural to expand Swift’s capabilities into the web realm

    • @tylerfrydenlund
      @tylerfrydenlund Před měsícem +1

      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 Před měsícem

      @@tylerfrydenlund do you know what the word “seem” means?

    • @arjundureja
      @arjundureja Před měsícem +2

      @@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

  • @pookiepats
    @pookiepats Před měsícem

    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 Před měsícem

      This is actually a list of my favorite languages

  • @Michael-Martell
    @Michael-Martell Před měsícem

    I’m just waiting for Swift Next.JS. I’m gonna be on that like a fat kid in a candy store…

  • @D_bugit
    @D_bugit Před měsícem

    Actually this already exist in kotlin

  • @smithshaw1151
    @smithshaw1151 Před 29 dny +1

    Bad idea. HTML is simple enough to learn

  • @user-sr4ih1zt5s
    @user-sr4ih1zt5s Před 22 dny

    for somehow, it looks like react.

  • @neneodonkor
    @neneodonkor Před měsícem

    2:26 The Swift way of doing it looks awkward to me.

  • @REDCoder-xs6pw
    @REDCoder-xs6pw Před 20 dny

    😵‍💫

  • @ShaqarudenGames
    @ShaqarudenGames Před měsícem +1

    Damn, it had to be bootstrap….

  • @Rychillie
    @Rychillie Před měsícem

    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 Před měsícem

    It reminds me of a Java JSP 🙂

  • @rickdg
    @rickdg Před měsícem

    And then stick it in a webview of your mobile app 😂

  • @herosova
    @herosova Před měsícem +1

    ultimately it will end up becoming html then why bother with this so much layers

    • @twostraws
      @twostraws  Před měsícem +1

      This is literally answered in the video, and more than once 🤷‍♂️

    • @herosova
      @herosova Před měsícem +1

      @@twostraws i never thought you would reply

    • @ioscaleb
      @ioscaleb Před měsícem

      Code will ultimately become machine code anyway, why bother with a high level language?

  • @arturo7392
    @arturo7392 Před měsícem

    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

  • @cubanlincoln1767
    @cubanlincoln1767 Před měsícem

    Just another try of replace classic html that will fail soon

  • @ali-dp7wr
    @ali-dp7wr Před měsícem +1

    I don't think it's going to be successful.

  • @smithshaw1151
    @smithshaw1151 Před 29 dny

    Let’s get rid of build steps people. Just learn HTML

  • @farrenzoroqueez
    @farrenzoroqueez Před měsícem

    As a human that abhorres HTML, I have to say, this is truly an abomination. You must repent for such sacrilegious actions.