pcharbon

pcharbon

This library allows you do easily design multi-band hierarchical reports similarly to Crystal Reports from SAP using its own built-in DSL. It also allows you to create 9 types of charts using the same DSL. You can find a series of comprehensive user and developer guides on hexdocs.

Here are some teaser images from the Online demo (should be up in a few minutes sorry!)
You can also find the code for the demo which requires no database at Ash Reports Demo

The library can be found on Hex.pm as ash_reports
Documentation can be found on HexDocs

https://github.com/accountex-org/ash_reports

Enjoy!

Pascal

Showing Posts 1 to 8

ghannam80

ghannam80

Thanks for building this one, it is a good one to introduce Elixir/Phoenix/Ash especially in enterprises that use databases which have data layers already available.

I tried accessing demo but I am getting failure error “http error 503”

pcharbon

pcharbon OP

Oops will look into it sorry. In the meantime you can clone the AshReportsDemo and just run it. It uses json generated data. You will only have the small dataset but you can easily generate the other ones with a mix command.

ghannam80

ghannam80

How I can use it with Oracle as in legacy enterprises we still have many apps running with Oracle? Unfortunately, FDW is not an option.

pcharbon

pcharbon OP

As long as your AshDomain has a datalayer then it will be usable with that data layer. The demo application uses an ETS datalayer so its all in memory. But if you can run ash queries in your domain then it is going to work. I am not sure if there is an Ash data_layer for Oracle though.

Currently the library is tied to Ash framework as an extension but I may extract it as a more generic Elixir library at a later time if there is interest.

jsonbecker

jsonbecker

I would be extremely interested in a version of this that is not tied to Ash (not opposed to Ash, just have immediate potential use outside of that).

ghannam80

ghannam80

Thanks, I took a quick look at docs and I couldn’t find an answer to the following :

Let us assume we have long running reports with fixed criteria but could be needed by multiple teams, can we schedule it and then save result instead of running it again when another user requset it?

pcharbon

pcharbon OP

I will look into that, it should be doable since Spark DSL is not actually tied to Ash even if its under the Ash framework custody. The Dsl currently assume a few things regarding the resources that it is querying based on Ash.Domain and Ash.Resources. It should be doable to allow the passing of a simple data stream.

pcharbon

pcharbon OP

You should be able to cache reports in ETS pretty easily and the library exposes a save function (or it should anyway). The DSL allows you to generate the report but what you do with the result is up to you. You can have a look at the ash_reports_demo repository. The demo allows you to save the report in different modes (PDF, HTML,etc) which should give you a good example.

— All posts loaded —

Where Next? Top

Trending in Announcing Top

woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
MRdotB
I needed to reuse React components from my Chrome extension in my Phoenix/LiveView backend. I noticed that for Svelte/Vue, there are live...
New
woylie
I released Doggo, a collection of unstyled Phoenix components. https://github.com/woylie/doggo Features Unstyled Phoenix components....
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
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
anuaralfetahe
Hello Published a new library - ProcessHub! ProcessHub is a library designed to manage process distribution within the Elixir cluster. ...
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

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
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
sergio
It’s not that it’s vocabulary is too advanced. It’s something worse. I get lost trying to follow even a paragraph written by Claude. It’...
New
AstonJ
This showed up on my feed.. anyone heard of it? Just hype? Ox Alpha is a reasoning model designed for coding, sustained ag...
New
bartblast
Hey folks, I just published a post about Hologram’s funding and where the project goes next - the short version: Curiosum as Main Spons...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews