Bram's Dev Blog

home

100 Days of Code Day 44 - Peeking at DSpace 7

04 Oct 2018

Peek at DSpace 7

DSpace 7 Development instructions

Went through DSpace 7 - Angular UI Development on the DuraSpace wiki again.

Found the code style guidelines: very extensive and likely a good point of reference for anything you have doubts about regarding style. Doesn’t look that useful to read through entirely in one go.

Also found the documentation style guidelines.

Naming convention

The selectors for the components in DSpace 7 angular are all prefixed with ds-. That way, these custom components can be separated out for others that are imported from elsewhere.

Why are some module names prefixed with a plus and others aren’t?

What are .pipe files?

How does i18n work?

The message catalog for English is managed here. Right now there was only a single catalog. Contributed a first Dutch translation to the development in https://github.com/DSpace/dspace-angular/pull/296 Interesting to see how this works with the Waffle Board to keep track of progress.

How does testing in DSpace 7 work?

Jasmine, protractor, still have to look at in more detail

Angular Universal

To support web crawlers who can’t render JavaScript, the DSpace community is using Angular Universal to facilitate server-side rendering of the pages. Angular Universal has a specific tutorial where the regular Tour of Heroes tutorial ended. Adding it as a future day plan to look into this.

Day 45 Plan

Look further at DSpace 7 and i18n. Identify what needs to be done to actually see and use the Dutch language file I created.

Future days - DSpace 7 Angular

Future days - Analyzer.atmire.com work

Future Days - Productivity

Future days - Jekyll http://bram-atmire.github.io/ site

Future Days - Atmire.com work

Investigate and work on search engine optimization (SEO) for the main atmire.com website.

Future Days - Learning just for learning

September sustainability challenge - Completed

The money has been wired and I’m closing the books on the September sustainability challenge where I was sponsored for every successful day and where I would punish myself for every missed day.

New sustainability challenge - Finish before Christmas

With today being day 43, there are 57 days of coding left. Setting the goal to get there before Dec 25th gives me a little more flexibility while still requiring a high frequency.

In terms of positive motivator, I’m currently thinking along the lines of a big reward at the end, while at the same time still wondering about something more incremental for Oct/Nov, or to have a self-punishment system in here as well.