Because templating systems are meant to remove all application/business logic and just focus on the appearance and presentation.But this is kind of a Bauhaus thing. Remember: form follows function (Bauhaus was some sort of German art institute... not to mention a pretty cool new wave band:)
If you accept input > 25 characters, then you are providing a value which does not mesh with the database constraints... there need to be front end checks to ensure that bad data is never presented to the backend.
In reply to Re: Separation of Presentation and Application/Business Logic
by princepawn
in thread the trend of the presentation layer driving application logic
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |