vonH

vonH

What libraries do Elixir and Erlang use for web development with CGI and FastCGI?

What libraries do Elixir and Erlang use for web development with CGI and FastCGI?

If you wish to know it is for shared hosting services which use CGI and FastCGI. VPSs and dedicated servers are not in use here.

Thanks

Most Liked

OvermindDL1

OvermindDL1

You could probably make a simple escript to act as a FastCGI endpoint (I’d not recommend CGI as it would reload the BEAM VM on every-single-request). The spec is certainly simple enough that libraries are not really needed at all.

But why though? You will be losing out on a huge amount of features and speed by doing that… o.O

vonH

vonH

People don’t hold domain names for that long, there are copies at Github and MitEdu at least they should be there until Github expires or the owners delete them.

benwilson512

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

I completely understand this motivation. However, I’m unclear on why cgi or fast_cgi are seen as the basics. They’re older, that’s for sure, but they aren’t particularly basic or fundamental to web interactions. They certainly don’t form the basics that underly how something like Erlang works.

Last Post!

alishir

alishir

Hi all, I’m seeking a way to integrate a basic Erlang app with Apache2 via the FastCGI protocol. I’ve explored ex_fcgi but it doesn’t seem suitable for this task. I discovered that Erlang has an FCGI socket type. Do you have any insights on how I can integrate an Erlang app with Apache2 using the FastCGI communication protocol? I’m looking for an Erlang equivalent to fcgiwrap + Perl’s FCGI.

Where Next?

Popular in Questions Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

Other popular topics Top

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44139 214
New

We're in Beta

About us Mission Statement