Closed lsitu closed 8 years ago
@ucsdlib/developers : Please review and test thank. The bunch of updates are supporting the authority records (Agent, Concept and Place) modeling and associate them to the form/UI for creation, editing and displaying. This will support linking to themselves through an ambiguous URL and linking to collection/object explicitly with hashing. You may access the forms for new authority records creation from the main menu on the top. The change is a little big, please test it to see whether it works at you local environment if you can. Thanks.
👍
@hweng: Are you talking about not using Hydra Editor? Or the app/models/forms/xxx_form.rb file is redundant for Hydra Editor? Here is the official site for Hydra Editor: https://github.com/projecthydra/hydra-editor
@lsitu I didn't say not using hydra Editor. I will take a look of the link when I get time.
@ucsdlib/developers - thanks for the great discussion so far on this. Let me clarify a few points from my perspective, if it helps as you're evaluating.
@mcritchlow I agree. I think that's one of the reason I discarded my previous PR for sample authority records creation and choose to melt this feature into the hydra stacks instead.
@mcritchlow Thanks for your points. I agree with it. I tested it on Sufia by running its built-in generator which create/insert a number of files which also include xxx_form.rb. And by comparing them to this pull request they are similar. So it is just common way that curation concern based app make up the form. And I understand there must be some reasons that hydra team decides to do this way and I agree with it.
@hweng The reason they uses form object mentions here
address gaps in model-view-controller framework: form objects help building editing forms. form wraps the model
https://github.com/projecthydra-labs/hydra-vagrant/wiki/Dive-Into-Curation-Concerns
@ucsdlib/developers Can you merge the PR if you are convenient? Thanks.
@ucsdlib/developers: Thanks everyone for reviewing, discussing and testing it out.
https://github.com/ucsdlib/dams5-cc-pilot/issues/4 https://github.com/ucsdlib/dams5-cc-pilot/issues/5 https://github.com/ucsdlib/dams5-cc-pilot/issues/13