-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove template simple? #1615
Comments
Honestly, I'd like to remove our forks of There are some things that we need to work through first, and most of them affect people that may have built their own skeleton apps for use with Thanks for bringing this idea to our attention! |
Sounds good to me. I made a branch and removed Template::Simple, at least. Is it ok to send a pull request, for review? |
Absolutely! |
Great! |
My 2 cents: Dancer::Template::Simple isn't a fork of Template::Simple. It was written from scratch and unfortunately has the same name as another template module on CPAN. Dancer2::Template::Simple is there to ease anyone using Dancer::Template::Simple to migrate to D2. Dancer::Template::Tiny was never part of Dancer's core. Dancer2::Template::Tiny includes a fork of Template::Tiny with extra functionality. The request to merge that into Template::Tiny has sat there for over 9 years, and with Ovid's fork for Template::Tiny::Strict in the past week, safe to assume will never be included. If I had to remove one template engine from D2 core, I'd remove Dancer2::Template::Tiny. We can turn that into its own module on CPAN for those that need or want it. If we remove Dancer2::Template::Simple, we need to add to migration docs what the alternatives are in case someone uses that in the D1 app and wants an upgrade path. |
Good input, thank you! Perhaps add to the migrations docs and set a deprecation time, if a decision is made to remove Template::Simple? I can start adding to the migration docs in the pull request. |
This is one thing to come out of Issue #1615 on GitHub. Got me to thinking about why we have two template systems in core when we really want to steer devs to other template engines. After talking with SysPete and veryrusty, it was decided we should update the pod here to clarify what role Dancer2::Template::Simple fills, and to consider splitting Dancer2::Template::Tiny to another distribution.
This is one thing to come out of Issue #1615 on GitHub. Got me to thinking about why we have two template systems in core when we really want to steer devs to other template engines. After talking with SysPete and veryrusty, it was decided we should update the pod here to clarify what role Dancer2::Template::Simple fills, and to consider splitting Dancer2::Template::Tiny to another distribution.
I would like to discuss if it would be possible to remove template::simple in favor of using the bundled implementation of template::tiny as the default template engine in Dancer2?
At the moment, the project is bundling both template::simple and template::tiny. The docs recommend users not to run template::simple in production, so it may make more sense to steer people towards template::tiny and template::toolkit.
If nothing else, the code would become slightly smaller by removing template::simple.
Any thoughts on this?
The text was updated successfully, but these errors were encountered: