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

3.0 Configurable Directory Structure #2703

Closed
josephzidell opened this issue Jan 23, 2014 · 2 comments
Closed

3.0 Configurable Directory Structure #2703

josephzidell opened this issue Jan 23, 2014 · 2 comments
Milestone

Comments

@josephzidell
Copy link

We had issue #1975 which wanted to change some of directory structure around. Others wouldn't want that.

I want customize my apps to have the Helpers dir under root, since View is just for view files IMO.

How about we use $config['App']['paths'], and add some more configurable paths, besides just plugins and templates?

@dereuromark
Copy link
Member

In 3.0 we are thinking about moving the Templates out of the View file into APP/Template instead.
View folder contains more than just view files, also the View classes and alike.

Edit: Actually, this has already been done: https://github.com/cakephp/cakephp/tree/3.0/src

@markstory
Copy link
Member

I'd rather not add more generally pointless directories. If you want to put your helpers somewhere else just do it and reference them as fully namespaced classes.

public $helpers = ['App\Awesomeo\BestHelper'];

Will work just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants