Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganized the code to functional modules #66

Merged
merged 14 commits into from
Dec 16, 2014
Merged

Reorganized the code to functional modules #66

merged 14 commits into from
Dec 16, 2014

Conversation

mnapoli
Copy link
Member

@mnapoli mnapoli commented Dec 12, 2014

I have reorganized the code into modules, hopefully improving cohesion:

Application\
    Cli\ # cli commands
    # container stuff
Model\ # Repository, File, …
Module\
    Markdown\
        Step\  # LoadMarkdownFiles, RenderMarkdown, …
        Model\ # MarkdownFile
    Bower\
    Template\
    Config\
    
Deployer.php
Generator.php
Step.php

Hopefully the organization in modules is much clearer. Want to add support for RestructuredText? Just add a module…

I wish also to work on installing modules on demand. For example the Bower module requires a PHP lib with a lot of dependencies. If this module could be installed on demand (per the configuration in Couscous.yml) that would be awesome. I'd love to be able to offer optional modules (RST, Textile, Bower, Less, whatever, …)

@mnapoli mnapoli changed the title Reorganized the code by functional modules Reorganized the code to functional modules Dec 12, 2014
mnapoli added a commit that referenced this pull request Dec 16, 2014
Reorganized the code to functional modules
@mnapoli mnapoli merged commit 9e84e12 into master Dec 16, 2014
@mnapoli mnapoli deleted the feature/modules branch December 16, 2014 05:45
@mnapoli mnapoli mentioned this pull request Jan 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant