Hello,
I’m looking to make my Miva codebase more modular and maintainable. Currently, my code is quite linear and repeatedly embedded directly in templates, which works, but isn’t ideal for larger projects.
Ive looked at using items and templates but can't seem to find exactly what I need. These were my ideas:
Creating reusable functions within items or including templates within other templates. Ultimately I want something like reusable functions I can access within a template.
Any tips are appreciated, and so far I am just using the admin panel.
Also, feel free to share any Miva advice for a JavaScript/PHP webdev.
Would love to hear your insights and experiences on this!
Cheers,
David
I’m looking to make my Miva codebase more modular and maintainable. Currently, my code is quite linear and repeatedly embedded directly in templates, which works, but isn’t ideal for larger projects.
Ive looked at using items and templates but can't seem to find exactly what I need. These were my ideas:
Creating reusable functions within items or including templates within other templates. Ultimately I want something like reusable functions I can access within a template.
Any tips are appreciated, and so far I am just using the admin panel.
Also, feel free to share any Miva advice for a JavaScript/PHP webdev.
Would love to hear your insights and experiences on this!
Cheers,
David
Comment