Saying 'hi', just joined this forum

Just saying a quick hello before I’m out for today.

I’ve been programming with Ada for a while but haven’t made projects with it until Alire.

I run a blog over at https://verdantspectre.dev/ and Ada is currently used for some of the backend features of my site.

So far I’m working on:

and some Ada code for an ESP32-S3.

Hope to meet you guys o/

Interesting; I did a whole bulletin board, probably about ten years ago, and if you’ll allow it, I have some design-tips I learned from it:

  1. The Indefinite_Multiway_Tree is excellent for a comemnt-format;
    1. Just remember that the Root is not “yours”, and everything that is is a child of “Root”. (IIRC: In my construction all top-level comments were children of Root, with replies being non-first children thereof [the first-child was the message-proper].)
  2. You can forgo the “Bobby Tables” problem by:
    1. Moving the formatting to a non-textual type (eg a tagged type w/ an enumeration for your formattings, with only Text having a variant payload)
      [eg Type Formatting is (Bold, Italic, […], Text);],
      [eg Type Comment_Node( Format : Formatting ) is abstract tagged Tree_Node with null record;]
    2. Using the tree structure to ensure/enforce good formatting [eg bold text is a text node under a bold node],
    3. Text nodes, the textual portions of the comment/post, are appropriately escaped [or rejected] on-generation/-creation.
  3. If you ever need another format, eg PDF, then this form allows you to use/add an To_PDF function alongside the To_HTML rendering function, eliminating the need to introduce things like an HTML-to-PDF dependency in the application.

Hi,

I did think of making a message board out of my web comments backend. It does seem like a message board would be a few adjustments away.

The other major change I’ve contemplated was offering the backend service to my friends. But I’m somewhat certain they would want a log-in (auth) to manage their blog posts, etc.

I had looked into AWS since AI recommended it and gave some starter code but it is deprecated:

So I’m not sure where to go from there.

I actually like AWS, and would recommend it.

There are several other solutions, though I can’t think of them off the top of my head. One thing to be cognizant of, though, is GNOGA [Link 1, Link 2] — while it can be used, is more of a UI-using-the-browser-as-a-viewport than it is “web solution”, at least as per its own design-philosophy.

I suppose I can build something with AWS still even though it’s deprecated.

(It sounds like I’d be screwed if a vulnerability was found. But given Ada’s theme, there might not be any?)

AWS is really good. Being deprecated here means that AdaCore will not support it. However it is an open source project and as such it will continue

Gnoga is the best choice for web applications.