-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Use Underscore.php #559
Comments
@colinmollenhour, thank you for a suggestion! I will ask architects to look at the suggested improvement and let you know of the decision taken. |
@colinmollenhour -- good suggestion but we did not rework any core code to leverage underscore in our platform work for the initial M2 release. As you mentioned community can be innovative now and we'll consider core changes post 2.0. |
👍 |
@colinmollenhour, as it was mentioned by @TexanHogman 'underscore' is not in our nearest plans. |
[Performance] Fast Display and Generation of Product Variations - MAGETWO-55300 [Customer] Fast Display and Generation of Product Variations for Configurable Products
…es_disabled magento#451 disabled sources tab content on manage_stock update
ACPT-1523: Fix Static test failures on application-server
PHP lacks a lot when it comes to syntax sugar, especially when working with arrays. Maybe someday this will be addressed (PHP 6?), but in the meantime there are useful tools to work around these shortcomings. One such tool is Underscore.php which is a PHP port of underscore.js.
One simple example:
Sure, one can include this in their own code, but by including it in core it prevents conflicts and ensures that using it is "ok". Also it could be used to clean up some existing core code.
http://brianhaveri.github.io/Underscore.php/
Just a thought. ;)
The text was updated successfully, but these errors were encountered: