Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANN: Flying Carpet for Prolog

29 views
Skip to first unread message

j4n bur53

unread,
Jul 15, 2017, 10:05:18 PM7/15/17
to
Dear All,

This is just to announce that a new library
is in development from Hipster Inc. Its already
in testing phase, but not yet out because

the main developer is chilling in hawai. It
will consiste of mainly of a class ForeignHttp
which can be used in a Tomcat web.xml.(*)

The init parameters will tell the servlet
which Prolog text to load and the servlet
mapping in the web.xml which will tell

part of the website will be reserved for the
HttpServlet. The loaded Prolog text need then
to use a muti-file predicate to define the

finer dispatch (the extension fc is a short
cut for flying carpet):

http:dispatch('index.fc', home_page).
http:dispatch('form.fc', entry_form).

home_page(Request, Response) :- ...

entry_form(Request, Response) :- ...

The library comes with further predicates
to access requests and responses. There we
find for example:

% get_parameter(+Request, +Atom, -Atom)
% set_content_type(+Response, +Atom)
% send_redirect(+Response, +Atom)
% get_writer(+Response, -Write)

The writer can not only be used with all ISO write
predicates such as write/2 and write_term/3 but
also with additional write predicates such as

format/3 etc.. Nobody thought that this is
possible, but Hipster Inc. succeeded in this
break through.

Bye

(*) The new thingy will be bundled with
interpreter.jar , which you need to only drop
into the WEB-INF/lib folder of your web context.

j4n bur53

unread,
Jul 15, 2017, 10:14:35 PM7/15/17
to
A new user manual is also planned, which
shows from A-Z how an Ubuntu cloud server
could be deployed (in simple 4 main steps):

- how to install java
- how create a user tomcat
- how to unpack tomcat
- how configure start/stop scripts
- how setup netfilter

j4n bur53 schrieb:

burs...@gmail.com

unread,
Jul 16, 2017, 6:38:14 PM7/16/17
to
Shit, somebody stole my company name idea,
and its even a similar product:

Was ist JHipster?
Das Ziel des Projekts ist, in einer Webapp
serverseitig einen robusten Java Stack mit
Spring Boot zu kombinieren. Das Frontend soll
mit Angular und Bootstrap modern und schick
daher kommen. Außerdem nutzt JHiptser Yeoman.
Dabei handelt es sich um eine Produktivitäts-
Toolsuite, die sich aus einem Scaffolding-Tool
(yo), einem Build-Tool (Gulp.js) und einem
Package-Manager (Bower) zusammensetzt.
https://jaxenter.de/jhipster-4-0-erschienen-angular-2-support-und-migration-zu-yarn-52462

But they forgot the Prolog programming language.

Loosers!
0 new messages