#Need help for new job assessment preparation

18 messages · Page 1 of 1 (latest)

eternal badge
#

hello folks! I'm new here and I'm a fullstack Java / Javascript developer, Ive been using ReactJS for years, however, after applying to an interesting job offer about Java, I realized that I have to have a minimum level in Angular as well! Now Ive got an invited to an online coding assessment with multiple questions about Angular.

Can you help me get started with this framework quickly before I do the online assessment please? Also, I've checked with some developers about why Angular would be tightly coupled with Java, they told me , cuz most Java devs use it, is this right ?

scarlet marten
# eternal badge hello folks! I'm new here and I'm a fullstack Java / Javascript developer, Ive b...

There's nothing that ties java particularly to angular, same as react. It's just a frontend that consumes a REST API, Websocket or something like it 90% of the time.

There's no tight coupling either, at most there's a very vague coupling in the heads of people in the sense that both Java and Angular have some level of object orientation, though Angular's amount of OO has been decreasing over the past few years in favour of functional APIs (functional Resolvers, Guards, Interceptors, NGRX-Effects, the Signal-API etc.)

So the most levels of similarity you have is that you tend to have Dependency Injection in both.
The similarities end there, because while using inheritance in Java "only" gets you raised eyebrows because inheritance is not the greatest pattern there, in Angular you typically will get actively pushed back against because inheritance tends to never at all be the pattern you should choose for a problem, there's always better tools for it.

#

The statement "Most java devs use Angular" also makes no sense to me - Java devs use whatever frontend they please, which may be SSR with HTMX, JSP's, Thymeleaf, React, Svelte, Angular, Vue or what have you

eternal badge
#

though Angular's amount of OO has been decreasing over the past few years in favour of functional APIs (functional Resolvers, Guards, Interceptors, NGRX-Effects, the Signal-API etc.)
I see, would you like to tell me if there is an effective modern guide you trust for me to get started please ?

scarlet marten
eternal badge
#

how much time you think is necessary to get the basics

#

and what are the things in Angular now that need to be understood carefully

#

i'm counting to build a basic CRUD sample this weekend

scarlet marten
#

Components, Directives, Pipes, Services, Reactive Programming in Signals and/or RXJS and their interop (as well as when which is useful vs the other), Resolvers, Guards (both canActivate and canDeactivate)

#

That's the barebones.
Depending on if you consider knowing how to deal with forms basic or not, add ReactiveForms (soon signal-forms, but those won't matter for another year or so as the earliest they'll be stable at is v22)

fast flint
eternal badge
bright sentinel
# eternal badge hey I know ya
  • If you know React's Redux, you should easily understand Angular's Ngrx.

  • Although, on my end, to simplify maintenance since we have a team new to Angular,
    I use a simple store system: service + behaviorSubject (or now service + signal).

  • I recommend this tutorial; I learned a lot from it. Become a ninja with Angular

  • on medium.com, you can find many articles about Angular with various topics (choose the most recent ones).

eternal badge
#

I think i know now what to do