Shelf Dart Tutorial | Compose Web Servers with ease

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

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

  • @ffylu2032
    @ffylu2032 3 года назад

    salute!Thanks share this video, I read the article about dart backend on medium and decide start use dart team framework. Now I get what am I should begin!!!!

  • @waltert9
    @waltert9 Год назад +1

    awesome stuff

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

    Please make a tutorial on a production grade backend with shelf.

  • @gnrslashsp6501
    @gnrslashsp6501 2 года назад

    Very well made! You've earned my subscription!

  • @Machiuka
    @Machiuka 4 года назад +3

    Thank you for your awesome tutorials. I set the reminder for this one. Thumbs Up Bro :)

  • @eviltpk
    @eviltpk 4 года назад +1

    Really great, looking forward to more. I have been mucking around with shelf for a bit, your reflections video was helpful in building an annotation implementation for it but then I found shelf router and I migrated to that instead. I think that the router package would help people with a java or node background

  • @erickbellizzi
    @erickbellizzi 9 месяцев назад

    I try giving pipeline handler to shelf.serve and gives this error: The argument type 'Pipeline' can't be assigned to the parameter type 'FutureOr Function(Request)'. I tried everything. Maybe they change so only accepts a cascade and pipeline beyng the 'middleware' feeded to route? I can't make cascade/router/pipeline to work together.

  • @mcgyverbasaya6748
    @mcgyverbasaya6748 Год назад

    Nice tutorial. but using shelf, i don't know how you connect multiple clients with shelf. websocket_universal wont work.

  • @samarshi19
    @samarshi19 4 года назад

    thank you for your awesome tutorials...... Is the process of connecting mongo to the shelf server same as of your previous video of httpserver with mongo?? if not can you make a short video about the same? also connecting the same to flutter app if possible

  • @DartMitai
    @DartMitai 4 года назад

    will there be a full course on the shelf as with aqueduct? the connection to the Oauth2 frontend can be gRPC?))
    aqueduct does not work in gRPC

  • @althafaralijaffarali1803
    @althafaralijaffarali1803 3 года назад

    Bro can you make a video on ci/cd. How updates are managed, what are the process involved and how to do it. If not please refer me some source for that. Thanks a lot!

  • @lamprospitsillou6325
    @lamprospitsillou6325 3 года назад

    Let's say i want to send media like pictures or any other file, how would i go about that?

  • @easazade
    @easazade 2 года назад

    is there anything similar to php like sessions out there to use? or how can we handle that?

  • @DartMitai
    @DartMitai 4 года назад

    but what about shelf_route, anything else about the shelf?

  • @sakethparimi7664
    @sakethparimi7664 4 года назад

    hould you use shelf over something like aqueducts or angel?

    • @CreativeBracket
      @CreativeBracket  4 года назад

      Depends on what you're building. Shelf is a "lighter" solution that handles web server composition pretty well and can also scale when combined with shelf_router. Aqueduct handles separation of concerns via classes and comes with some extras like their Postgres ORM and support for multithreading out of the box. Angel comes pre-packed with loads of plugins, but last I checked the author intended on deprecating it so you decide over the first two.

  • @aboutvic.
    @aboutvic. 2 года назад

    How would you serve html via https in dart?

    • @CreativeBracket
      @CreativeBracket  2 года назад

      Use HttpServer.bindSecure api.dart.dev/stable/2.16.1/dart-io/HttpServer-class.html

  • @ffylu2032
    @ffylu2032 3 года назад +1

    Toady when I try to use post method send a request, how can I get the parameters ?
    I find the way by myself var data = await request.readAsString();

  • @DartMitai
    @DartMitai 4 года назад +1

    More tutorial shelf

    • @CreativeBracket
      @CreativeBracket  4 года назад +1

      Brewing ideas for a shelf project, so bear with me it's coming...

  • @cecece775
    @cecece775 4 года назад +1

    Love you're channel ! Can you help me on PostgresSql with Angel ?

  • @GJJ2019
    @GJJ2019 4 года назад

    Can we make production ready APIs with it or with adequate

    • @CreativeBracket
      @CreativeBracket  4 года назад +1

      Yes you can make production ready apis. Could work as an approach to developing your own micro services. I would use it separately from Aqueduct however.

    • @IssamAlameh
      @IssamAlameh 4 года назад +1

      @@CreativeBracket This is awesome, if you want to make it production ready, how you can insure that it does not crash and that you can bring it up again?

    • @CreativeBracket
      @CreativeBracket  4 года назад

      @@IssamAlameh Ensure that you are following the recommended error handling practices dart.dev/guides/language/effective-dart/usage#error-handling And read up on Zones dart.dev/articles/archive/zones