the-moisrex / webpp

C++ web framework | web development can be done with C++ as well.
https://t.me/webpp
MIT License
128 stars 9 forks source link

IDNA: Internationalizing Domain Names for Applications #487

Open the-moisrex opened 8 months ago

the-moisrex commented 8 months ago

I hate dealing with Unicode. It's just too much work!

Link to the UTS

the-moisrex commented 8 months ago

Folder structure?

the-moisrex commented 8 months ago

ChatGPT Response 😆

Based on the existing folders and the specific context of IDNA (Internationalizing Domain Names for Applications), here's a suggested folder structure:

- application/
- async/
- beast/
- cgi/
- common/
- concurrency/
- configs/
- convert/
- crypto/
- db/
- extensions/
- fcgi/
- http/
- hub/
- io/
- ip/
- json/
- libs/
- logs/
- main.hpp
- memory/
- socket/
- std/
- storage/
- strings/
  - unicode/
    - idna/
- time/
- traits/
- uri/
  - idna/
- utils/
- validators/
- version.hpp
- views/

In this structure, the folders are organized to accommodate the IDNA-related code and maintain consistency with the existing folder structure. The "strings" folder contains a subfolder "unicode," which further has a subfolder "idna" for IDNA-specific code related to string manipulation. Similarly, the "uri" folder has a subfolder "idna" for IDNA-related code specific to URI handling.

It's important to note that this is a suggested structure based on the limited information provided. The actual folder structure may vary depending on the specific needs and conventions of your project or organization.