jquery - Making your javascript maintainable -


I am in the process of converting an internal application to use more Ajax through jQuery. I'm moving away from the standard code behind the existing ASP.NET application and I'm including JavaScript methods that are going to run on the client side. My concern is that what is the best way to keep this app behind for those who follow me

I have found that the build script is the key to success in javascript to succeed. Basically, on the final page, to be a bit quicker and quicker, you need a script that is worthy of development.

If you use the building process, then you can break the files in your JS based on the functionality.

  • All your codes

  • Strip comments
  • Unify files
  • / obscure / compress code
  • Version files for deployment
  • Push

It leaves you to work on files which is logical and makes it ready to organize for your production.

>

Comments