What is a web framework? Roles, examples and choices
Understand backend frameworks, frontend tools, libraries and content management systems, with practical questions for choosing a stack.
Compare WordPress, Django and Ruby on Rails for publishing and custom applications: workflows, business rules, skills and long-term maintenance.
THE USEFUL ANSWER
WordPress is a content management system; Django and Rails are application frameworks. Choose by the importance of editorial publishing and custom business rules, not by a universal ranking of speed or popularity.
WordPress supplies a publishing model, an administration interface, themes and plugins. Its REST API can also serve content to a separate frontend. Django and Ruby on Rails supply conventions and tools for developing applications; neither automatically gives you the editorial product your writers need.
Django includes data models, an ORM and a model-driven administration interface. Rails provides application conventions, MVC organisation and supporting tooling. Python or Ruby skills matter to the team, but the language choice does not define the whole product.
These are starting points for evaluation, not price estimates or performance guarantees for a particular installation.
| Dominant requirement | Starting point to examine | Deciding question |
|---|---|---|
| Articles, pages and contributors | WordPress | Does its publishing workflow fit the roles? |
| Custom workflow with a Python team | Django | Do the rules and data justify custom development? |
| Custom application with a Ruby team | Rails | Can the team maintain this stack? |
| Editorial content with a separate frontend | API-enabled CMS, including WordPress | Who handles previews, caching and permissions? |
| Static blog without reader accounts | A static generator is another option | Does an application server add a necessary feature? |
WordPress is not automatically slow, and a custom application is not automatically fast or secure. Define a representative journey and workload, then measure queries, caching, media and dependencies. Check permissions and exposed interfaces separately.
Write a short architecture decision recording the requirement, constraints, rejected options, assumptions and a trigger for review. A different team or workflow may change the answer. Continue with what a web framework does and managed hosting responsibilities.
Yes, its REST API can expose data. A decoupled architecture still needs deliberate handling of previews, caching, authentication and deployment.
No. It is useful for managing data, but a specific publishing workflow may need a tailored interface or a suitable CMS.
That depends on scope, team skills and operating costs. A universal price claim would hide the assumptions that determine the answer.