DEV Community

Discussion on: Full-Stack Development Should Be Easier

Collapse
 
mvila profile image
Manuel Vila

I think you didn't get the point. Liaison removes the need to build a web API but doesn't enforce any type of architecture. You can break down your application into as many layers as you want and you can run your components in multiple execution environments.

Collapse
 
joelbonetr profile image
JoelBonetR πŸ₯‡

Does It removes the need to build a web API by using graphQL so translating the logic into the front?

Thread Thread
 
mvila profile image
Manuel Vila

GraphQL is a web API, so in terms of layers, it doesn't remove anything. You still have to build an API server and an API client.

Thread Thread
 
joelbonetr profile image
JoelBonetR πŸ₯‡

Yup so, if not a monolithic architecture and not API driven, how does it transport data? Thats what I was asking for. The benefits on using this are not clear to me as you can phisically or logically separate or join some layers but at the end you'll need to code them on a manner or another anyway. Doesn't it?

Thread Thread
 
mvila profile image
Manuel Vila

Obviously, you need to code your business logic, but the communication between the layers is handled for you by Liaison. To better understand how it works, please have a look at the documentation.

Thread Thread
 
joelbonetr profile image
JoelBonetR πŸ₯‡

Thanks! I understand what do you mean with the extra information on the docs, I'll take a try when possible, at this point I'm more used to react, preact, svelte... but it could be fine to test. I've no much time those days but I'll let it pinned :)

Have you build some Apps with that?

Thread Thread
 
mvila profile image
Manuel Vila

Liaison provides a React integration.

Here are some examples of simple apps:

I build real apps for a customer, but they are not publicly available.

Thread Thread
 
joelbonetr profile image
JoelBonetR πŸ₯‡

Understandable, thanks :)