Page History
Date
Angular meeting
Attendees
- Giuseppe Digilio (4Science)
- William Welling
- James Silas Creel (and others at A&M)
- Matteo Perelli
- Terrence W Brady
- Hardy Pottinger
- Nelson Torres
Notes
- Backchannel on #angular-ui in Slack. Join us at https://goo.gl/forms/s70dh26zY2cSqn2K3
- Art gives his updates on latest code changes in https://github.com/DSpace/dspace-angular (ART: Please add or link in your notes)
- All updates / new commands are also in the README
- Configuration. What do we want to use: https://github.com/DSpace/dspace-angular/pull/42/
- Typescript or Javascript
- JSON (no comments allowed)
- YAML (but not frequently used with JS projects?)
- Maybe we go with Javascript for now (as widely understood & simple). We could always translate something else to JS later
- Spinner (loading) component: https://github.com/DSpace/dspace-angular/pull/43
- Serializer (translate from REST to models & back): https://github.com/DSpace/dspace-angular/pull/45
- Style guide now has guidelines for separate modules (LINK?)
- Need more help reviewing code
- Tim can create a small Review team in GitHub so we can @ mention them in tickets
- Slack #angular-ui channel now gets GitHub ticket / PR updates
- Question on Debugging code? What do we use?
- Chrome browser Dev tools
- https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=en
npm run watch dev
(Will show errors in console)- Hot Module Replacement (HMR) module: https://github.com/AngularClass/angular2-hmr
- Throws syntax error into browser window (via an overlay)
- Can be helpful in debugging issues.
- Art said he looked at it in Dec, but wasn't sure if it worked with Universal, etc.
REST meeting
Attendees
- Tim Donohue
- William Welling
- Matteo Perelli
- Terrence W Brady
- Hardy Pottinger
- Nelson Torres
- Keith Gilbertson
Notes:
Info |
---|
Most of the discussion has been around the document available here. We ask all the interested developers to add their comments and thoughts: https://docs.google.com/document/d/1dAPjq6xSy7A5Q_xXIxLXgJ2VqugFpxeSmMmvbr2mM5M/edit?usp=sharing |
- Backchannel on #rest-api on Slack
- Need priority list. What is highest priority for DSpace 7
- Andrea: My priority is first 3 bullets, but these may even be achieved on current REST platform
- all the functionalities required by the AngularUI are in place
- maintain the REST API code is easy and enjoyable by… DSpace-JAVA developers or JAVA developers?
- REST API are well tested and documented
- HAL vs JSON-API format (highest priority question)
- Spring REST uses HAL more frequently, lots of tutorials
- JSON-API is broader standard, but is it too complex for our needs?
- We have mockups of JSON-API already that angular team is working from (Art)
- Art: But advantage is you don't need to parse it yourself. Client builds automatically
- Andrea thinks you'd get similar benefits from HAL (e.g. HAL browser)
- Art seems to favor JSON-API, while Andrea seems to favor HAL
- We need to work from the REST API Spec, but we need a decision on format. Have UI developers work against format mockups?
- ACTION (Art, Andrea & James): Need a HAL mockup for testing Angular2 against
- Art, Andrea & James will move this forward
- Start in the #rest-api channel over the next week. Others interested, please also take part
- The big question here is does HAL give us what we need/want for Angular2? If so, we should go with it, as it seems to have a decent following in Spring community
- Others can start to look at the Mockups for samples of the formats (to give feedback on them). Keep in mind, even within HAL and JSON-API, we may be able to configure formats to return data in different ways.
- e.g. Item mockup for JSON-API format: https://github.com/LotteHofstede/dspace-angular/blob/master/src/backend/items.ts
- ACTION (Andrea/4Science): Spring Data Rest protoype updates to add a DTO layer
Questions around Use of Solr for REST API
Different endpoints for browse/search that use Solr to find individual objects
But at a single object level, the endpoint would just use the Database to load properties, etc.
Current Jersey API is "flawed" in that it only uses Database (even for browse).
Next meeting in Two weeks (Feb 9)
In meantime, discussions on Slack
Stay on Google Hangouts for now (until we hit 15 people limit)
Invite to go to dspace-devel list & on Slack
Overview
Content Tools