Client wanted vteam #454 to improve code quality and efficiency of the project by using latest .NET and scripting technology. He wanted us to work more on client side development using jQuery rather than server side. This would result into a large amount of client side code for multiple Ajax calls which would make it difficult to manage for us and a time consuming process too.
We suggested him to go with MVC5 for code structure and AngularJS for client side development instead of using massive code of jQuery because AngularJS can work for multiple Ajax calls and even much more than jQuery could do. It is easy to write and run unit tests and end-to-end tests for AngularJS applications. Dependency management is effortless and intuitive. Binding dynamic data to views is straightforward and powerful. Client agreed to our suggestion.
Single Page Application has been chosen for client side of this project. Instead of using jQuery Code, AngularJS was chosen because it gives more power, control and flexibility. For server side, MVC along with Entity Framework was chosen. The performance of MVC gives a real boost to the overall application speed. To enhance and cater futuristic needs, Web API is being suggested too.
vteam #454 used Bootstrap to give responsiveness to the website. HTML control classes were replaced with Bootstrap classes for better look and making the interface user friendly. Because of Single Page Application nature of the project, we used a 3rd party router which handles all the routes.
We used Data service feature of AngularJS for API calls from client end and used Web APIs in our new MVC structure which was basically implemented using Repository pattern and Entity Framework to connect with the Database.
The outcome is a more fast, robust and user friendly application. This application is a way more flexible and scalable as compared to the past. The client was very happy and we received tons of appreciation from his side for our team.