Spring vs Symfony: What are the differences?
Developers describe Spring as "Provides a comprehensive programming and configuration model for modern Java-based enterprise applications". A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments. On the other hand, Symfony is detailed as "A PHP full-stack web framework". Symfony is written with speed and flexibility in mind. It allows developers to build better and easy to maintain websites with PHP. Symfony can be used to develop all kind of websites, from your personal blog to high traffic ones like Dailymotion or Yahoo! Answers.
Spring and Symfony belong to "Frameworks (Full Stack)" category of the tech stack.
"Java", "Open source" and "Great community" are the key factors why developers consider Spring; whereas "Open source", "Php" and "Community" are the primary reasons why Symfony is favored.
Spring and Symfony are both open source tools. It seems that Spring with 30.1K GitHub stars and 19.2K forks on GitHub has more adoption than Symfony with 21K GitHub stars and 6.98K GitHub forks.
According to the StackShare community, Symfony has a broader approval, being mentioned in 355 company stacks & 267 developers stacks; compared to Spring, which is listed in 316 company stacks and 179 developer stacks.
What is Spring?
What is Symfony?
Want advice about which of these to choose?Ask the StackShare community!
Symfony is a set of PHP Components, a Web Application framework, a Philosophy, and a Community — all working together in harmony A framework is a collection of universal, reusable programs that accomplish particular tasks to facilitate the development of software applications. A framework is a pledge of quality, upgradability and maintainability of applications at lower cost. Applications developed using a framework are interoperable with market standards.
Spring is another gift rained down by the gods of Open Source Software (a.k.a. Pivotal Labs in this particular case) that just makes sense on all levels.
From Spring Boot, to SpringMVC, the configuration architecture & profile paradigm, Spring Cloud expandability, to the ease with which one can deploy Spring applets as microservices within Docker is an absolute joy.
The core of the application use Spring Stack, to provide services and structure like:
- Self contained application with spring boot
- And many others.
그냥 간단한 MVC 웹 프레임 워크 인줄 알았는데 정말 모듈화가 잘 되있고, 사용하다보면 개발자에게 정말 편리하게 만들어 놓았다. vaildation 부분은 따로 처리 할 수 있고, 파라미터 담는 변수와 디폴트 값을 인자로 설정해 주는 부분도 참 좋은 것 같다. 또 spring-data 는 jpa 활용해 빠르게 개발하는데 유용하다.
- SpringFramework 중 MVC , AOP 등의 라이브러리를 활용하여 웹 어플리케이션 프로젝트 구성
공통 로직 구현 및 보안 처리 가능
Spring5에서 지원하는 함수형 프로그래밍 경험 있음
We developed our ERP with Symfony, then we use this framework and its components in e-commerce customization.
Used Spring Boot and its ORM to interacting with database server for web application development.
The RESTful backend for Hilenium was built using the Symfony2 framework.
Solid components backed by a great community and visionary company (sensio labs).