Reputation: 1336
We have a framework based in C# + XSLT + javascript, that is used as a base for the projects of the company.
The company has announced that in a few days I will be the responsable of this framework. The objectives are:
The problem is this framework has a lot of bugs, there's not documentation (none, zero), contains bad practices of code, and some antipatterns. (Also doesn't use any naming conventions).
One of the first things I thought was starting for the javascript part, and add jQuery library for use the functions of jQuery for DOM access, XML manipulation and AJAX calls and other stuff, because some of the actuals are buggy.
I'm afraid to be the "so-clever-guy-that-refactors-and-breaks-the-project" and i have to be so careful, because this framework is used in a lot of projects, and breaking the framework would be "so much visible".
How can start to adapt the code to works with jQuery?
Upvotes: 1
Views: 70
Reputation: 9954
The problem you have is not really specific to jQuery. When making changes to a working system, some application of good coding practices is required:
Upvotes: 3