-
Notifications
You must be signed in to change notification settings - Fork 711
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
Smarty is dead? alternative engine to migrate to #553
Comments
Try laravel blade |
https://twig.symfony.com/ is very nice and is being done by the same devs behind https://symfony.com/ |
It's so sad when the author drops development of something that is still very popular and so advanced. I have few Smarty books on my shelf and I have used Smarty in hundreds of web applications. I usually avoid projects that haven't been in development since a long time, other potential users might see it the same way. It only shows that the developer can't handle his own creation, and even worse, keeps it for himself instead of passing the project for some other people to maintain it properly :( |
So, I have no connection to Smarty creator, Monte Ohrt, but I think your words are every harsh and very wrong. Remember that all of this (smarty, the project, the website, the docs) is done for free by Monte and the wonderful other people who contribute(d) to Smarty such as @uwetews. For free. These people have been taking care of the templating engine you seem to love so much for no money at all, basically giving you and thousand of others their time. To my knowledge, no company is involved into Smarty development so they got no money at all from this project. It seems to be a few sponsors but they are not paying contributors to work on this. So it's actually a miracle these people could work on this project for so long for free while taking care of their family and working (because they need to eat) their job. We should give them thousand thanks for the amazing work they did. Instead of saying "this is so sad, smarty is dead now" we should say "we are thankful for benefiting for this great tool for free and for so long, thanks to the time given by these wonderful people" and give these people hugs. By the way, this miracle has a name. It's called the opensource miracle and it happens everyday. There are hundred of critical tools and libraries that only live thanks to the time given by their maintainers, most of the time nobody acknowledges it. You can read the wonderful article https://onezero.medium.com/the-internet-relies-on-people-working-for-free-a79104a68bcc about this system. So please dont say bad things about the authors of Smarty. As a long-term user of the library, you cant say that. You should be grateful instead. Also if you want the project to continue living, then ... just fork it. That is one of strengths of opensource: a project only dies when nobody is willing to maintain it. Click on this "fork" button at the top right of this page, and you can start maintaing this project with your own time and energy instead of the time and energy of the wonderful people who worked on Smarty. |
Okay, I didn't want it to sound as bad as it did. I'm sorry for that. I am really full of respect to the authors and thankful to all the other people involved into Smarty development. The project is great - simple and advanced at the same time, and works as it should. But even a good code needs to be maintained, as the times change (and when new PHP releases come out). It needs to be continued! It's not good when people start searching for a new project, only because the current one seems to be forgotten. I don't believe that fresh templating engines could challenge Smarty (yet). Yes, I know what open-source is. I didn't propose my own pull requests as I don't miss any functionalities so far. But seeing some of them not pulled in for months is also not encouraging for potential developers. It would be good to have some updated roadmap, to show people what needs to be done. The forum posts are not good for this, it should be clearly visible. I would love to contribute to Smarty if there is a spark of hope to make it running again. Donation of few bucks won't change much, I'd like to really help it. Maybe I can work on the main website to update it in terms of looks and become mobile-friendly? On modern monitors it's too thin, on mobile devices it's hard to use. |
Thanks 😄 Well, the answer should now come from the Smarty founders and maintainers, but I'm afraid they are quite gone :/ . |
A few points I'd like to raise:
Just my experience and thoughts. |
@robo2bobo - exactly, these are the things to be resolved 👍 And I could handle the website and informational part. |
I like this tools and I am not the only one, I use it in all my projects and I can not believe that it is dead without information. I can understand that the authors have now some others things to do but that would be great to have informations. I had a quick look on forks (521). Have you identified some serious? |
Be patient, or fork. |
Dear Smarty user |
Hi Uwe |
Hello @uwetews, great to see you again! :) We all hope you'll get well! |
Hi Uwe, thanks for giving us some news. Health first and hoping you will get better. |
Hello @uwetews , glad to hear that you are still working on Smarty! I really love it and we use it for a huge project. I suspected that something bad happened, because it was a long period with no activity. I hope you will get better soon! Thanks for your work. |
Hi @uwetews I wish you all but good health and strength to actualize all the good things you have in mind. |
Hi Uwe, glad to hear you're fine. IMO the project github readme could benefit from showing some "PHP 7.3 & 7.4 compliant" badge. I see php7.4 snapshot on travis file and I personally tested a lot of projects of my team that are using latest Smarty dev version and PHP 7.4 (with success), which I think is a thing for a lot of people, regardless of "code not touched" in some time. Just my two cents. |
Hi, I confirm that everything is ok with php 7.3 with all my websites based on smarty. |
About "twig". A great reading https://umumble.com/blogs/php/smarty-vs-twig%3A-performance/ |
Let's be careful about this post as it was written in 2011 😅 Twig 3 just got released and has gone a long way for performance improvements (and for Symfony being sluggish, same story: please check latest benchmarks for SF 4 and 5 you'd be surprised). This benchmark is about Twig 1 which is old now. |
I concur. I have some $59 social media script that uses the latest smarty and it is running fine on PHP 7.3.11. :) |
I guess you're telling me this because you noticed I'm working on PrestaShop 😉well I promise you that Twig is fast, Symfony is fast and PrestaShop 1.7 is fast too 😄 However discussing further PrestaShop topic on this issue is maybe irrelevant as this is Smarty's repository, so I'll be happy to help understand where this crazy 30-40 seconds bootstrap comes from if you come chat about it on our gitter channel https://gitter.im/PrestaShop/General to allow us to find out what is wrong through discussion. Obviously 30-40 seconds bootstrap is unworkable and nobody would use PrestaShop 1.7 if it was true for everybody, so it's very likely something is wrong on your instance (bad install ? corrupted files ? exotic apache/mysql/php config ?). |
Hello Uwe, I'm so glad to hear of your recovery... and I want to say Thanks! for all the great years of Smarty you've given us! Would you consider putting up a "Go Fund Me" page or something similar so that we can support your efforts in working on Smarty? Best regards, Jason Ziegler |
There's even the new Github Support feature now: https://github.com/sponsors (basically it's a gofundme integrated into github). I think it would make sense for Smarty, which is used by hundred (thousand ?) of projects/products/companies to receive some funds from them. PHPUnit and XDebug are already using it. |
Sorry to hear that! Wish author fast recovery and lots of health! |
@uwetews I wish you a speedy recovery! Unfortunately, the above discussion started back in early October and its December and we see no updates to Smarty. Maybe it would be ideal to open the project to more developers? if we depend on a one-man project we are going to end up with similar problems in the future. Food for thought :) |
@MackSix Could you please tell me more about this script? Name of it? |
@netsetter The script is Sngine that can be found on CodeCanyon.net |
@MackSix Thanks mate for your fast response! Is your social network already live and usable, so I can have a look? I know already about Sngine, since it was the only script I've found that is build on PHP7 and Smarty3, just wanted to be sure you mean that. |
I customized it and added a knitting project type for a client here: social.freedomknits.com |
Unexpected i Had to Go into Hospital for 2 Week now
Will start working on smarty Afterwards
MackSix <[email protected]> schrieb am So., 5. Jan. 2020, 19:49:
… @MackSix <https://github.com/MackSix> Thanks mate for your fast response!
Is your social network already live and usable, so I can have a look? I
know already about Sngine, since it was the only script I've found that is
build on PHP7 and Smarty3, just wanted to be sure you mean that.
I customized it and added a knitting project type for a client here:
social.freedomknits.com
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#553?email_source=notifications&email_token=AAJQHL5FDDD4VVCOTVML4NLQ4ITU3A5CNFSM4I5XBZYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEID46CA#issuecomment-570937096>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJQHL2XOAFUSACZMQ5ABN3Q4ITU3ANCNFSM4I5XBZYA>
.
|
Get well soon. Thanks for a great template engine.
|
Smarty is not dead :) I am one of the original developers of Smarty at its inception circa 1999. Version 3 could not have been made possible without the help of @uwetews and many, many contributors here. My life has been a whirlwind for some years now and I haven't had a lot of time to devote to Smarty any more. That said, I do maintain the hosting of the website and plan to do so into the foreseeable future. As @uwetews stated he has been dealing with health issues as of late and unable to tend to Smarty. I have added @wisskid to the github repositories so he can help keep pull requests and development up to speed. I thank him for his support! And thanks to all you Smarty users, it's been a great project! |
Smarty apparently is not dead (just slightly in recovery...) so closing this issue. |
I see that Smarty hasn't had any updates in 2019, is it dead?
If yes, then maybe someone could post an alternative php templating engine, so we can start migrating.
Thank you.
The text was updated successfully, but these errors were encountered: