Recommendations
- As you develop more AJAX pages you will probably start to build up a library of common JavaScript functions. These are best externalized in a separate .JS and shared by all your AJAX pages, rather than repeated.
- Set up some naming and usage standards for the content of the virtual clipboard. This will make life easier for other developers, encourage reuse and minimize information bloat. For example:
Major Name Space: AJAX (virtual clipboard name part 1)
Minor Name Space: CUSTOMER (virtual clipboard name part 2)
|
In effect, you have AJAX.CUSTOMER.NAME and AJAX.CUSTOMER.ZIPCODE
Major Name Space: AJAX (virtual clipboard name part 1)
Minor Name Space: PRODUCT (virtual clipboard name part 2)
|
Major Name Space: ACCOUNTING (virtual clipboard name part 1)
Minor Name Space: USER (virtual clipboard name part 2)
|