ykostov

ykostov

Hello devs!
I’m starting these day coding my own e-commerce platform, and so I have a few questions…
First of all, except the live-view, do Elixir have more pros (or cons)? The site will be used by approximate 5K per month (not sure at all) users, so is it good for this subject. As I have better knowledge in Rails, which lang is better for you? Are there any free open-sources in Phoenix (like Solidus and Spree in Rails)? Please, share your thoughts, I’d glad to view different opinions..

Best Regards,
YKostov

Showing Posts 1 to 10

al2o3cr

al2o3cr

“5K users” is not much information, but I don’t imagine Phoenix would have any trouble serving that load on reasonable servers.

An alternative question: what are your requirements that preclude an off-the-shelf solution (like Spree etc) or even a hosted approach?

“Show products and let users buy them” is a pretty well-covered problem space, but it takes a lot of work to build a clean and consistent user experience - work that you might not want to do over again without a good reason.

ykostov

ykostov OP

I’m sorry for the misunderstanding - Its “5k users per month”, post edited

ykostov

ykostov OP

Answering your question - of-the-shelf solutions like Spree will cover my requirements, but… I will certainly try to make my own app :slight_smile:

hauleth

hauleth

Using what you already know is often a great choice.

I am not aware of any. As Elixir is much younger language with more niche community, I wouldn’t bet that there are any “big” products like these though at present.

Exadra37

Exadra37

Not really. The Elixir community is well known to be upfront to tell when Elixir is not a good fit, and we have examples of that in this forum :slight_smile:

I am not aware of Spree, but Elixir already have some e-commerce stuff, and can be found on this forum:

Or this book by @shankardevy to build an e-commerce store form scratch:

dimitarvp

dimitarvp

LiveView is VERY FAR from being the biggest positive trait of Elixir.

Have you read on the OTP? The guarantees of a process being restarted if it crashes, for example?

ykostov

ykostov OP

That is so helpful, thank you all for your responses, I already have in mind some ideas, so thanks :slight_smile:

ykostov

ykostov OP

As a matter of fact - yes, I have. The question was rather what other advantages Phoenix has over Ruby (or others langs) in building an e-commerce. I’m sorry if anyone misunderstood me.. Thank you all for the replies, I already have my answers.

Sebb

Sebb

Elixir/Phoenix is very good in building complex software systems.
See the talks of Sasa Juric (“Solid Ground”, “The Soul of Erlang and Elixir”) - these are a must see when you are looking into Elixir.
Or this talk, where Rich Hickey (creator of closure) tries to not promote Erlang (but does) https://www.youtube.com/watch?v=ROor6_NGIWU
When I look at Spree Commerce Features | B2B, Marketplace & Cross-Border Commerce - this is surely a complex software system.

On the other hand you’ll maybe want to communicate with 3rd parties (eg payment) or want to reuse sth for the CMS and so on. You’ll find more in Rails world for those.

But obviously you are doing this for fun, I’m sure you’ll have more of that using Elixir than Ruby.

ykostov

ykostov OP

Thanks you for the reply and sharing the materials,
Btw, yes, its for fun :slight_smile:

Best Regards

Where Next? Top

Trending in Questions Top

itzmidinesh
Hi all, I’m working on a Phoenix project where I need to make external HTTP requests and I’m trying to choose between Req and HTTPoison....
New
yarrichar
I’m very new to Elixir, so sorry if this is a silly question: I am wondering what happens to the mailbox of a process when the machine i...
New
Hellowman
Hello everyone! I am new to coding with Elixir/Erlang. And i am looking for some utilities for fuzzing testing like AFL++. Does anyone ...
New
pragdave
How do I tell Hologram not to escape HTML when substituting into templates? {Textile.render(@product.long_description)} escapes the HTM...
New
Fl4m3Ph03n1x
Background When trying to execute mix release on a Windows 11 machine for a Phoenix project I get the following error: * assembling mark...
New
rlipscombe
I’d like to create a file with 600 permissions (rw-------), but there’s a race condition if I create it and then change the permissions. ...
New
saleyn
Is there a way to import record definitions in the iex shell for pretty printing (similar to the rr command in the erl shell)? This woul...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
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

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews