DEV Community

loading...

Discussion on: Full-Stack Development Should Be Easier

Collapse
joelbonetr profile image
JoelBonetR

I've some doubts about this ¿architecture framework?

So you are unifying layers instead on separating them, this could be fine and was the only way to work with software for years, also called monolithic architecture. This is good for little projects but when you need high coverage you need to abstract the layers to maintain each instead on touching it all at the same time (scalability). This, at first sight and reading it superficially and fast, seems a monolith using APIs for the data transfer, isn't it?

What does it adds over the table in comparison with services, microservices or monolithic architectures?

thanks

Collapse
mvila profile image
Manuel Vila Author

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 Author

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 Author

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 Author

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 :)