These are chat archives for synrc/n2o

4th
Nov 2015
Maruthavanan Subbaryan
@marutha
Nov 04 2015 05:50
Do we have any examples for Auto Complete using N2O?
Maruthavanan Subbaryan
@marutha
Nov 04 2015 13:16
What would someone recommend in N2O applications for sorting and filtering use DTL or DB sorting and filtering?
Namdak Tonpa
@5HT
Nov 04 2015 15:49
you can stream events and sort them in javascript to display too
there was a plenty nitrogen's autocomplete but certified by me is non existent
there's should be autocomplete protocol for a #autocomplete control
it should be no more 20 LOC.
maybe once I will write one
autocomplete case should be covered as ftp case: http://5ht.co/ftp.htm
it should be very clean and understandable
Namdak Tonpa
@5HT
Nov 04 2015 15:54
something I can't get from those fancy jQuery controls
Maruthavanan Subbaryan
@marutha
Nov 04 2015 16:26
@5HT what about sorting and filtering.. what do you think is a good choice on latest webapps? (offline/synchronized across mutiple devices etc)??
Rado Kozmer
@rkozmer
Nov 04 2015 18:14
hi guys, I try to put avz on my login page. Buttons are nicely generated, sdk js as well. But when I click them, no event is fired. There is just javascript.void(0), no postback. The code comes from skyline. Did I forget something?
Rado Kozmer
@rkozmer
Nov 04 2015 21:18
Solved it. I forgot N2O_start()...
Namdak Tonpa
@5HT
Nov 04 2015 22:30
@marutha you have plenty of methods, KVS chains and aggregated filtering, secondary indexes, etc. KVS is a tool, you should have an approach.
KVS is like berkley DB, you have only storing. Schema and Retrieval methods you should design by yourself. Erlang is useful here to provide supervision of keys and tables. For each KVS chain — dedicated Erlang process.
usually you need only kvs:add and kvs:fold
having these two you can write any web social app
for online analytics you still need joins and secondary indexes: SQL or mnesia here is king.
data design is a complex question
Namdak Tonpa
@5HT
Nov 04 2015 22:35
usually we start with requirements, then we select database backend for KVS