AnthonysWebLLC / CodingStandards

CakePHP Plugin which assists with keeping Coding Standards
0 stars 0 forks source link

Add HTML validation #11

Open AnthonyAstige opened 11 years ago

AnthonyAstige commented 11 years ago

Via w3c API / file upload method with full action rendering? Would probably need configuration in project to do this, unless can figure out a way to do it right on .ctp files non-rendered

AnthonyAstige commented 11 years ago

See http://validator.w3.org/docs/install.html for installation information

Still need to render .ctp to HTML somehow. Again, probably via configuration. I would want a really easy way to do this. And also will need to check upon changing. Perhaps parse code for use?

Could probably be parsed:

  1. Layout & view file use map
  2. Element use map tree
  3. Actions we don't need as much / any manual configuration for:
  4. No parameters
  5. No database tables (tough to do probably)

Hard to get and probably best manually configured:

  1. Action variables
  2. Database settings (Use Fixtures?) (Just use existing database?)

Then for each file edited, run test on all related actions we have enough configuration information to test with.