-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
[VOLT] Support for embedding blocks into other blocks #133
Comments
The same question. Is there a plans to implement this feature? |
Greetings! |
Hi, is there any plans? I think this feature is important. |
+1 |
I upvote for the feature |
Agreed. It would be nice to have a block inside an if statement. |
I think it's very useful feature. Waiting for this! |
Actually this is why i'm using twig instead of volt |
+1 for this great feature |
Any improvements after almost a year? As for me, this is the most needed missing feature in Volt |
This will be implemented in Phalcon 2 with Zephir |
At this moment, Phalcon 2 is missing some features from 1.x and still not stable enough for using in production. Why don't you fix this bug in Phalcon 1.3.3? |
+1 to implement this feature in 1.3.x |
It seems, developers are focused only on 2.x branch and will not implement any new features in 1.3. Anyway, this wasn't implemented for 1.5 years so... You can use Twig if you need this feature. |
@phalcon told
|
Just curious, when will Phalcon 2 be released? |
So the reason not to use Twig or Smarty is that I suppose Volt is considerably faster in compiling templates since I suppose that the engine is written in C. And it seems that the compiled code is pretty clean too... |
And i use twig because I assume that the template are cached once they are parsed ;) |
+1 We need it so bad! |
I have moved to Twig completely for rendering templates. It's more mature and has better docs. |
Hi guys, do we have some updates for this feature? |
Any news on this one? Definitely needed. I am developing current project with volt, just ran into the problem. Now I have to decide if I want to re-write all views in twig/smarty. Only two weeks from the deadline now. |
@reedgz I'll be addressing this soon |
@andresgutierrez Thanks man. I am still developing with volt; just used some |
Nothing at all? |
I switched to Twig as well... |
I wonder why Phalcon team created VOLT, which causes a lot of troubles for framework users. Twig's mature and performance are too great (templates are compiled to php, then it will be cached by Zend Opcache + add-on Twig C extension). What happens if Phalcon team drops Volt to improve project's development speed? |
@redstrike "A LOT OF TROUBLES" "TOO GREAT" |
I need this feature as soon as possible! please, it's a shame that this magnificent framework doesn't have something so important. Thanks |
up |
+1 |
This is the only reason I use Twig instead of Volt. Fixing this would be awesome, I would switch back to Volt right away. |
One of the most commented feature in this milestone and in the same time in the end of TODO list ) |
+1 |
Im giving up using Volt cause that feature, in large and complex templates is very painful maintain using only one level of inheritance. Using phalcon only in API for Vue front. |
I would suggest to reads jurijags reply again. Use either Twig or Smarty3 in stead of Volt, it might be slower in compilation time (when the template changes) but it won't matter in execution time (when the template is rendered). |
No twig or smarty3, only blade - twig and smarty3 are not really plain php - for each blocks etc they steal are using many objects and classes for no reason. Blade is pretty much similar in speed as volt on cached views. |
Don't know Blade too well but does it support infinite inheritance? From the examples I only see one level, similar to Volt. I agree with Jurigag that Smarty and to a lesser extent Twig is somewhat bloated, but one might like the modular and extensible nature of that. In the end the compiled template defines most of its speed and efficiency. It boils down to a matter of taste. We can agree that Volt still has to improve to compete... |
+1 |
In version 4.0 of Phalcon it will be possible to use blocks |
Closing in favor of phalcon/cphalcon#13855. Will revisit if the community votes for it, or in later versions. |
Is there a deadline for this feature or will it be postponed forever? |
This will be addressed when we start working on v6 which will be the PHP version of Phalcon. There is no deadline as of yet and it has not been abandoned. Once v5 is out and stable we will start working on v6 |
What do you mean by PHP version?
Is Phalcon Zephir extension going to be dropped?
If that's the case, how will Phalcon retain its advantage over other
frameworks without a natively compiled leg?
I get that a pure PHP version allows Phalcon to be used wherever you can
run PHP but what really makes Phalcon desirable are its performance.
I'm afraid it might just become another Symfony over time but I hope to be
wrong!
Il mer 22 set 2021, 15:53 Nikolaos Dimopoulos ***@***.***> ha
scritto:
… This will be addressed when we start working on v6 which will be the PHP
version of Phalcon. There is no deadline as of yet and it has not been
abandoned. Once v5 is out and stable we will start working on v6
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/phalcon/cphalcon/issues/329#issuecomment-924953482>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXFM2HC44MUHXU33O3O2D3UDHNVXANCNFSM4AC4UPQQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
This has all been outlined in our blog (https://blog.phalcon.io).
|
@gianks Please read this blog post - https://blog.phalcon.io/post/phalcon-roadmap |
Stale bots are the plague of GitHub making any inactivity a sign of "everything is great now" and closing unresolved issues... |
Yeah, after today I am considering deactivating it. I had to remove the stale label from over 20 issues so far :/ |
With inheritance of multiple files like a.volt extends b.volt extends c.volt, I have to use embedding blocks. Otherwise there's no profit to use inheritance more than one nesting level.
The text was updated successfully, but these errors were encountered: