Re: [go-nuts] General question: complex search form and query params

2018-03-02 Thread benjamin . guy . thomas
Thanks for the feedback. I'm only vaguely familiar with graphql. From my understanding, it's meant to facilitate data query for the frontend dev. But I'm looking at things more from a user perspective here, see my github example. I might have to dig into this though. Le vendredi 2 mars 2018

Re: [go-nuts] General question: complex search form and query params

2018-03-02 Thread Lutz Horn
Nowadays I suppose best way to do something like this is using GraphQL (for ex. https://github.com/graphql-go/graphql). But GraphQL != SQL. Building SQL from HTTP query parameters is not made more simple and secure by building GraphQL from HTTP query parameters. Lutz -- You received this

Re: [go-nuts] General question: complex search form and query params

2018-03-02 Thread Alex Efros
Hi! Many years ago I've implemented something similar in Perl, which was later released as https://metacpan.org/pod/DBIx::SecureCGI. Nowadays I suppose best way to do something like this is using GraphQL (for ex. https://github.com/graphql-go/graphql). -- WBR, Alex. --

[go-nuts] General question: complex search form and query params

2018-03-02 Thread benjamin . guy . thomas
Hello gophers, Sorry if this is considered noise to some, as I have a question which is not specifically go related. I have a personal project in which I'd like to use go though. Basically, I'd like to create a complex search form, returning data backed by an SQL database. To prevent SQL