1- # Should You Choose Zend\Expressive Over Zend\Mvc ?
1+ # Should You Choose zend-expressive Over zend-mvc ?
22
3- After creating several projects with Zend\Expressive , we recommend that you
3+ After creating several projects with zend-expressive , we recommend that you
44choose Expressive for any new project &mdash ; _ if the choice is yours to make_ .
55
6- ## We Recommend Zend\ Expressive
6+ ## We Recommend Expressive
77
8- [ Zend\MVC ] ( https://github.com/zendframework/zend-mvc ) has many preconceptions
8+ [ zend-mvc ] ( https://github.com/zendframework/zend-mvc ) has many preconceptions
99about how things work, yet they're very broad and unspecific. What’s more, it
1010also has several pre-wired structures in place.
1111
1212As a result, you are required to know a lot of what those things are &mdash ; * if* you
1313want to use it optimally. And to acquire that depth of knowledge, you’re going
14- to need to spend a lot of time, digging deep into Zend\Mvc ’s internals, before
14+ to need to spend a lot of time, digging deep into zend-mvc ’s internals, before
1515you begin to get the most out of it.
1616
1717To quote Zend Framework project lead, [ Matthew Weier O’Phinney] ( https://twitter.com/mwop ) :
1818
19- > The problem is that Zend\Mvc is anything but beginner-friendly at this point.
19+ > The problem is that zend-mvc is anything but beginner-friendly at this point.
2020> You're required to deep dive into the event manager, service manager, and
2121> module system &mdash ; right from the outset; And to do this you need more than a
2222> passing understanding of object-oriented programming and a range of design
2323> patterns.
2424
25- Zend\ Expressive (specifically applications based on [ the Expressive Skeleton
26- Installer] ( https://zendframework.github.io /zend-expressive/ ) ) on the other hand,
27- comes with barely any of these assumptions and requirements.
25+ Expressive (specifically applications based on
26+ [ the Expressive Skeleton Installer] ( https://docs. zendframework.com /zend-expressive/getting-started/skeleton/ ) )
27+ on the other hand, comes with barely any of these assumptions and requirements.
2828
2929It provides a very minimalist structure. Essentially all you have to become
3030familiar with are five core components. These are:
@@ -37,25 +37,25 @@ familiar with are five core components. These are:
3737
3838Given that, you can quickly get up to speed with the framework and begin
3939creating the application that you need. We believe that this approach &mdash ; in
40- contrast to the Zend\Mvc approach &mdash ; is more flexible and accommodating.
40+ contrast to the zend-mvc approach &mdash ; is more flexible and accommodating.
4141
4242What’s more, you can mix and match the types of applications that you create.
4343
4444- Do you just need an API? Great; you can do that quite quickly.
4545- Do you want an HTML-based front-end? That’s available too.
4646
47- When building applications with Zend\ Expressive, you can make use of any other
47+ When building applications with Expressive, you can make use of any other
4848Zend library, or non-Zend library. You can pick and choose what you need, as
4949and when you need it. You’re not bound by many, if any, constraints and design
5050decisions.
5151
5252## In Conclusion
5353
54- For what it’s worth, we’re ** not** saying that Zend\Mvc is a poor choice! What
54+ For what it’s worth, we’re ** not** saying that zend-mvc is a poor choice! What
5555we are saying is:
5656
57571 . The learning curve, from getting started to building the first application,
58- is _ significantly_ lower with Zend\ Expressive
58+ is _ significantly_ lower with Expressive
59592 . The ways in which you can create applications, whether through multiple
6060 pieces of middleware or by combining multiple Expressive apps, into one
6161 larger one, is a much more efficient and fluid way to work
0 commit comments