Why do we need both client side and server side validation? [closed]

Client-side validation just avoids the client from going “but I filled this all in and it didn’t tell me anything!”. It’s not actually mandatory, and in reality, client-side validation is a very new thing (read: 5 years old or less). In practice, all it does is prevent your client (with JS enabled) to know whether … Read more

Laravel 5.2 Validation Error not appearing in blade

Try to remove web middleware if you’re using 5.2.27 or higher. The thing is now Laravel automatically applies web middleware to all routes inside routes.php and if you’re trying to add it manually you can get errors. app/Providers/RouteServiceProvider.php of the 5.2.27 version now adds web middleware to all routes inside routes.php: protected function mapWebRoutes(Router $router) … Read more

tech