kdyby / doctrineforms Goto Github PK
View Code? Open in Web Editor NEW[ABANDONED] Forms mapping and validation for Kdyby/Doctrine integration into Nette Framework
License: Other
[ABANDONED] Forms mapping and validation for Kdyby/Doctrine integration into Nette Framework
License: Other
Right after installing DoctrineForms i get this exception:
Nette\DI\ServiceCreationException
Service 'doctrineForms.constraintViolationsMapper': Service of type Symfony\Component\Validator\Validator\ValidatorInterface needed by Kdyby\DoctrineForms\ConstraintViolationsMapper::__construct() not found. Did you register it in configuration file?
This can be fixed by editing file Kdyby/DoctrineForms/ConstraintViolationsMapper.php line 21.
Change the use statement from
use Symfony\Component\Validator\Validator\ValidatorInterface;
To
use Symfony\Component\Validator\ValidatorInterface;
Notice there is 2 times \Validator in the namespace (as i checked, this typo is in tests as well and tests will not pass).
nette/*
to absolute minimumThe validations on server-side should be ran only once.
Use all the relation types
With all the variations
Create entity model or extend the CMS model in Kdyby\Doctrine Tests (taken from original Doctrine ORM tests).
In the first iteration, it should be only "skeleton", no mappings implemented, only plain form definitions and thier rendering (can be used the default or BS3 from nette/forms).
With this kind of application ready, I'll be able to figure out the best API for Kdyby/DoctrineForms
, implement it and write tests (or we could join our efforts, but let's iterate on it).
Also, let's prevent possible conflicts, I've created a repository fprochazka/kdyby-doctrine-forms-testing-sandbox, that should server this purpose.
If you wanna participate, write that here and I'll give you push rights to that repository. That way we'll know who's working on it and hopefully nobody will do the same work twice.
Let's be honest here. I have no use for this right now and I probably won't have a use for this for at least another year.
Is there anybody, who wants to take over? We can merge changes from your fork here and you can continue developing it here.
I'll have to deprecate this otherwise.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.