Validatie
          Klik om het opmaakprofiel van de modelondertitel te
          bewerken
   Tom Maeckelberghe




5/13/09
Jquery validation
$("#formid").validate({
    rules: { lastname: { required : true} }
);
PasswordConfirm : {equalTo : “#Password”}
•
      Username: { regex : “^[a-zA-Z0-9_]{3,16}$”}
•
      Email: { email : true }


    5/13/09
Jquery validation
•
    Ajax
•
    Custom validatie regels
•
    DRY => Dit laten renderen uit de
    validatieregels van het model.




5/13/09
Serverside
•
    Dry
•
    Restful
•
    Railsway




5/13/09
Rails




5/13/09
5/13/09
ASP MVC
•
    Clear separation of concerns
•
    Testability - support for Test-Driven
    Development
•
    Fine-grained control over HTML and
    JavaScript
•
    Intuitive URLs


5/13/09
Perfect replacement for rails?
•
    NO, ASP MVC is just a good option you
    have if you want to devellop an ASP app.
    –
        It doesn’t have an answer for everything rails
        does




5/13/09
Demo
•
    Booking application with
    –
        Authentication
    –
        Validation




5/13/09
Want to know more
•
      www.asp.net/mvc
•
      www.stackoverflow.com
       –
           Community
       –
           Q&A
       –
           Answer in Max 24 hours
Rails:
•
      http://agilewebdevelopment.com/plugins/client_side_validation


    5/13/09
Vragen?




5/13/09

Validation

  • 1.
    Validatie Klik om het opmaakprofiel van de modelondertitel te bewerken Tom Maeckelberghe 5/13/09
  • 2.
    Jquery validation $("#formid").validate({ rules: { lastname: { required : true} } ); PasswordConfirm : {equalTo : “#Password”} • Username: { regex : “^[a-zA-Z0-9_]{3,16}$”} • Email: { email : true } 5/13/09
  • 3.
    Jquery validation • Ajax • Custom validatie regels • DRY => Dit laten renderen uit de validatieregels van het model. 5/13/09
  • 4.
    Serverside • Dry • Restful • Railsway 5/13/09
  • 5.
  • 6.
  • 7.
    ASP MVC • Clear separation of concerns • Testability - support for Test-Driven Development • Fine-grained control over HTML and JavaScript • Intuitive URLs 5/13/09
  • 8.
    Perfect replacement forrails? • NO, ASP MVC is just a good option you have if you want to devellop an ASP app. – It doesn’t have an answer for everything rails does 5/13/09
  • 9.
    Demo • Booking application with – Authentication – Validation 5/13/09
  • 10.
    Want to knowmore • www.asp.net/mvc • www.stackoverflow.com – Community – Q&A – Answer in Max 24 hours Rails: • http://agilewebdevelopment.com/plugins/client_side_validation 5/13/09
  • 11.