Comments (13)
I like Sonata, but it's quite a lot of code - really big deps. I never used it in big project, but I know that as the project grows, it can become a bit problematic to extend / customize. I don't think we'll ever integrate any admin generator bundle into the core. Resource bundle is much simpler and so far does the job. :) Still, I think it's super simple so put Sonata admin for existing app / custom models + Sylius. I never heard about any conflicts. Thanks for raising this topic!
from syliusresourcebundle.
I leave it open if anyone want to participate / discuss. :)
from syliusresourcebundle.
I agree. Sonata is not a good option for this project, it has a lot of dependency and requires a initial knowledge. I'm totally against.
from syliusresourcebundle.
My biggest fear is that it can stand in the way. So -1
On 7 May 2013 14:35, "Marcos Passos" [email protected] wrote:
I agree. Sonata is not a good option for this project, it has a lot of
dependency and requires a initial knowledge. I'm totally against.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/30#issuecomment-17539275
.
from syliusresourcebundle.
I respect the decision, but just the get that right:
I started this discussion, because my thought was, that you can save some effort, if you rely on existing solutuions you don't need to maintain yourself (on the one side) and also to avoid X different Admin-Panels because of NIH, but this arguments makes me wonder a little bit:
- It has dependencies and
- One must get used to it?
(Beside: One cent for every time I hear "We should build it on our own, because it's much simpler 😉)
Still, I think it's super simple so put Sonata admin for existing app / custom models + Sylius. I never heard about any conflicts. Thanks for raising this topic!
I don't know exactly, if I understand you. Maybe (if I find some time 😉) I'll look at some kind of sonata-admin-integration, but I don't think it's worth the effort...
from syliusresourcebundle.
I starting using the SonataAdminBundle, but soon found it was just to much, the application I'm building is very specialized and Sonata made this way to complicated. Using it for the backhand was good enough but the customer section would be hell because of the complex routes and plug-ability of things, but as Sonata provides some good things I started extracting things like the route builder and batch processing.
Now that I find this beauty, things changed for the better!! 😄 I can use this bundle for most things that Sonata is to bloated for, but use the things that Sonata did a great job at and combine them.
The goal is to combine the extracted thing to an open source bundle, but I'm not completely sure if that is going to work so don't except anything anytime soon. 😦
from syliusresourcebundle.
Update.
The good news is that for Datagrid handling (including batch actions) I found https://github.com/Abhoryo/APYDataGridBundle
The bad news is that things like automatic route loading, breadcrumb building, navigation and such would require more work and some sort of Admin class, doing this will bound it to much to an implementation (as I'm using the MopaBootstrap bundle) and parent handling for the route generation is not something everyone uses the same way, so instead I'm just going to work on this and make Gist of things when I'm done 😄
from syliusresourcebundle.
@sstok check https://github.com/fsi-open/datagrid-bundle for data grids and https://github.com/fsi-open/datasource-bundle for data collections that are used by data grids.
from syliusresourcebundle.
I have actually looked at both :) from what I could see so far the fsi-open/datagrid-bundle has no support for handling batch actions (only a column type).
from syliusresourcebundle.
Actually fsi-open/datagrid has no support for handling any kind of actions by default. It is like the form component, it gives you form object with methods like bind but you need to write request handling on your own.
from syliusresourcebundle.
Ah interesting, looking at it (allot better) everything I wand to do is perfectly possible :)
from syliusresourcebundle.
-1
I have explored Sylius & Sonata integration, and found it best to keep the two entirely separate; even considering using separate kernels for the two (see: Sylius/Sylius#84).
The first problem I see with backpedaling and using Sonata for the backend is it seems like it would be a lengthy undertaking that would delay a "ready-to-go" Sylius/Sylius.
The second problem I see is that a lot of the bloat associated with Sonata doesn't make sense for Sylius (only a select few entities would benefit from datagridding, products, options, etc.)
But, what I would like to see is something like my RFC above. Sonata is great for content, so maybe using some of those components to build a paid-content version of Sylius.
from syliusresourcebundle.
-1 again
from syliusresourcebundle.
Related Issues (20)
- Refactor OperationRouteFactory to set of smaller classes
- Handle results of operation events
- Add flash from event
- Resource identifier
- Custom resource name
- Custom resource plural name
- Custom operation path
- Custom operation short name
- Operation route path factory improved
- Unable to access "form.factory" service from Symfony 6 in ResourceController
- Symfony 6.3 deprecation doctrine subscribers HOT 1
- Call to undefined method createBuilder HOT 3
- [Bug] The HttpFoundationRequestHandler class is not compatible with some form usages
- Replace scalarNode with enumNode usage for "only", "except" routing configuration
- Update rector.php config to php8.0 and constructor property promotion in particular
- Replace usage of "Gedmo\Sluggable\Util\Urlizer" with "Behat\Transliterator\Transliterator", since it's already used internally
- Complete code refactor after "RouteFactory" was introduced
- Configure phparkitect/arkitect rules for design considerations
- SyliusCrudRoutes: lost routes after last update
- Cleanup aliases for `sylius.resource_metadata_collection.factory.attributes` service
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syliusresourcebundle.