Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fmontesi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
1.
▲
by
fmontesi
2mo ago
This question is in fact core to research in the paradigm. Let me first address how it works and then the expressivity question. A choreographic programming language features programming abstractions for programming communication intent. Fo
2.
▲
by
fmontesi
5y ago
Indeed, one of the nicest aspects of Jolie is that you can (semi-)automatically extract the definition of the infrastructure that you need from your code. An example of a preliminary application that you might find interesting: https:/
3.
▲
by
fmontesi
5y ago
I was indeed talking about implementation models, in particular models of service-oriented systems. These are usually formulated in terms of services, DTOs, APIs, business logic, etc., hence the value brought by Jolie in giving a direct syn
4.
▲
by
fmontesi
5y ago
In a nutshell: because we want to minimise code <-> model distance. Other languages make you program in terms of functions, objects, etc., and make yourself model services by using these concepts. In Jolie, you write code that maps di
5.
▲
by
fmontesi
5y ago
It's Jolie as in pretty, not as in Angelina. But I don't wanna stop you from making all these languages... (o:
6.
▲
by
fmontesi
5y ago
IIRC, in industry, there is at least one big system with 50-ish microservices that includes electronic invoices. (See https://www.conf-micro.services/2019/papers/Microservices_20... ) At our place, we have a few we
7.
▲
by
fmontesi
5y ago
Cool project, I'll check it out.
8.
▲
by
fmontesi
5y ago
Thanks for the kind words, I'll share them with the rest of the team.
9.
▲
by
fmontesi
5y ago
Yeah, we have SOAP because... SOAP (just because of interoperability). Our SOAP is quite palatable at least, because of reduced boilerplate. AFAIK Jolie devs don't typically use it (I don't at least), unless it's really neces
10.
▲
by
fmontesi
5y ago
PS: We support integration with Java, so you hack your way around this by using some Java code for grpc, but it doesn't feel "native" and require some boilerplate.
11.
▲
by
fmontesi
5y ago
Jolie and SODEP predate grpc, so we don't have grpc just because we had no need for it (we already had a binary protocol with expressive interfaces). It's definitely something we'll get around doing sooner or later though, si
12.
▲
by
fmontesi
5y ago
Sure does. Jolie applications can be containerised like any other. See here for Docker and Kubernetes: https://docs.jolie-lang.org/v1.10.x/language-tools-and-stand... It's also been tested with Azure Functions (se
13.
▲
by
fmontesi
5y ago
Woah, so this happened. Maintainer here. I'll do my best to reply to all questions/doubts that get posted about an hour from now, since there is some valid feedback and there are some good questions in here.
14.
▲
by
fmontesi
8y ago
Here's also Github. It's resource-oriented instead of verb-oriented (like Telegraph), so we use Jor instead of Jo (both are provided by the same library). Jor["users/fmontesi/repos"].get().then( response =>
15.
▲
by
fmontesi
8y ago
By the way, here's the Telegraph API documentation, for reference: https://telegra.ph/api What I wrote in my reply refers to that.
16.
▲
by
fmontesi
8y ago
I can give you one by reusing a bit the Telegraph example I have in the Jo tutorial: http://fmontesi.github.io/2018/08/16/jo.html To create an account: Jo.createAccount( { shortName: "Homer" } ) .th
17.
▲
by
fmontesi
8y ago
A small library I made for fun. It's very early stage and I wanted to keep things simple, so it does not use any other established libraries (yet).
18.
▲
Show HN: Invoking web APIs as if they were JavaScript methods
(github.com)
14 points
by
fmontesi
8y ago
|
7 comments
19.
▲
by
fmontesi
12y ago
What we can do right now is having a microservice for input validation and call it when we need to validate something, both from the client and the server parts. In Jolie, adding calls to a validator for all functionalities exposed by a mic
20.
▲
by
fmontesi
12y ago
Leonardo is almost production ready, we usually just add some lines to tune the caching parameters as needed. This is the code for the Jolie website if you're curious about an example: https://sourceforge.net/p/jol
21.
▲
by
fmontesi
12y ago
It looks like another interesting difference may come from the workflow primitives (e.g., sequence, parallel, input choice) that Jolie comes with.
22.
▲
by
fmontesi
12y ago
I would be very interested in seeing a comparison with gen_server, it looks interesting. Embedding in Jolie looks like a language primitive implementing something that resembles some of the ideas found in supervision trees. AFAIK, dynamic f
23.
▲
by
fmontesi
12y ago
Thanks, I get it now. If you use Jolie for implementing MVC, then every component is automatically a microservice (by construction from the language) and you can reuse them very easily in Jolie, Java, and Javascript inside of web browsers.
24.
▲
by
fmontesi
12y ago
Short answer: we usually don't use SOAP unless it is strictly necessary in your system. We have simpler and/or more efficient protocols. Long answer: We do not use SOAP when it is not strictly necessary. Most Jolie programs use SO
25.
▲
by
fmontesi
12y ago
It may be the late hour here (CET), but I only kinda understood your question. What do you mean by "I can't replicate my model logic in my node services" ?
26.
▲
by
fmontesi
12y ago
Another thing: the fact that it is imperative does not mean that we suffer from all the side effects. You cannot share data among different microservices, you must use communications (if you need performance, communications can be in-memory
27.
▲
by
fmontesi
12y ago
Maybe this is a good hint that we should clarify this in the footer. :)
28.
▲
by
fmontesi
12y ago
Right, excellent question. We should put something in the FAQ. It's going to take some time to answer properly, but here are some initial pointers. Note that while I know Erlang academically I am definitely not an expert, so feel free
29.
▲
by
fmontesi
12y ago
We are in the process of moving to github, but it is not a high priority right now and we have so many things to reconfigure in our servers that it is not going to happen until March at the earliest. Meanwhile you can use svn: svn co svn:&#
30.
▲
Show HN: Jolie – The First Programming Language for Microservices
(jolie-lang.org)
64 points
by
fmontesi
12y ago
|
37 comments
More ›