Skip to content

Added component Validator section #5661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 15 commits into from

Conversation

mickaelandrieu
Copy link
Contributor

Q A
Doc fix? yes
New docs? yes
Applies to >= 2.3
Fixed tickets I will update this case later

This pull request is the first from a series that provide a complete documentation for the Validator component.

For now, Installation and Introduction parts will be added, and others sections will refers to the Validator chapters of the Book as suggested by @wouterj .

  • Introduction and Installation of Validator component
  • Loading ressources (+ caching)
  • Built-in validators
  • Validation groups
  • Internationalization
  • Custom validation

@mickaelandrieu mickaelandrieu changed the title Component validator Added component Validator section Aug 29, 2015
@OskarStark
Copy link
Contributor

ping @mvhirsch

.. index::
single: Validator; Built In validators

Built In validators
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

validators -> Validators ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hum ... better to say "Built in validators", what do you think ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be Validators (and below as well). In the docs, we use this title case standard: Capitialize every word except from closed-class words. "Validators/Validation" are not closed class words and have to be capitialized.

@wouterj
Copy link
Member

wouterj commented Aug 31, 2015

Thanks @mickaelandrieu! Do you plan to fill the empty articles in the diff before this PR can be merged? (otherwise, I propose to remove the empty files)

@mickaelandrieu
Copy link
Contributor Author

@wouterj thanks for review, I will improve my work tonight.

I have question on what did you expect to see in Metadata section ? I will fill the empty articles if we agree to the suggested plan, or I can remove theses to get this first pull request OK: as you like :)

@OskarStark
Copy link
Contributor

when will the first part of this PR be available for review/merge?

@mickaelandrieu
Copy link
Contributor Author

@OskarStark I think I need to remove empty sections and this will be ready to merge. I'll ping you when it's done :)

@OskarStark
Copy link
Contributor

thank you @mickaelandrieu

@javiereguiluz
Copy link
Member

What can we do to help this get merged? We recently deleted the old README files for all components, so at the moment there are no docs for the Validator component. This is causing troubles for some users (see symfony/symfony#18108).

@mickaelandrieu
Copy link
Contributor Author

@javiereguiluz I'll remove empty sections and rebase against master branch during the weekend.
Sorry for delay, I've totally forgot this old contribution ^^

@wouterj
Copy link
Member

wouterj commented Mar 11, 2016

@javiereguiluz any reason why the intro docs were removed? They're very usefull (even for already documented components)...

@mickaelandrieu
Copy link
Contributor Author

@javiereguiluz I don't have time to give some love on this old contribution, sorry. I agree to let someone else finish it.

@javiereguiluz
Copy link
Member

@mickaelandrieu don't worry! I totally understand. As I said, trying to write the entire documentation for a component is a big mistake. It's better to bootstrap a small introduction and a basic example. Then merge it and improve it. Trying to do everything at once is too much.

@mickaelandrieu
Copy link
Contributor Author

@javiereguiluz I do agree, was entirely my fault to not finish it when I had time to do :/

What can we keep on this contribution to make it merged in your opinion ? If I only had to remove empty section and keep it "as it" it's ok to me, I can do it now.

Tell me 🐈

@javiereguiluz
Copy link
Member

@mickaelandrieu thank you very much for working on this. To move things forwards, I've created #6584 to finish your work and do some tweaks. Of course I've reused your original commits, so you'll get full credit for your work.

@xabbuh
Copy link
Member

xabbuh commented May 21, 2016

Closing in favour of #6584 then. Thanks for kicking this off @mickaelandrieu!

@xabbuh xabbuh closed this May 21, 2016
@mickaelandrieu mickaelandrieu deleted the component-validator branch May 21, 2016 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants