GithubHelp home page GithubHelp logo

Comments (6)

ivantcholakov avatar ivantcholakov commented on June 8, 2024

I don't see such an error. http://iridadesign.com/starter-public-edition-4/www/non-mvc/demo.php
Perhaps is comes from a customization?

I have no a directory Assets with capital A.

from starter-public-edition-4.

Exelord avatar Exelord commented on June 8, 2024

Yep, I checked again and it was my fault. Did u have integrated any library for minify css or js? You know... Application are modular so I extended it to have own module`s assets for each one. Every page can have different combinations of the modules so I made a library to combine css and js and include it to main HTML as one file. And here will be helpfull minify. Did you know some good libraries?

from starter-public-edition-4.

ivantcholakov avatar ivantcholakov commented on June 8, 2024

Unfortunately this is my weakness. I have no time for researching and choosing the best one. At the moment I know this solution:

https://github.com/tonydewan/Carabiner

And there is a CMS that uses it:

https://github.com/srpurdy/SharpEdgeCMS

Edit: Carabiner should be tested with CI3, but I don't expect big problems.

from starter-public-edition-4.

Exelord avatar Exelord commented on June 8, 2024

Its a Good tool 👍. I used some functionality and works prefect exactly as I want.
But I noticed that assets loaded form eg.: (i use special controller to load it)

module
-assets
--img
---some-pic.png

is not caching. Is it can be problem with .htaccess file or with normal privileges to platform directory?

from starter-public-edition-4.

ivantcholakov avatar ivantcholakov commented on June 8, 2024

You are placing module-specific assets within a protected place. Everything that is under platform/ directory should not be accessed by the browser.

I have seen that PyroCMS used this way, but I don't recommend it, it is insecure. Of course, you may tweak the .htaccess files on your responsibility.

from starter-public-edition-4.

Exelord avatar Exelord commented on June 8, 2024

hmm.. You have a right. It will be better to make good structure of assets folder and than just during install the module copy content of assets folder to right place.

from starter-public-edition-4.

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.