Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit a72037d

Browse files
committed
Use zend-{package}, not Zend\\{Namespace}
Additionally, most cases of `Zend\Expressive` were changed to simply `Expressive`. Also updated the link to the skeleton installer.
1 parent 4a538b1 commit a72037d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

doc/book/why-expressive.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
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
44
choose Expressive for any new project — _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
99
about how things work, yet they're very broad and unspecific. What’s more, it
1010
also has several pre-wired structures in place.
1111

1212
As a result, you are required to know a lot of what those things are — *if* you
1313
want 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
1515
you begin to get the most out of it.
1616

1717
To 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 — 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

2929
It provides a very minimalist structure. Essentially all you have to become
3030
familiar with are five core components. These are:
@@ -37,25 +37,25 @@ familiar with are five core components. These are:
3737

3838
Given that, you can quickly get up to speed with the framework and begin
3939
creating the application that you need. We believe that this approach — in
40-
contrast to the Zend\Mvc approach — is more flexible and accommodating.
40+
contrast to the zend-mvc approach — is more flexible and accommodating.
4141

4242
What’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
4848
Zend library, or non-Zend library. You can pick and choose what you need, as
4949
and when you need it. You’re not bound by many, if any, constraints and design
5050
decisions.
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
5555
we are saying is:
5656

5757
1. The learning curve, from getting started to building the first application,
58-
is _significantly_ lower with Zend\Expressive
58+
is _significantly_ lower with Expressive
5959
2. 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

Comments
 (0)