Code Monkey home page Code Monkey logo

liform's People

Contributors

demroos avatar grimpows avatar invis1ble avatar kermorgant avatar mablae avatar nacmartin avatar nico-incubiq avatar ph-fritsche avatar phpwutz avatar sjopet avatar thepolkadotrook avatar victoriaq avatar vutran avatar xabbuh avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

liform's Issues

Integrate bundle code in this repository again

Liform is meant to be used with Symfony.
Seperating the code necessary to install this software as a Symfony bundle just produces overhead maintenance.

If someone wants to use Symfony/Form and Liform outside of a Symfony application he can just use the Liform classes right out of the bundle.

Pattern meaning for date fields

DateTimeTransformer translates the Symfony date fields to a regexp pattern to be compatible with JSON schema.
The resulting patterns represent the syntactical expectation but can lack meaning for consuming libraries.

Including the PHP date format as additional information might be the best solution as there are differences in the expected formats across JavaScript date managing libraries (date-fns vs moment)

Transform FormView instead of FormInterface

Liform used to transform instances of Symfony\Component\Form\FormInterface.

As Liform is aiming to provide data to be sent to the client or used by server-side rendering, it should work with Symfony\Component\Form\FormView instead.

FormTypes can implement Symfony\Component\Form\FormTypeInterface::buildView() and ::finishView() manipulating which data is expected to be the base for rendering.
Liform's output should be content equivalent to e.g. the views rendered per Twig templates.

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.