Creating the Teamwork that Builds the Product

When the designer is involved in the code, the developer talks about the roadmaps, and the PM is passionate about UX –
it sounds like its about the get messy. How does it work?