This is more than anything else, if the code is completely completely abstracted / can be reused, and if so, if you think you really need to reuse it at any time in the near future. I usually get a mixture of both; general functionality abstracted in plugins, and custom user code that configures these plugins and customizes everything that is unique to this page.
, , , . , , , , . Javascript .