- Duration: 2 Hours
Course details
A JavaScript single page application, or SPA, uses a combination of JavaScript libraries and web development frameworks to communicate with the server, consume and manage data, and to display application views on screen. A SPA serves up a single HTML page in which all of the application views are rendered on the client, and data that is retrieved from the server can be cached and efficiently managed on the client. In this course, you will learn how to implement custom data validation rules on the client and server, how to use Breeze validation, how to gather Breeze entity errors, how to parse Breeze entity error messages on the client, and how to display validation errors to the user in a JavaScript SPA in Visual Studio 2013.
- start the course
- define a custom validation rule
- use the Breeze Validator.register() method to register custom validation rules with Breeze
- apply a validator to entities and properties
- add data annotations such as required fields and max length
- create a view for displaying input validation errors on text input controls
- use the errors.entitiesWithErrors.map() function and the entity.entityAspect.getValidationErrors() method
- use a regular expression to parse the returned error object
- use Custom Validation Rules and Report Validation Errors
About New Horizons Lebanon
As changes in technology have accelerated, it’s become even more essential for people to master technology to be productive, invaluable employees who optimize, program and invent solutions—and even grow companies of their own. With over 300 centers in 60 countries, New Horizons is the world’s largest independent IT and Business training company. Over the past 35 years, New Horizons has delivered a full range of IT and business skills/Management training through innovative learning methods that have transformed businesses and helped over 35 million students reach their goals. New Horizons Lebanon branch was established in 1996.
- JavaScript Full stack web developer virtual internship Virtual Bootcamp + Internship at LaimoonAED 1,449Duration: Upto 30 Hours
- The Complete Full-Stack JavaScript Program Alpha AcademyUSD 25
USD 250Duration: Upto 24 Hours - Refactor JavaScript One EducationUSD 25
USD 560Duration: Upto 3 Hours