zeki

zeki

Hi all,
I’m new to Elixir world and I’ve been learning Erlang and Elixir for a while. I couldn’t find clear answers on the net and I wanted to ask my question in this specific forum. I believe that the experienced developers should give the clear answer :grinning:

Can native apps be developed with Phoenix? Is it a serious rival for React/React Native (well, I think it is, but couldn’t be sure)?

Thanks
Zeki

Showing Posts 1 to 7

jeremyjh

jeremyjh

Phoenix is a framework for developing webservers. It works great as the back-end to a native/mobile application, but you’d need to write the client with something else (like React Native).

Erlang in general doesn’t have much to offer mobile developers. There were some experimental ports to iOS and Android years ago, but nothing nearly production-worthy.

For desktop there are some options, wx is a wx widgets binding that ships with Erlang core, but this has mostly been used for building management tools not user applications.

zeki

zeki OP

Dear jeremyjh,
Thank you for your reply, I got the point clearly.

wanton7

wanton7

I’ve read some articles about this in context of serveer side Blazor (now named to Razor Components) that is similar tech ot LiveView. There was experiment to use it with Electron and it seems to work great. Here is blog post from creator of Blazor related to future of Blazor in this space Exploring lighter alternatives to Electron for hosting a Blazor desktop app
I can’t see why you couldn’t use Elixir & LiveView to do similar thing for desktop apps at least.

wanton7

wanton7

Also there is GitHub - GetFirefly/firefly: An alternative BEAM implementation, designed for WebAssembly · GitHub that will be enable Elixir & Erlang to build web client side apps and single executable command line tools. Maybe that can extend to desktop and mobile apps in the future who knows.

zeki

zeki OP

This looks nice wanton, I’ll keep checking it. Thank you. For now, I decided to learn Svelte.js for client side. I have found React and other libraries/frameworks very awkward.

wanton7

wanton7

You should check Absinthe for creating GraphQL API if you haven’t already. Seems to be very good GraphQL implementation for Elixir and I think it’s used quite alot in production by different companies. GitHub - absinthe-graphql/absinthe: The GraphQL toolkit for Elixir · GitHub

outlog

outlog

down the line you could see a “app wrapper”/API for phoenix liveview similar to what GitHub - turbolinks/turbolinks-ios: Native iOS adapter for building hybrid apps with Turbolinks 5 · GitHub does for turbolinks/rails - but hybrid style app - not native native..

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
kszambelanczyk
Hello! Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app. I creat...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
ryanwinchester
apply_graft/2 doesn’t rewrite an add_many sub-workflow’s deps on an add step. Grafted jobs cancel with “upstream job was deleted” Version...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews