CppCon 2018: Yu Qi “Feather: A Modern C++ Web Development Framework”

Поділитися
Вставка
  • Опубліковано 28 лип 2024
  • CppCon.org
    -
    Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/CppCon/CppCon2018
    -
    We will discuss how to implement a rapid web development framework in Modern C++, paying attention to ease-of-use and comparing favorable with frameworks of other lanuages.
    The Feather framework is composed of four cool libraries working together. These libraries are:
    *) cinatra, a flexible and powerful http/websocket library providing web services. It supports a functional interface and Aspect-Oriented Programming (AOP) for web applications.
    *) ormpp, an Object-relational mapping (ORM) library that provides a single interface for database access. It currently supports MySQL, PostgresSQL, and SQLite and can be extended to support other databases.
    *) render, a HTML template rendering library.
    We’ll cover how these libraries work together to implement that Feather framework and how to use Feather to develop a web application rapidly.
    -
    Yu Qi, oneflow
    Technical Director
    Yu is a C++ programmer with 10 years experience who lives in Zhuhai, Guangdong province, China. He loves modern C++ and has founded an open source community ( www.purecpp.org/ ) to promote C++11/14 in China. His focus is distributed systems and he is the author of rest_rpc, an RPC library implemented in C++14. Yu's github is github.com/qicosmos . Yu wrote a Chinese language book about C++11 in 2015: item.jd.com/11701870.html The title translates as "C++11 In Depth."
    -
    Videos Filmed & Edited by Bash Films: www.BashFilms.com *-----*
    Register Now For CppCon 2022: cppcon.org/registration/
    *-----*

КОМЕНТАРІ • 32

  • @randy6710
    @randy6710 2 роки тому +1

    Great job, lots of potential as a lightweight web framework in pure modern cpp.

  • @esjay3562
    @esjay3562 5 років тому

    Looks very interesting. I will give it a try...

  • @mikael5743
    @mikael5743 5 років тому +1

    Feather is awesome!

  • @rafaellcustodiogmail
    @rafaellcustodiogmail 5 років тому +3

    Hi, please make a cookbook or something for newbies/intermediates...Your framework look awsome

  • @SandburgNounouRs
    @SandburgNounouRs 5 років тому +2

    You missed Wt c++ framework www.webtoolkit.eu/wt
    Video of presentation here : archive.fosdem.org/2018/schedule/event/web_development_in_c/

  • @Curocko
    @Curocko Рік тому

    This is an old video but this is pleasant and nice. The cmments here were a little rude.

  • @rajaravivarmar
    @rajaravivarmar 5 років тому +9

    Thank you. BTW I am huge fan of cinatra. But I felt the only drawback is lack of English documentation.

    • @qicosmos4135
      @qicosmos4135 5 років тому +6

      I will add English documentation soon.

    • @rajaravivarmar
      @rajaravivarmar 5 років тому

      @@qicosmos4135 awesome 🙂

  • @initfunction6961
    @initfunction6961 2 роки тому +1

    I want to make REST API with C++ and use Vue Js for frontend.

  •  5 років тому +4

    Feather looks really interesting, but the total lack of any English resources for it is a bummer.

    • @qicosmos4135
      @qicosmos4135 5 років тому +7

      I will add English documentation soon.

    • @lserranoit
      @lserranoit 3 роки тому

      @@qicosmos4135 I can help you with spanish doc if you need it.

  • @ogunleyepius4299
    @ogunleyepius4299 5 років тому +1

    This is great I will try it now, but you didn't talk about parsing HTTP query data

    • @qicosmos4135
      @qicosmos4135 5 років тому +2

      Yes, because it's a trivial and i'm not sure it the audience want it. Indeed i use picohttpparser to parse http request.

  • @warrenbuckley3267
    @warrenbuckley3267 5 років тому +1

    I'm wondering if I could use this framework to build a wasm spa application. Edit: This framework looks cool but it needs English documentation

  • @abusarimshahbaz
    @abusarimshahbaz 5 років тому

    Awesome. I would like to try it for building restful Apis. Any idea how to integrate swagger?

    • @htpcbOasisSAMDF
      @htpcbOasisSAMDF 4 роки тому +1

      medium.com/oatpp/c-oatpp-web-service-with-swagger-ui-and-auto-documented-endpoints-1d4bb7b82c21

    • @htpcbOasisSAMDF
      @htpcbOasisSAMDF 4 роки тому

      do you have another framewrok for this propouse ?

  • @wrightleftify
    @wrightleftify 5 років тому +2

    Seems like he missed a great C++ web framework, Wt (or Witty). I've used it to create a dashboard web application and it worked pretty good. It is modeled on Qt. So if you've made an application using that, you're already ahead of the game.

    • @andik70
      @andik70 5 років тому

      Wt has gpl and commercial licensing. This might not always fit your requirements. This library (as far as I can tell) is MIT license. For you, this might not make a difference, for me it does.

  • @technolizard2280
    @technolizard2280 5 років тому

    How good compared to python django ?

  • @IvanGeorgiev
    @IvanGeorgiev 5 років тому +3

    Looks interesting but i don't speak or read Chinese. All the documentation and communication in github is in Chinese. If you don't enforce English everywhere you'll get zero adoption outside China.

  • @venleryin3031
    @venleryin3031 5 років тому

    feather or feature ?

  • @alexandersantosablaza7033
    @alexandersantosablaza7033 2 роки тому

    This looks like c# entity framework

  • @sergeiromanoff
    @sergeiromanoff 5 місяців тому

    c++ is the wrong language for the task

  • @DJOverlast
    @DJOverlast 5 років тому

    Ah finally I can stop using xanax to fall asleep because i found this video.