Comments (15)
After #28 we could do this API first :)
Im thinking https://api-platform.com/docs/admin :D
from symfony-demo-app.
@ro0NL like this:
from symfony-demo-app.
That one kinda lines up with something else 😉
from symfony-demo-app.
Don't know. Does it? ;-)
from symfony-demo-app.
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.
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.
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.
@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.
@kochen sweeet :) can you submit a PR with your progress so far?
from symfony-demo-app.
@ro0NL done!
we still need to figure out how to make the edit form work.
from symfony-demo-app.
One year left (
from symfony-demo-app.
: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.
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.
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.
closing as per #59 (comment)
im focusing on the backend/API part anyway.
from symfony-demo-app.
Related Issues (20)
- Demo Site is down HOT 2
- Switch to Docker
- Could not scan for classes inside "var/phpunit/phpunit-7.5/src/" HOT 1
- Feature Request: Invitations HOT 4
- Add docker elasticsearch container / fix JWT
- Shell for user-bundle demo with bootstrap and jquery HOT 1
- Document Social Media Login HOT 1
- Use API Platform + SF Messenger dedicated
- Ditch src/DataFixtures in favor of yaml fixtures
- Implement ongr-io/ElasticsearchBundle
- Foreign key error on staging servers HOT 1
- Multiple email: forgot password looks for email in users table... HOT 4
- msgphp_user.current.email takes always credential email HOT 4
- Multiple email - forgot password always sends email to primary email HOT 1
- Switch Eav\Attribute to use string identifiers
- Switch Elasticsearch container
- No alive nodes found in your cluster error HOT 6
- Flatten structure HOT 1
- Add Symfony HTTP Responder
- Documentation for implementing email confirmation HOT 1
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 symfony-demo-app.