Building Front-End Applications: Now Supported by Cloudflare Workers

Поделиться
HTML-код
  • Опубликовано: 20 янв 2025

Комментарии • 32

  • @CloudflareDevelopers
    @CloudflareDevelopers  3 месяца назад

    Update: The binding name is now 'assets'
    Example here developers.cloudflare.com/workers/static-assets/binding/#binding

  • @chillbro2275
    @chillbro2275 2 месяца назад

    As a very new developer to Cloudflare and web apps in general, I feel like this is a good thing, but I'm not really sure what Pages and Workers are really aiming to do, nor how to decided which features I need. But I appreciate the matrix you're included in responses below.

  • @bagfleet
    @bagfleet 3 месяца назад +1

    Neovim! Let's goo!

  • @laurentlahmy277
    @laurentlahmy277 3 месяца назад +6

    Is there a blog or documentation link to learn more?

    • @CloudflareDevelopers
      @CloudflareDevelopers  3 месяца назад

      You can find more info on the blog here
      blog: blog.cloudflare.com/builder-day-2024-announcements/#static-asset-hosting
      docs: developers.cloudflare.com/workers/static-assets/
      - Confidence

  • @reze_dev
    @reze_dev 3 месяца назад +8

    What about next js?

    • @farzadmf
      @farzadmf 3 месяца назад

      Exactly; same question!

    • @vinerz
      @vinerz 3 месяца назад

      I think it might be possible! People used Pages for next projects in the past. Maybe we won’t get the auto image manipulation because it requires libvips at compilation time, but the other features are feasible

    • @CloudflareDevelopers
      @CloudflareDevelopers  3 месяца назад

      IIt's all here developers.cloudflare.com/workers/frameworks/framework-guides/nextjs/
      - Confidence

    • @reze_dev
      @reze_dev 3 месяца назад

      So, all next js features are supported now with worker?

    • @jayng4028
      @jayng4028 3 месяца назад

      ​@reinhard_silaen Waiting for the reply for the same question too.

  • @gotxe
    @gotxe 3 месяца назад +10

    Maybe it's time to merge these products? It's becoming a mess 😢

    • @CloudflareDevelopers
      @CloudflareDevelopers  3 месяца назад +4

      We're certainly making things more streamlined 😄
      - Confidence

    • @AndreiGeorgescu-j9p
      @AndreiGeorgescu-j9p Месяц назад

      ​@@CloudflareDevelopersI don't get it. Isn't pages + pages functions already this idea

  • @zhuangdaz7388
    @zhuangdaz7388 3 месяца назад

    Is this new support more of client side rendering support? Because worker has already support server side rendering like using Hono to send html back via workers?

  • @Md_sadiq_Md
    @Md_sadiq_Md 3 месяца назад +4

    Please make a tutorial using next on pages with cloudflare workers something like a chat app

  • @shashydass4114
    @shashydass4114 3 месяца назад +1

    Is there a link to the Github repo that you mention in the demo? It would be nice to see some code.

    • @CloudflareDevelopers
      @CloudflareDevelopers  3 месяца назад

      Sure! Here's the source repo github.com/Rich-Harris/ematchi
      - Confidence

  • @Jodelurek
    @Jodelurek 3 месяца назад +1

    How would we bind durable objects?

    • @Jodelurek
      @Jodelurek 3 месяца назад +1

      localy

    • @CloudflareDevelopers
      @CloudflareDevelopers  3 месяца назад

      Same here developers.cloudflare.com/durable-objects/get-started/walkthrough/#5-configure-durable-object-bindings

  • @okaytomerge
    @okaytomerge 3 месяца назад

    How about a full stack app with Sveltekit?
    Great video, it does look as simple as a Vercel deployment.

  • @apvarun
    @apvarun 3 месяца назад

    How is this different from using pages with worker functions ?

    • @CloudflareDevelopers
      @CloudflareDevelopers  3 месяца назад

      Here's the difference developers.cloudflare.com/workers/static-assets/compatibility-matrix/
      - Confidence

  • @chiubaca
    @chiubaca 3 месяца назад

    So should we use Workers over pages instead now ?

    • @CloudflareDevelopers
      @CloudflareDevelopers  3 месяца назад

      This can help you decide developers.cloudflare.com/workers/static-assets/compatibility-matrix/
      - Confidence

  • @leaf_onthe_wind
    @leaf_onthe_wind 3 месяца назад +2

    Looking forward to mortgaging my house to pay for a DDOS attack on my 3 MAU hobby project.

  • @RedVelocityTV
    @RedVelocityTV 3 месяца назад +1

    Need a remix guide fella

    • @CloudflareDevelopers
      @CloudflareDevelopers  3 месяца назад

      Here you go developers.cloudflare.com/workers/static-assets/compatibility-matrix/
      - Confidence

    • @RedVelocityTV
      @RedVelocityTV 3 месяца назад

      @@CloudflareDevelopers 404