-
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
Introduce different api method for applications data requirement in the job overview screen #17
Comments
I'm keen to make API discussions independent of any UI pages. I hope you The issue you raise here has more general implications, since the approach For example, the idea (of the current API design approach) is that It could be then that we need to change the whole API design approach. Again, it's probably best to pause here and check that we're on the same I'd also be keen to understand more on the complexity of the back-end code If this does boil down to being about the general API design approach, I On 9 July 2013 10:35, villarin notifications@github.com wrote:
|
I follow you here - and when there is a common format to return results for However this method returns clearly differently formatted results based on And by combining multiple business functions in the backend - to satisfy the |
Understood - I think we're on the same wavelength. Your reply indicates to me that we do in fact need to change the API design In other words... we're going from (for example): Rule A) Rule A is currently part of my API design approach: it's a rule for me If the consequences of Rule A make your life more complicated, then this is If we do abandon Rule A, it's going to be useful to replace it with another This may come down to defining terms like "common format", "clearly Can you confirm that this make sense to you. How about you have a go at proposing a replacement rule / guideline / set On 9 July 2013 14:46, villarin notifications@github.com wrote:
|
Ok in my view there are two approaches we could take:
/scaffolding/api/default.html#/teachers/list - used as a generic route to /scaffolding/api/default.html#/teachers/application-summary - used to
In this case the following changes would help keep the backend code tidy: 2.1 query data - force statusId parameter to be always an array: So we would {statusIds:[1]} - if requesting OR {statusIds:[2,3,4,5]} - if requesting 2.2 Data returned: Ensure teacher property has the same format regardless whether we request "teacher": {"id": "437","fullName": "Kathleen Lunn", "avatarUrl": Note that score and adminNote are both unique to each candidate - this is Include "job" property in both requests - currently this is returned in Additional data: This is the most tricky part for me...Different fields are returned in the For /scaffolding/api/default.html#/applications/0 "coverMessage", "dateApplied" And for /scaffolding/api/default.html#/applications/1 "datePutForward": "2013-05-13T08:45:54.720Z", "statusId": 8, "statusDate": What I would suggest on this is that we reorganise the additional properties Leave field "coverMessage" intact - or as a single property in the response Add new property for "applicationStatus":[{"statusId":1, "date": Add new property for "schoolData":{"note":"bla bla bla this is the school Let me know your thoughts - if option 2 is feasible then I don't think we |
I need more time to digest this. Can you let me know which of these you'd prefer me to prioritise: A) this discussion Thanks! |
Just add this one to the backlog. The tasks in milestones 1 are blockers - hence they should take priority |
Okay - I'll continue to work on milestone 1 today. Just so I get used to how you might use different terms...
Once I understand those, I've a feeling we'll be able to make more use of On 10 July 2013 07:29, villarin notifications@github.com wrote:
|
For this task it would be the product backlog because it is not a blocker
Blockers - In general any piece of functionality that does not work as |
I've seen many of these terms used in many different ways, and I'm Are you referring to a specific methodology (with docs you can perhaps Just trying to understand... On 10 July 2013 10:07, villarin notifications@github.com wrote:
|
Yeap it is a SCRUM - just an implementation of the agile guidelines To date I have used many of the agile driven PM systems because clients Have a look at their home page and FAQs and you will see how they draft From: Ryan Randall [mailto:notifications@github.com] I've seen many of these terms used in many different ways, and I'm Are you referring to a specific methodology (with docs you can perhaps Just trying to understand... On 10 July 2013 10:07, villarin notifications@github.com wrote:
Reply to this email directly or view |
To be clear... I've seen many of these terms used in many different ways -- I'm sure you must've experienced the same if you've worked with lots of Anyway... I think this is why I find it hard to get my head around absolute That last sentence is important to me - I hope you can understand why. Re http://easybacklog.com/ etc: if you create one or more some separate On 10 July 2013 10:46, villarin notifications@github.com wrote:
|
Api call: http://pythondave.github.io/th-admin/2/0.4/scaffolding/api/default.html#/applications
This api method is currently used in two screens - applications and job overview screens.
The json output required varies in both cases - which causes the backend code to be more complex and harder to maintain.
So please dedicate a separate method for the application data requirement in the job overview page.
The text was updated successfully, but these errors were encountered: