Now that we all use the Grid for every project we do, how about we also have GridData added to the Core to compliment the fact we have the Grid in the Core?
Would Skybrud be up for it or are plans already afoot?
I don't think everyone uses grid on every project. But I like the idea of having some kind of strongly typed grid model in core. We use Skybrud.GridData on all our projects.
You should create a feature request at issues.umbraco.org
We would be totally okay with this package being added to the core. But there are probably some technical parts we need to discuss with the HQ as well before doing so - eg. how it works with third party packages, if it would create any breaking changes etc.
As Søren suggests, I think the right step forward would be to create an issue (feature request) on the tracker, and we can then discuss it further with the HQ - and users can upvote if they like the idea.
It does however not provide strongly typed models for the value of each grid control, as it just exposes an instance of JToken representing the underlying JSON.
GridData in the Core
Now that we all use the Grid for every project we do, how about we also have GridData added to the Core to compliment the fact we have the Grid in the Core?
Would Skybrud be up for it or are plans already afoot?
I don't think everyone uses grid on every project. But I like the idea of having some kind of strongly typed grid model in core. We use Skybrud.GridData on all our projects.
You should create a feature request at issues.umbraco.org
Anyone not using the Grid in every project isn't doing Umbraco justice...
Thanks, Soren, I will wait for someone at SkyBrud to let me know if there already plans and if not if they agree?
Some clients just can't handle managing content via the grid, it's not always the best route.
It is a great and powerful tool to have, and a strongly typed version is never a bad thing :)
Matt
Hi Mark and thanks for the feedback :D
We would be totally okay with this package being added to the core. But there are probably some technical parts we need to discuss with the HQ as well before doing so - eg. how it works with third party packages, if it would create any breaking changes etc.
As Søren suggests, I think the right step forward would be to create an issue (feature request) on the tracker, and we can then discuss it further with the HQ - and users can upvote if they like the idea.
By the way - Umbraco 8 adds some support for strongly typed grids:
https://github.com/umbraco/Umbraco-CMS/blob/dev-v8/src/Umbraco.Core/Models/GridValue.cs
It does however not provide strongly typed models for the value of each grid control, as it just exposes an instance of
JToken
representing the underlying JSON.Thanks Anders, noted.
is working on a reply...