Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookbook : Web / simple HTTP client #2123

Closed
wants to merge 24 commits into from

Conversation

F-Loyer
Copy link
Contributor

@F-Loyer F-Loyer commented Feb 29, 2024

A very simple cookbook...

tmattio and others added 20 commits March 1, 2024 17:27
- URL we serve this under is docs/cookbook/[task slug]/[recipe slug]
- multiple recipes per task
- recipe page displays links to other recipes for the same task
…e controlled by learn_layout.eml and community_layout.eml
* Cookbook index : add encoding

* Cookbook encoding typos

* Add dune

* Update 00-camomile.md / remove tab

* Update 00-camomile.md / remove tab

* Update 00-camomile.md

* Apply suggestions from code review

Co-authored-by: Christine Rose <christinerose@users.noreply.github.com>

---------

Co-authored-by: Frederic LOYER <frederic.loyer@club-internet.fr>
Co-authored-by: Christine Rose <christinerose@users.noreply.github.com>
* Cookbook: add Sorting

* Update 00-stdlib.md / remove tabs

* Update 00-stdlib.md / remove tabs

---------

Co-authored-by: Frederic LOYER <frederic.loyer@club-internet.fr>
* Cookbook: text processing

* Cookbook: text processing (remove tabs)

* Cookbook: text processing (typo)

* Cookbook: text processing (typo)

* Cookbook: text processing (typo)

---------

Co-authored-by: Frederic LOYER <frederic.loyer@club-internet.fr>
* Cookbook : Database/ezsqlite

* Remove tabs

* Declare packages

* Indent error

* typo

* Update cookbook_categories.yml : fix folder name in cookbook_categories.yml

* Update cookbook_categories.yml - cookbook index fix

* Update 00-ezsqlite.md

---------

Co-authored-by: Frederic LOYER <frederic.loyer@club-internet.fr>
* Cookbook: add concurrency / Lwt

* Cookbook: add concurrency / Lwt - fix

* Cookbook: add concurrency / Lwt - fix

* Cookbook: add concurrency / Lwt - fix

---------

Co-authored-by: Frederic LOYER <frederic.loyer@club-internet.fr>
* Cookbook : Caqti and ppx_rapper

* Cookbook : Caqti and ppx_rapper - fix

* Cookbook : Caqti and ppx_rapper - fix

* Cookbook : Caqti and ppx_rapper - @ notation

* add query with WITH clause

* typo WITH/WHERE

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Frederic LOYER <frederic.loyer@club-internet.fr>
Co-authored-by: Frédéric LOYER <frederic.loyer@club-internet.fr>
Co-authored-by: Frédéric LOYER <frederic.loyer@club-internet.fr>
Copy link
Collaborator

@christinerose christinerose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few questions & suggestions

@samoht
Copy link
Member

samoht commented Mar 4, 2024

I'm not convinced that ocamlnet should be the framework recommended for new users. Is the goal to show all the existing frameworks? Or should we recommend one?

Co-authored-by: Christine Rose <christinerose@users.noreply.github.com>
@F-Loyer
Copy link
Contributor Author

F-Loyer commented Mar 4, 2024

I'm not convinced that ocamlnet should be the framework recommended for new users. Is the goal to show all the existing frameworks? Or should we recommend one?

But the convenience module of Ocamlnet is "convenient" - see the proposed snippet : 2 lines - (but quite basic). I have a Cohttp/Lwt snippet if it is prefered...

@tmattio
Copy link
Collaborator

tmattio commented Mar 5, 2024

I think ocamlnet is unmaintained and incompatible with OCaml 5, so I would also suggest not advertising it as a viable option in the Cookbook :)

Copy link
Collaborator

@cuihtlauac cuihtlauac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants