Embedded Web Server #2: HTTP Server
Вставка
- Опубліковано 27 вер 2024
- Embedded web server using mongoose.
In part 2, we go over the HTTP Server code required to set up a basic web server.
Mongoose Website: mongoose.ws
Mongoose Source Code: github.com/ces...
Your channel is one of the best for beginners. Please keep creating such extremely Informative content.
Holy shit you're back, please complete your stm series and do some practical stuff with it like motor control or something
hell yeah..... I am waiting too.
That code you mentioned not having seen before on line 4 is an example of designated initializer lists (a C99 feature that doesn't exist in C++). They're very convenient, especially when you want to fill out a large struct. You only need to designate the fields you care about, and the rest will be zero initialized. You can use them in a nested fashion as well, initializing fields of a struct which is itself a field of a higher struct.
oh, they're zero initialized and not just uninitialized? Regardless, I always love learning new things like this.
hope there’s more content like this on the way! super helpful for beginners like myself. wish there were more videos like this on the web.
I use VS code for html/css/javascript stuff, Notepad++ for most other things
Notepad++ Love the videos, keep making please.
I like to use GEANY editor.
Text editor : Neovim
An this is how a web server works under the hood
re: what editors?
* vim for everything single-file or one-off (terminal, not GUI; I do a *lot* of work from the terminal)
* VS Code for most larger projects
* Eclipse for Java projects
I wince every time you reach for the mouse to start your programs, instead of just e.g. typing ./mongoose.exe in the same terminal where you just ran make ;)
You're pretty similar to me. I usually use Vim (especially because I do a lot of work over SSH), but all the magic hotkeys and shortcuts are sometimes confusing for videos so I try to use more graphical editors and avoid shortcuts.
As this series goes on, I'll probably be doing more and more terminal based things depending on what kind of feedback I get.
could you teach me using https
more vids pls!
I'm using Atom editor.
vim and vscode (with vim keybindings)
I use vim btw
I use Microsoft word for all my coding
Manual syntax highlighting I presume?
@@MitchDavis2 😆 JK. Actually vs code for C and Python, vs for C#, jupyter notebooks for data&AI, intelliJIDEA for java and notepad++ rapid changes to different file formats
VS code
I use vim.
i like to use notepad
Great video! The only thing I'm wondering is how you can implement this on the microcontroller? Right now the page is served via mongoose right? Not by the controller. Or am I overseeing something 😅
GreetingS!!!! glad ur back
Thank you, Mitch, for this amazing video.
We really miss your videos, and I hope you could start making them again soon.
I use Emacs BTW :P
Excellent video... clearly explained. Hope you would produce more such videos.
Glad you're back :)
Thanks! It’s nice to have time to make videos again, and I’ve been trying to pick up some more professional recording equipment along the way
I use neovim as a text editor and terminal multiplxer
I use neovim (via the lunarvim)