Code Clan Week 13
week 13 of 16 here I am... watching that number get closer and closer to 16 is giving me the fear of the unknown... but again I am looking forward to what the future holds and what future position I will hold! (Yes job search continues, Hi possible employers *waves*)
Day 1 - Intro to Spring
Spring is a framework for back-end web application development. Spring is widely used, it is the go to framework in Java for creating web applications. Ive been looking forward to this week and looking back to using crud methods and Restful routes again. They never really came up in JS so looking at them again having previous understanding of how they work is really great!!
Day 2 - Relationships
ahh, good ol' reastful routes are back in full swing! ive got to say, i forgot how much i missed them so its nice to work with them again. Looking at relationships (One to Many + Many to Many) first thing we had a lab to do! looking at an employees projects and departments. so One Employee has only one department but one department will have many employees (One to many) and those employees will be working on many projects and one project will have many employees working on them ( many to many), really it's mostly the planning I find really helpful and enjoyable. having a plan down on paper make the job so much easier to complete. Then once the relationship is set up we started using queries to view specific information as well as projections to embed the information.
above is the example that we were working on using insomnia again was also really nice! so One Ship has many pirates and a pirate can have many raids.
homework was two one to many relationships which really caught me out actually! even though it sounds harder to do a many to many... two one to many relationships really surprised me! so One user has many folders but many folders only has one user. then One folder has many files but that one file has only one folder. Even when im writing it... my head is like "sorry what?" but once you get through the confusion its not basic but its understandable .
Day 3 - Custom Queries
We learned how to setup specialised implementations of the JpaRepository in order to create custom queries, This does take a bit of a minute to get your head around .... so Spring Rest gives us the basic Queries like get all ect but if we want to get specifics we need to create custom queries.
I really enjoyed today and the lessons
The Homework we had to create custom queries to a whisky tracker. Instead of FindAll() whiskies its find all whiskies that come from a distillery in a specific region that is 12 years old.
Day 4- All Day Lab
Today was a really challenging Lab! in our pair we decided to try and use an enum for a rating (The lab was classes that have ratings a customer and bookings) two many to one joins. Turns out.. way harder than first through! it works! just not the way we wanted it to.
It was just extra practice to solidify what we have learned the whole week! so it definitely did that!
Work Experience
On Friday I had the chance to go into whitespace in Edinburgh for sone work experience which was really interesting to take part in! Learning a further new language(PHP) was interesting and seeing how customer meetings are run was really really great. Due to the layout of the day I didn't get to finish my project so i've got that home with me to complete!
Weekend Homework
this was to get us back into the mindset of JavaScript as we are going to be working in react next week!
Overall Ive really enjoyed this week! Java and I seem to be getting on really well... it could be because its my 3rd language... it could be just that I seem to just get Java better than the other languages(not that I don't like Ruby or JavaScript. I do!), I don't know... but I like Java and certainly feel its been my strongest language and I am more confident in general.
Job Hunt Cont.
Yes, the job hunt is still underway! no further update here so on to week 14.... wait... what?? where has the last 3 months went? its really starting to sink in now that I have only 4 days left of 'learning' then its my final project... ohh my.
IT INFOSEC at Cybersecurity and Infrastructure Security Agency
6 年Great Work! I'm sure you will get offers soon!