- Member | 121
Most of projects use nette.ajax.js, but this repo is completelly dead, nobody maintains it, any chance this becomes part of nette? It's to big issue currently that such an important library for nette is without any support…
Last edited by dkorpar (2017-01-26 10:57)
- Member | 121
I think it should be somehow supported, if nette is developed this should be
to since most of the projects are using it. When you see repo that has issues
not being responded at all, pull request not being reviewed or accepted
it's kinda bad for whole nette as well.
It's not related to any issues now but to whole project as well. I think VojtěchDobeš does not care any more for that repo at all and it's kinda crucial for Nette framework to have this repo somehow maintained.
I don't care for solution :) Maybe @VojtěchDobeš can add some maintainers or someone from nette to fork it and have it under control so at least issues are responded and good pull requests are accepted…
Last edited by dkorpar (2017-01-26 13:26)
@chemix I didn't know that development of nittro continues. I will look at it!
Problem is, all of ajax examples on nette forum depends on usage of nette.ajax.js. It is the only JS library that implemented nette snippets so far (I know – nittro, right? Hence we should take “so far” as a long-term NOW).
Anyway, anybody who does nette and ajax, does also nette.ajax.js. My opinion is either to create a documentation page with documented capabilities of nette snippets so anyone can write his own “nette.ajax.js” implementation or take nette.ajax.js under wings of nette so all nette users can rely on nette.ajax.js developent.
create a documentation page with documented capabilities of nette snippets
It is really very simple, see https://github.com/…ery.nette.js.
On AJAX request Nette sends JSON with array
snippets where keys
are HTML element's ID and values are HTML contents.
On redirects it also sends key
take nette.ajax.js under wings of nette
Please don't use fogging words. Do you mean that I should maintain another library? Why me? Why not you?
- Member | 69
Hi, Nittro 2.0 has been released this last Saturday and if you don't have too much code already dependent on nette.ajax.js (or if you're starting a project from scratch), it should be pretty easy to switch – please do give it a try :-) the documentation isn't complete yet, but most of the basics are already there (https://github.com/…/nittro/wiki) and of course I'll provide a guide to help with the transition from nette.ajax.js, but I also need people to start actually using Nittro and give me feedback about specific use cases etc.