Replies: 5 comments 12 replies
|
I would actually consider going one step further; This way configuration files such as package.json / box.json / node_modules etc won't get accidentally deployed to the webroot;
But I'm pretty sure the new changes will allow that already. |
|
I actually like your scenario better than mine. I just checked we can identify the webroot in the server.json file so the user could start a server from the root of the application, but have it mapped to the |
|
I'm all in on Tom's suggestion, I'd also agree with the proposal for a "private/local" plugin directory for those that aren't published. |
|
I agree the local plugins folder would be beneficial and could make plugin development easier as well. Keeping in mind that a couple of the other items being integrated for 3.0 are WireBox and TestBox, should there be a plugins folder in the vendor folder and keep plugins primarily the same or simply install plugins directly into the vendor folder and look at the plugins architecture as a whole. -Peter Amiri Sent from my iPhone (auto-typing mispell disclaimer in effect)On Jan 16, 2024, at 3:11 PM, Adam Chapman ***@***.***> wrote:
I'm all in on Tom's suggestion, I'd also agree with the proposal for a "private/local" plugin directory for those that aren't published.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
One final topic for discussion is what should be the name of the |
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
I wanted to open a discussion and get the community's input on a proposed directory structure change in CFWheels 3.0. We are working towards a 3.0 release candidate release in the next week or so and a couple of the features that have already been integrated into the bleeding edge branch are the capability to reorganize or move the application code and
wheelsdirectories with a configuration change. This feature was integrated into the framework as a direct result of a request from the community for the ability to move thewheelsdirectory or the application code out of the root of the website.Alas, one of the mantras of our framework is convention over configuration, so it doesn't seem right to add the capability to modify the directory structure and not actually change the directory structure if most users will want that directory structure to be changed. I'm getting myself all twisted in the words, basically what I'm trying to say is this, now that this capability has been added to the framework, should we entertain the idea of reorganizing the default directory structure of the framework to better align with other modern frameworks and even modern Ruby on Rails itself.
Currently a CFWheels application has the following directory structure:
What I'm proposing as the default new directory structure is this:
As indicated above, the
appand thevendordirectories can be moved completely out of the webroot and there are times when this is the desired solution, but the proposed structure aligns better with modern application design, I think.I would love to hear your input on this proposed change as well as your thoughts weather the
configdirectory should be in the webroot as Ruby on Rails has it or in theappdirectory as indicated in the proposed directory structure above.-Peter
All reactions