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/
*-----*
Great job, lots of potential as a lightweight web framework in pure modern cpp.
Looks very interesting. I will give it a try...
Feather is awesome!
Hi, please make a cookbook or something for newbies/intermediates...Your framework look awsome
You missed Wt c++ framework www.webtoolkit.eu/wt
Video of presentation here : archive.fosdem.org/2018/schedule/event/web_development_in_c/
This is an old video but this is pleasant and nice. The cmments here were a little rude.
Thank you. BTW I am huge fan of cinatra. But I felt the only drawback is lack of English documentation.
I will add English documentation soon.
@@qicosmos4135 awesome 🙂
I want to make REST API with C++ and use Vue Js for frontend.
Feather looks really interesting, but the total lack of any English resources for it is a bummer.
I will add English documentation soon.
@@qicosmos4135 I can help you with spanish doc if you need it.
This is great I will try it now, but you didn't talk about parsing HTTP query data
Yes, because it's a trivial and i'm not sure it the audience want it. Indeed i use picohttpparser to parse http request.
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
I will add English documentation soon.
@@qicosmos4135 did you add?
Awesome. I would like to try it for building restful Apis. Any idea how to integrate swagger?
medium.com/oatpp/c-oatpp-web-service-with-swagger-ui-and-auto-documented-endpoints-1d4bb7b82c21
do you have another framewrok for this propouse ?
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.
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.
How good compared to python django ?
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.
feather or feature ?
Feather it is
you need to actually watch it
This looks like c# entity framework
c++ is the wrong language for the task
Ah finally I can stop using xanax to fall asleep because i found this video.
#Harsh