I am working on the user interface of my website ( www.swalif.com : use chrome to translate if you want), Not familiar with jQuery, I started with JavaScript and now the file is huge: about 1000 lines of code. In addition, the code becomes difficult to process and modify.
Therefore, I was looking for a way in which I could approach this problem in an object-oriented manner, which would lead to a clean, reusable system with good architecture. It would also be nice to use the functions provided by jQuery to save the code .
The problem is that there are many tools, and I can’t decide why I need to invest time to complete this task. e.g. mootools, prototype, jQuery etc. So I need someone to lead me in the right direction.
This is our website www.swalif.com . Any other suggestions are also welcome.
source
share