Giter Site home page Giter Site logo

Comments (11)

swalkinshaw avatar swalkinshaw commented on August 18, 2024

Wasn't a conscious decision, just overlooked. It's on our radar after being suggested by this guy:

https://twitter.com/kchrist/status/413401599050924032
https://twitter.com/kchrist/status/413402133568831489

from bedrock.

metalmatze avatar metalmatze commented on August 18, 2024

Nice, that'd be awesome!

from bedrock.

 avatar commented on August 18, 2024

If you were to do this I think it'd be a good idea to talk about file permissions in the readme as it could end up causing problems for some users if they accidentally changed them.

from bedrock.

swalkinshaw avatar swalkinshaw commented on August 18, 2024

Just a note that I've got a branch with this idea implemented: https://github.com/roots/bedrock/tree/web-folder

from bedrock.

swalkinshaw avatar swalkinshaw commented on August 18, 2024

/cc @kennwilson as well :)

from bedrock.

eastmanenator avatar eastmanenator commented on August 18, 2024

I agree with that opinion
web directory should be isolated from config files

from bedrock.

metalmatze avatar metalmatze commented on August 18, 2024

Is there a reason to call the folder web/?

I think public/ is a more often used name, right?

from bedrock.

eastmanenator avatar eastmanenator commented on August 18, 2024

@metalmatze: you're right. it seems to me that the public is now more popular name... can be found in many projects on ruby, php - symfony, laravel

from bedrock.

swalkinshaw avatar swalkinshaw commented on August 18, 2024

When public is used in frameworks like Rails, Symfony, and (I think) Laravel, it's for purely static files. Usually assets like JS, CSS, images. I went with web here because it's quite different than that. It still contains WP Core, plugins, themes, etc.

from bedrock.

 avatar commented on August 18, 2024

swalkinshaw is right, public usually refers to the static files that obviously the public can access, which you do not want for the WP core & plugins.

from bedrock.

swalkinshaw avatar swalkinshaw commented on August 18, 2024

Closing as #32 has been merged in.

from bedrock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.