Code Monkey home page Code Monkey logo

Comments (12)

araqiel2552 avatar araqiel2552 commented on August 13, 2024

If I have the time, I work on it this week.

from weapsy.

lucabriguglia avatar lucabriguglia commented on August 13, 2024

Thanks but I'm still not sure about the implementation, there are no db entities for the templates yet.
And I'm not even sure if it's the best way to handle it.
We could just read the available page and module templates from the theme folder.

from weapsy.

lucabriguglia avatar lucabriguglia commented on August 13, 2024

I keep this as assigned to myself at the moment.

from weapsy.

araqiel2552 avatar araqiel2552 commented on August 13, 2024

Okay :)

from weapsy.

lucabriguglia avatar lucabriguglia commented on August 13, 2024

@adanb007, @araqieldev let's decide what is the best approach for selecting page and module templates :-)

from weapsy.

lucabriguglia avatar lucabriguglia commented on August 13, 2024

Definitely using the database.

from weapsy.

adanb007 avatar adanb007 commented on August 13, 2024

I agree, using the DB to manage the templates.

from weapsy.

adanb007 avatar adanb007 commented on August 13, 2024

Please let me know if we reach agreement and who will be doing the work!

from weapsy.

lucabriguglia avatar lucabriguglia commented on August 13, 2024

Absolutely, we could even split the work.
In the meantime I probably need to refactor the domain part as at the moment the templates have a separate aggregate but it's probably better to add them as entities in the theme aggregate.

from weapsy.

adanb007 avatar adanb007 commented on August 13, 2024

Understood Luca. I am the newbie here, so, I will await instructions :)

from weapsy.

lucabriguglia avatar lucabriguglia commented on August 13, 2024

I decided to keep the templates in a separate aggregate and add a ThemeId property.
I'm going to amend the validation of template creation by checking that the linked theme exists.
Once finished that part I'll create separate tasks to address the selection of the default templates at site and page levels.

from weapsy.

adanb007 avatar adanb007 commented on August 13, 2024

Understood!

from weapsy.

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.