GithubHelp home page GithubHelp logo

Add remote files about smarty-combine HOT 6 CLOSED

dead23angel avatar dead23angel commented on June 25, 2024
Add remote files

from smarty-combine.

Comments (6)

mazzucode avatar mazzucode commented on June 25, 2024 1

Hi @dead23angel,

For now i will stay with Smarty, it fits very well in my projects. For JS minify i think i will use Google Closure Compiler, it has a nice API, so i can take advantage of it, mainly because it is ES6 compliant.

Thanks for your tips!

from smarty-combine.

dead23angel avatar dead23angel commented on June 25, 2024

@masimao hi!
I did not plan to do support for remote files. I'm engaged in the project in my spare time, since I basically switched to another template engine, I use Blade

from smarty-combine.

mazzucode avatar mazzucode commented on June 25, 2024

Hi @dead23angel,

I am using Smarty with a micro framework we've done. I need to minify a lot of JS/CSS included in each page, so i am looking for the best option.

You switched to Blade because you use Laravel?

Seeing the code i am a little worried only about the use of JSmin, the project isn't maintened anymore and i need a stable and continued solution.

I tried to change to https://github.com/matthiasmullie/minify, but it has bugs with with JS ES6 classes.

Do you have any suggestion that can help to reach my goal?

Thanks!

from smarty-combine.

dead23angel avatar dead23angel commented on June 25, 2024

hi @masimao !
I'm using Blade without using Laravel.
I also use other Laravel packages without using the framework itself, https://github.com/mattstauffer/Torch

from smarty-combine.

mazzucode avatar mazzucode commented on June 25, 2024

from smarty-combine.

dead23angel avatar dead23angel commented on June 25, 2024

Hi @masimao !
I think nothing more than a matter of taste. I did not really like Smarty from the very beginning. But the Blade came to my liking and I immediately began to use it in all my projects.

Plus, you can conveniently use .blade.php files and just .php in the first case, inside the file we will use tags template engine, in the second case, native php

from smarty-combine.

Related Issues (5)

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.