Giter Club home page Giter Club logo

Comments (4)

FloSeas avatar FloSeas commented on July 30, 2024

I think it's more the architecture of your code that is false. i'm not sure but i think this way is impossible for now but you can easyly do that another way.

from multisite-bundle.

giovkanata avatar giovkanata commented on July 30, 2024

Hi and thanks again, I just only needed of someone that confirm I could not do with annotation (I'm new on symfony2 and the docs about "override a template" is not clear), however I've already found a simple method to do that without use a Template annotation.
Please, can you explain me better what you mean with I think it's more the architecture of your code that is false?
My mother tongues are Italian and Russian :-)

from multisite-bundle.

FloSeas avatar FloSeas commented on July 30, 2024

I'm a french native speaker although.

I think but I'm maybe wrong, that annotation are not yet dynamic. We don't have real good Aspect oriented Programming yet in PHP, so how would you change dynamicly annotation? I'm pretty sure it's impossible right now except writting an new AOP bundle that have more features than the jms one.

But i'm not expert, you should ask your question on diffrent forum's, my personnal answer is :don't use annotation if you want dynamic routes.

If you find someone that is able to dynamicly change annotation i'll be happy to read that because i'm interested too.

so do what you found with more code and use your solution without the @template I think it's a better solution,

good luck!

from multisite-bundle.

giovkanata avatar giovkanata commented on July 30, 2024

Thanks for your help!

from multisite-bundle.

Related Issues (10)

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.