synthslave

synthslave

Noob questions: GIS / API / BDD / Bootstrap 4 vs CSS Grid

Hello all, first time posting and looking forward to being a fellow positive, contributing member here.

I am completely new, not only to Elixir, but to programming in general so apologies in advance if questions aren’t phrased in the most “logical” way. I am trying to set up a website to help artists and musicians and have the following concerns/questions:

  1. Are there any special issues relating to using either Bootstrap 4 or CSS Grid with html in Elixir?

  2. I would like to incorporate either GIS data (or JSON file from some GIS type entity like a city or county) to list real time map info on site to show address locations. I’ve been told that GIS data is usually in Python or R. Will doing this in Elixir be a problem? Or is this done via an API which would then be language agnostic?

  3. Any special considerations when implementing an API in Elixir?

  4. Lastly, big reason I chose to learn Elixir to invest time to learn was the concepts taught by Uncle Bob Martin and Rob Martin with their Youtube videos on benefits of functional programming/TDD/BDD. Am I correct in assuming that many issues are avoided automatically by using Elixir since we’re using FP or do I still need to be doing testing on regular basis?

Thanks in advance!
Synth

Most Liked

OvermindDL1

OvermindDL1

Welcome!! ^.^

No issues whatsoever. Phoenix is the back-end, html/css/bootstrap/whatever is all front-end, entirely distinct. :slight_smile:

If you use PostgreSQL as your database it has a FANTASTIC GIS extention pre-included, it could probably do your queries faster than about anything else. And postgresql is the default supported database in a new phoenix project too. :slight_smile:

Functional Programming just means putting functions first, they are first-class values and can be passed around like anything else. The big thing that helps prevent ‘issues’ in my opinion is immutability (Elixir is) and static strong type system (Dialyzer helps here, I always recommend using it via the Dialyxir plugin). Testing is always good to do regardless, and Elixir makes testing a wonderful breeze with integrated doctests. :slight_smile:

OvermindDL1

OvermindDL1

The fact is that PostgreSQL is probably the most advanced database out, including not just SQL but also NoSQL’s in various styles, a very powerful search database functionality, many many extensions, FDW’s (Foreign Data Wrappers that let you access ‘another’ database from inside PostgreSQL all through the same interface) and much much more, in addition to it is entirely free, open source, blazing fast, and included in every linux distribution in existence’s repo’s as well as being trivial to install on Windows while being one of the most ANSI SQL compliant databases out. :slight_smile:

That all depends on what you are making, how it will be accessed, etc… Biggest word of note, keep your functions that ‘do’ stuff in their own modules, do not mix up ‘doing’ stuff in your web-related modules, makes it hard to refactor and/or pull apart or interact with in other ways later. :slight_smile:

Last Post!

tme_317

tme_317

Lonestar is closeby and only one month away. I am sure many of the countless people you’ve helped over the past year and a half will be there ready to buy you beers. Hoping you are going to finally make it to your first dev conference!

Where Next?

Trending in Questions Top

lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
tj0
I’ve been following the steps here for the upgrade from 1.6 to 1.7 and it has gone relatively smoothly all the way till the phoenix_view ...
New
cgraham
Hi! What is currently the best library/method for parsing text and tabular data out of PDF files in Elixir or Erlang?
New
stefanchrobot
Hi, I need a way to handle data migrations in my application. I found an article by @wojtekmach about manual migrations: Automatic and ma...
New
stjefim
Hello! Suppose you are building workflow (order / task / payment) processing system with the following requirements: Each workflow con...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
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
webofbits
Squid Mesh is an open source workflow automation runtime for Elixir applications. It is aimed at Phoenix and OTP apps that want to defin...
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
kip
In 2021 I started a new library called Tempo with the objective of modelling time as a set of intervals - not as instants. In 2022 I gave...
New

We're in Beta

About us Mission Statement