-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API #88
Comments
I really think that having a full JS webapp + an API would be a good idea. |
I reaaaaaly love the full JS app idea, and, what a coincidence, I love angular too :D For me, this is a full 👍 , and I'm not affraid from the refactor part : this is, I think, firstly a fun/cuting edge project, so we have to enjoy this liberty :) Note that I'm totaly overbooked at this time, so I'll not be able to help you for feew weeks… :( |
Ok, no problem. Let's do it then ! However, I propose to do it in a test-driven way, writing tests and expected results first. Here is a pad to write necessary features : http://tools.exppad.com/pad/p/freederAPI |
Test-driven ? You mean, "making Niols a slave" ? |
Nope, these ones are easy to write =P "making Niols a slave" is for the tests for the actual functions =) |
Angular JS is a test-driven lib :) |
Yeah, I saw that lot of tutorials about AngularJS include testing questions. On 23/10/2014 18:46, Tom.C. wrote:
|
This is a really powerfull and modern library, making JS writing a pleasure (yep, this is possible). The learning curve is pretty weird, with a lot of waves, but I think it is a good bet. |
Ok. I've never played with Angular but I do really want to, so I think Freeder is a perfect use case. I propose :
|
Yep, the good part is that will "force" to have a nice API documentation, and will separate fully the interface from the backend :) |
👍 |
Great idea :) I wanted to do the same for FreshRSS but it's too late now ^^ It may be interesting to use an existing API (TTRSS, Google Reader, Owncloud News?) to be compatible with other apps? At least, it can be a good start! |
Yep, trying to keep compatibility with other apps may be a good idea. This website seems a nice start for building a standard api : http://www.restapitutorial.com/ |
I will try to do a little summary of the existing APIs for this kind of project (TTRS, Google Reader and Owncloud News), to have a better overview of the common basis we can use. EDIT : Comment was in French :/ |
@eliemichel nope, I did not have much time to have a look at TTRS, GR, or Owncloud for now =( |
Working on it, draft here: https://gist.github.com/Phyks/c143f719737e5557c4c2 |
Expose a true API to be used to control Freeder instance remotely ?
In particular, this has to be discussed before implementing the solutions to issues #86, issues related to offline mode #66, to modal boxes #73, #36 and some other such as continuous loading (infinite scroll).
For instance, I particularly dislike the actual refresh page which is quite a hacky piece of sh*t for the output. Should be way better with a JS script doing an AJAX call and polling IMO.
The text was updated successfully, but these errors were encountered: