|
Answer» Some of the KEY concepts that should be followed while
- The codes should ALWAYS be divided into specific UNITS of functionality. They can be divided into modules , services etc. This concept is also known as encapsulation.
- Use inheritance TECHNIQUES to avoid rewriting a code again and again.
- The jquery is dom centric in nature but not all applications are such in nature. All funtionalities should not have a dom representation.
- All the units of functionality should be existing in a loosely coupled state. This IMPLIES that a module can exist independently. Also the communication between the units should be possible and should be handled using a messaging system for example custom events.
Some of the key concepts that should be followed while
|