DEV Community

Discussion on: A simple Like is more complicated than you think

Collapse
ben profile image
Ben Halpern

Oh and the complication doesn't stop there! For example, on DEV we load the state of whether you liked something asynchronously so we can otherwise cache the rest of the page as static HTML shared by all.

Every platform needs to do something to efficiently get you not only the content, but your unique relationship with the content... Choices about the product need a lot of consideration on how the data is fetched and what can be shared and cached, and the choices need to evolve over time to account for different amounts of shared use.

Collapse
cray2015 profile image
cray2015

ben is your architecture available to understand like how things are functioning. i want to understand and read some efficient architectures.

Collapse
ben profile image
Ben Halpern

All the code is public so you're more than welcome to have at it 😄

GitHub logo forem / forem

For empowering community 🌱


Forem 🌱

For Empowering Community

ruby version rails version Travis Status for forem/forem Code Climate maintainability Code Climate technical debt CodeTriage badge Dependabot Badge GitPod badge Netlify badge GitHub code size in bytes GitHub commit activity GitHub issues ready for dev Honeybadger badge Knapsack Pro Parallel CI builds for dev.to

Welcome to the Forem codebase, the platform that powers dev.to. We are so excited to have you. With your help, we can build out Forem’s usability, scalability, and stability to better serve our communities.

What is Forem?

Forem is open source software for building communities. Communities for your peers, customers, fanbases, families, friends, and any other time and space where people need to come together to be part of a collective See our announcement post for a high-level overview of what Forem is.

dev.to (or just DEV) is hosted by Forem. It is a community of software developers who write articles, take part in discussions, and build their professional profiles. We value supportive and constructive dialogue in the pursuit of great code and career growth for all members. The ecosystem spans from beginner to advanced developers, and all are welcome to find their place…