Comparaison de frameworks PHP : Symfony2 et Laravel

Comparaison de deux célèbre framework PHP, Symfony2 déja connu dans le monde des Frameworks PHP et de Laravel qui est entrain de se faire une place malgré son jeune âge.

LaravelSymfony 2
CategoryFramework, Web application framework, App DevelopmentWeb application framework, Framework
Preference51% votes49% votes
Websitelaravel.​comsymfony.​com
LicenseMIT LicenseMIT License
System requirements
Operating systemCross-platformCross-platform
Programming languagePHPPHP
Memory minimum?130 MB
More
DescriptionA Framework For Web ArtisansKlunge
TagMVCMVC, Dependency Injection, Namespaces
Multi-user systemYesYes
AutofocusYesYes
PingbackYesConditional
Extension/Plug-inYesYes
Image processing enginNoYes
InterpreterYesYes
DatabaseSQLite, MySQL, PostgreSQL, Redis, Microsoft BIMicrosoft BI, MongoDB, MySQL, NoSQL, PostgreSQL, CouchDB, DynamoDB, GemFire, GraphDB, Membase, MemcacheDB, Oracle, Apache Jackrabbit
TrackbackYesYes
Multilingual contentYesYes
Database modelObject-orientedDocument-oriented, Graph-oriented, NoSQL, Object-relational, XML Database, Multidimensional, Object-oriented
TransactionsYesConditional
UnicodeYesYes
Multiple projectsYesYes
Standard complianceYesYes
External pagesYesYes
User statisticsYesYes
Revision controlYesYes
AtomicityYesYes
IsolationYesYes
Horizontal scalableYesYes
Template languageBlade, PHP, Smarty, TwigTwig, PHP
Target audienceWeb DevelopmentWeb Development
FrameworkLaravelSymfony 2
Full text searchYesYes
ScaffoldingYesYes
Design patternActive-Record, Model-View-Controller, Dependency injectionDependency injection, Model-View-Controller, Observer, Data Mapper, Domain Driven Design, HMVC
Development principlesConvention over configuration, Test-driven development, Don’t repeat yourselfDon’t repeat yourself, Test-driven development, Configuration over convention
Difficulty levelIntermediate, Advanced, BeginnerIntermediate, Advanced
Application startup time1 ms?
Version number4.2.x2.6.1
Adobe Flash SupportYesYes
PSR-0 compliantYesYes
Object-Relational Mapping (ORM)YesYes
Machine Code GenerationYesYes
Documentation level●●●●●●●●●●
E-Mail protocolsSMTPIMAP, POP3, SMTP
Multi taskingYesYes
RESTfulYesYes
Code GenerationYesYes
Dynamic typingYesYes
Composite keysYesYes
Programming paradigmObject-oriented, Event-drivenObject-oriented, Event-driven, Component-oriented, Code generation
CommentsYesConditional
Multiple categoriesYes?
Hierarchical menusConditionalConditional
Scripting language supportPHPPHP
Free to useYesYes
BackendPHPPHP
ActiveYesYes
Supported VCSgithub, Subversion, GitGit
Database Connection PoolingYesYes
Separate Service LayerYesYes
Web FlowsYesYes
Creation Date201118ᵗʰ October 2009
Community DrivenGoodExcellent
WizardYesYes
HTML syntaxYesYes
WSDLYesYes
Reliability●●●●●●●●●●
VersioningGoodGood
Data encryptionYesYes
Custom queriesGoodGood
Input WidgetsYesYes
Layout Structure TemplateYesYes
File AssetsYesYes
APIGoodExcellent
Compiled languageYesNo
XML AwareGoodGood
3 Letter Country CodeYes?
Client/Server code reuseModel-View-Controller, Template language, Web servicesModel-View-Controller
Batch ProcessingYesYes
Wireless hotspotNo?
Cloud platform supportGoogle App Engine, Amazon EC2, Fortrabbit, Pagoda Box, digital ocean, HerokuGoogle App Engine, Amazon EC2, Amazon S3, Engine Yard, Windows Azure, Heroku, Pagoda Box, OpenShift
Admin GeneratorNoYes
CompilerYesYes
Library file size17 MB22.1 MB
API comprehensibility●●●●○●●●●●
WebmailYesYes
Jobs Oportunities●●●●○●●●●●
Implementation flexibility46% votes54% votes
Out-of-the-box functionality35% votes65% votes
ThrottlingYes?
Bundle systemYesYes
Annotation SupportYesYes
LDAPYesYes
Query CacheYesYes
RealtimeYesYes
Data SecurityYesYes
Community feedback●●●●●●●●●●
Ease of use●●●●●●●●●○
Malicious Injection PreventionYesYes
Free for commercial useYesYes
Easy of UseYesYes
Sexiness100100
JVMNo?
Open SourceYesYes
FAL supportYes?
Web Developer ToolbarYesYes
IntelliSenseYesYes
XQuery SupportYesYes
Websocket SupportYesYes
Maven supportNo?
Resource File ProcessingYesYes
Lambda ExpressionsYesYes
Language Integrated QueryYes?
Partial ClassesYesYes
ClosuresYesYes
Perfomance●●●●●●●●●○
Database migrationsYesYes
I like itYesYes
JavaScript Library includedNoNo
Debug ModeYesYes
Static TypingNoNo
Cloud-enabledYes?
Click & Edit in Place / WYSIWYGNoNo
ArchiveYes?
API ReportsYesYes
API Test ControlYesYes
Autocomplete CodeYesYes
Dependency InjectionYesYes
PersonalizationYesYes
Supported from GoogleYesYes
Makes you angryNoYes
HLP10010 000
Easy to LearnYesNo
ExtensibilityYesYes
Unit TestingYesYes
AjaxYesYes
User managementYesYes
ORM Join SupportYesYes
Object-Oriented ViewsYesYes
Object Oriented ModelsYesYes
Model ConditionsYesYes
Mobile readyYesYes
ACLYesYes
Requests per second100?
Operating system serverCross-platformCross-platform
Package ManagerYesYes
Makes developer create a slew of inefficient JavascriptNoNo
Easy SetupYesYes
JqueryYesYes
jQuery SupportYesYes
Modules/Extensions/Plugins7 9992 262
Full-StackYesYes
unnecessary featuresNoNo
InternationalizationYesYes
Heroku SupportYes?
Framework specific vocabularyYesNo
Easy to ConfigYesYes
Self ServerYesYes
Will get you a jobYesYes
Amount of letters77
Use components elsewhere?YesYes
Can function without AJAXYesYes
MayurNo?
WYSIWYG-Editor?Yes
Popularity(0% global votes)(0% global votes)
Sync file manager?Good
Scheduled posts?Conditional
Geospatial elements?Yes
Copy, Cut and Paste Support?Yes
Realtime Server Push?Yes
Spring Security?No
PDF Support?Yes
Latency Compensation?No
Scalability?Yes
Rack Middleware?No

Lien utiles

 

source : http://vschart.com/compare/laravel/vs/symfony

Jean-Marc Amon

Jean-Marc est un développeur, Administrateur Système Linux et DevOps. Quand Il n'est pas sur un ordinateur, vous pouvez le trouver en train de lire, écrire ou profiter du soleil et de la mer. Son pseudo Twitter est @AmonMarc, et vous pouvez le trouver sur github.com/jebog

2 Comments

Les commentaires sont fermés.

Abonnez-vous à ce blog

Rejoignez les 1 871 autres abonnés

Articles récents