GithubHelp home page GithubHelp logo

Comments (15)

ro0NL avatar ro0NL commented on June 15, 2024 1

After #28 we could do this API first :)

Im thinking https://api-platform.com/docs/admin :D

from symfony-demo-app.

kochen avatar kochen commented on June 15, 2024 1

@ro0NL like this:
image

from symfony-demo-app.

GwendolenLynch avatar GwendolenLynch commented on June 15, 2024

That one kinda lines up with something else 😉

from symfony-demo-app.

ro0NL avatar ro0NL commented on June 15, 2024

Don't know. Does it? ;-)

from symfony-demo-app.

ro0NL avatar ro0NL commented on June 15, 2024

From https://medium.com/@ssmusoke/excellent-job-on-this-have-been-able-to-easily-integrate-with-my-application-fb5b5d2156be it may be worth checking EasyAdmin also and demo both admin environments (API first / traditional).

https://github.com/EasyCorp/EasyAdminBundle

from symfony-demo-app.

kochen avatar kochen commented on June 15, 2024

Hey @ro0NL,
just my 2cents here, EasyAdmin is a very good solution, but it uses ORM/Crud directly, which would "contradict" a bit the Command Pattern way.
It is possible though to write your own (admin) controllers, but you'll have to do them manually for each and every entity - maybe for an "only user" system/demo is fine...

P.S, your link to Medium requires login (for some unclear reason)

from symfony-demo-app.

ro0NL avatar ro0NL commented on June 15, 2024

@kochen

would "contradict" a bit the Command Pattern way.

yeah... totally :") but in theory it should be possible, simply for having those ORM entities. Im curious regarding the out-of-the-box experience.

It is possible though to write your own (admin) controllers, but you'll have to do them manually for each and every entity - maybe for an "only user" system/demo is fine...

Agree. For demo purpose that seems reasonable.. although the "default" way would be preferred.

Link updated. Thx.

from symfony-demo-app.

kochen avatar kochen commented on June 15, 2024

@ro0NL fair point, if eventually it works out of the box because you have those entities that could be a great benefit.

from symfony-demo-app.

ro0NL avatar ro0NL commented on June 15, 2024

@kochen sweeet :) can you submit a PR with your progress so far?

from symfony-demo-app.

kochen avatar kochen commented on June 15, 2024

@ro0NL done!
we still need to figure out how to make the edit form work.

from symfony-demo-app.

divined avatar divined commented on June 15, 2024

One year left (

from symfony-demo-app.

ro0NL avatar ro0NL commented on June 15, 2024

:D @divined personally i gave up on EasyAdmin, moving forward with React Admin +ApiPlatform: #59

i need to merge a working example for sure :)

from symfony-demo-app.

Pictor13 avatar Pictor13 commented on June 15, 2024

Hey @ro0NL would you mention specifically why did you give up on EasyAdmin?


Because... I am struggling with its structure as well.
Basic CRUD is great with it, but I find that some type of extendibility is simply painful and requires quite some overriding; and it's tough to implement DDD practices: strict separation of concerns & immutability in particular (I am not even trying to go so far as using Commands).

from symfony-demo-app.

ro0NL avatar ro0NL commented on June 15, 2024

I find that some type of extendibility is simply painful and requires quite some overriding; and it's tough to implement DDD practices: strict separation of concerns & immutability in particular.

😁 this.

Today, im using APIplatform + separate Vue based frontend. I think REST based JSON+LD / GraphQL is today's practice. Thus separation of concerns out-of-the-box.

Even with API platform im experiencing some of the issues pointed out above (mapping API to entities). But eventually it's a software architecture thingy, thus developer's choice.

So for MsgPHP the frontend is low-prio, as we focus on the API first.

from symfony-demo-app.

ro0NL avatar ro0NL commented on June 15, 2024

closing as per #59 (comment)

im focusing on the backend/API part anyway.

from symfony-demo-app.

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.