Giter Site home page Giter Site logo

Comments (13)

pjedrzejewski avatar pjedrzejewski commented on May 11, 2024

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.

pjedrzejewski avatar pjedrzejewski commented on May 11, 2024

I leave it open if anyone want to participate / discuss. :)

from syliusresourcebundle.

marcospassos avatar marcospassos commented on May 11, 2024

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.

umpirsky avatar umpirsky commented on May 11, 2024

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.

kingcrunch avatar kingcrunch commented on May 11, 2024

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.

sstok avatar sstok commented on May 11, 2024

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.

sstok avatar sstok commented on May 11, 2024

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.

norberttech avatar norberttech commented on May 11, 2024

@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.

sstok avatar sstok commented on May 11, 2024

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.

norberttech avatar norberttech commented on May 11, 2024

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.

sstok avatar sstok commented on May 11, 2024

Ah interesting, looking at it (allot better) everything I wand to do is perfectly possible :)

from syliusresourcebundle.

dyjo avatar dyjo commented on May 11, 2024

-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.

marcospassos avatar marcospassos commented on May 11, 2024

-1 again

from syliusresourcebundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.