Posts

Showing posts with the label web

Ada Web Server: Status page

One really nice feature of AWS is it's baked in support for server status information. It would be a simple to include all sorts of details of the running server for a custom dashboard, and there is also a ready made template for seeing many of those while the server is running. Status page documentation lists the values available and tells that you just need the aws_status.thtml template in place for you to see them. You can find a ready made example of that template in the sources of AWS. What the doc page doesn't say, is that you need to configure the feature a little. Have a configuration file for your server next to the executable, let's name it myserver.ini for example. In that file you need to have the following lines: Admin_URI /admin Admin_Password b6f40a2907436718ab246a4bc48e7fd8 There you have your admin page URL defined, relative to the server root address. Also be sure to set your password. Now you have to generate this password, and not ...

Ada web development

Almost the very first step of my Ada journey was to find a web framework for it. Ada is a general purpose programming language, even though often it's not seen as one. "Aviation industry language" is common association, or just something that runs in embedded space (and especially embedded stuff in space industry). Since everything is on Internet these days, it's quite natural to set the interface through the web. My default toolbox for it in Scala world is Lift . Would be wonderful to find a similar framework which would follow Lift's "View First" ideology. But at this stage, I'm happy to settle with any tooling I can find. JVM world and other popular language ecosystems are almost polluted by different web frameworks. Ada isn't so popular and there's much less to pick from. But I was positively surprised to find a couple of interesting projects. AWS No, not The Amazon thingie. Here AWS would stand for Ada Web Server . It is maint...