Git Product home page Git Product logo

doctrineforms's People

Contributors

fprochazka avatar jiripudil avatar pepakriz avatar richard-ejem avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

doctrineforms's Issues

Form builder

  • build form from entity using whitelisting or blacklisting of fields

Wrong symfony validator namespace is used

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

Create sandbox with example forms that needs entity mapping

Use all the relation types

  • one to one
  • one to many
  • many to one
  • many to many

With all the variations

  • uni-directional
  • bi-directional
  • self referencing
  • relations in containers
  • relations in selects, radiolists, checkboxlists, ...
  • maping columns with different names to different controls
  • ... any other idea?

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.

Future? Deprecate? New maintainer?

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.

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.