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

Add cookbook about modular applications #239

Merged

Conversation

mtymek
Copy link
Contributor

@mtymek mtymek commented Dec 21, 2015

No description provided.

@mtymek
Copy link
Contributor Author

mtymek commented Dec 21, 2015

Added this cookbook just in case somebody wanted to work on modular applications just now :)

@mtymek mtymek force-pushed the modular_expressive_cookbook branch from 5d0ce3e to 9887f81 Compare December 21, 2015 22:07
@mtymek
Copy link
Contributor Author

mtymek commented Dec 21, 2015

I don't understand why Travis fails :(

@mtymek mtymek force-pushed the modular_expressive_cookbook branch 2 times, most recently from 185d5c3 to bc62449 Compare December 21, 2015 23:22
@mtymek mtymek force-pushed the modular_expressive_cookbook branch from bc62449 to c293cb6 Compare December 21, 2015 23:34
@mtymek
Copy link
Contributor Author

mtymek commented Dec 21, 2015

Ha! Figured it out :)

```php
$configManager = new ConfigManager(
[
App\AppConfig::class,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it will be more clear with add more config classes to show that it allow multiple modules:

[
       App\AppConfig::class,
       Album\AlbumConfig::class,
       // ...
        new PhpFileProvider('config/autoload/{{,*.}global,{,*.}local}.php'),
]

@weierophinney
Copy link
Member

@mtymek — I can manage the conflicts when I merge. Do you mind if I do edits for grammar and flow?

@RalfEggert
Copy link
Contributor

Another recipe for the cookbook! 👍

Thanks!

@mtymek
Copy link
Contributor Author

mtymek commented Dec 22, 2015

Sure, please do @weierophinney! I'm not a native english speaker, so writing docs is always though :)

weierophinney added a commit that referenced this pull request Dec 22, 2015
Add cookbook about modular applications
weierophinney added a commit that referenced this pull request Dec 22, 2015
weierophinney added a commit that referenced this pull request Dec 22, 2015
@weierophinney weierophinney merged commit c293cb6 into zendframework:master Dec 22, 2015
weierophinney added a commit that referenced this pull request Dec 22, 2015
@weierophinney weierophinney added this to the 1.0.0rc5 milestone Dec 22, 2015
@weierophinney weierophinney self-assigned this Dec 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants