redfoxanna / diamond-poems

Memorializing diamond poems
0 stars 0 forks source link

Week 5 is ready! #3

Closed redfoxanna closed 6 months ago

redfoxanna commented 6 months ago

Hi @pawaitemadisoncollege ! I have completed the exercise for week 5 for Diamond Poem Archives! I feel like I'm getting good momentum on this project and am super glad I picked something so fun :-) Right now I have this coded so that a poem is deleted if the user associated with the poem deletes their account. Since this is an archive, I think I should refactor my code this week to persist the poems and maybe just set the user _id to NULL if the user deletes their account (research time!).

I also started to make some barebones code for my servlets and started thinking about front-end stuff...I want to make it look good! Do you have any go-to resources when it comes to free jsp templates? I know you gave us a few options last semester with our Analyzer project and I can't seem to find those on the 112 webpage.

Have a lovely weekend!!

pawaitemadisoncollege commented 6 months ago

Hi Anna, I am behind on reviewing code for week 5, but did see your question about templates, so am responding to that here and will circle back to review code later.

I have ZERO design skills so I am a big fan of templates. I do not have a go-to site, but will instead search something like "free bootstrap templates" or "free material design templates", and then poke around the results for something I like. Example: https://themefisher.com/free-bootstrap-templates

This might also be a good question for slack - I'm guessing your classmates might have some good ideas too!

Hope that helps!

pawaitemadisoncollege commented 6 months ago

I tried this and it did a thing!

Screenshot 2024-02-21 at 2 03 43 PM

I realize this isn't a full template, but it might be interesting to describe what you envision and see if AI can create it. I do not consider this cheating if you give credit to your source/s.

pawaitemadisoncollege commented 6 months ago

Hi @redfoxanna! Great work with the one-to-many hibernate implementation. No nitpicks at all! It's good to see that you added a todo for your delete scenario (not deleting the stories if the user is deleted). I noticed you started on a generic dao too - this is looking right on target and reminds me that I need to get this built and shared out to everyone. :)