virtuslab / beholder Goto Github PK
View Code? Open in Web Editor NEWSmall slick lib for create views on on database
License: Other
Small slick lib for create views on on database
License: Other
Often, after you filtered desired items, you want to perform some action on them. There should be method which will make it easier.
could you add the title when scan the web?
Currently we have only one poor collector. We need to create dsl for creating and chaining collectors.
When filtering by json field that is ignored doFilter endpoint returns null
instead of list of entities not filtered by this value.
Move all beholder specific keys into dedicated object and use it in tests
Create aggregation collector including tests
Filter should be named. We need to create DSL for naming filter (it is required for errors messages for nested filters).
Enrich existing filter dsl to accept one function style dsl e.g.:
fromQuery(myQuery){
case (a, b) => "ala" from a.ala and "ola" from o.ola
}
Views are written still in spirit of 1.0 beholder.
We need to make them more DBIO-like, and remove unicorn dependencies (or extract to one place)
Crating more lightway dsl will be also benefical.
Migrate to Play 2.4
Fix tests
Add scoverage plugin
Write tests to achieve high coverage
Beholder is now single jar. We need to split it into set of smaller ones with different dependencies. My proposal:
beholder-core - depends only on slick
beholder-json (beholder-play) - depends on core and play
beholder-unicorn - all unicorn-ed end points
Create utils for making enum fields working with both databse and json
Is it possible to filter data using many enum values ? E. g. I have enum:
Currency {
PLN,
USD,
EUR
}
And I want to have all unique results which have type PLN or USD. This feature could be also added to others filterable fields.
Tests are currently strongly dependes on session and unicorn. We need rewrite them into slick 3.0 approach.
Date range should be closed [a,b] not open (a,b). Now for range (a,a) result is empty even if there is a row with a date.
We need better dsl for filter joins
We need to create tests for:
All should be done as extensions to exisiting tests (enums will be tested for all dsl etc.)
I am writing table with pagination. For best possible performance I am taking only some records from database using FilterDefinition.take and FilterDefinition.skip fields. But I need also total entities number on particular filter query (without taking FilterDefinition.take and FilterDefinition.skip in account) to compute proper number of pages in my table. I need method like that (pseudo code):
type TotalEntitiesNumber = Int
def filterWithTotalEntitiesNumber(data: FilterDefinition[FilteredData]): (Seq[Entity], TotalEntitiesNumber)
Currently on master branch tests are failing.
We need to create tests for (see ForamtterTestSuire.scala)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.