Recent Entries:

Favorite Links

OnTheFly

Why

When you are managing a large code base in javascript you’ll want to organize your files properly having separate files for each classes (the same that you would do with your java classes).

You would then concatenate all your files together and include the concatenated file in your web page to reduce network overhead.

You would do this process on and on…and it takes time.

And the same process applies to css files too

Solution

OnTheFly is a simple servlet that is configured with a ant-like pattern that will concatenate your files for you.

Just add the jar, few rows in the web.xml and you are done.

Open source

The code is open source and hosted on github

This is my first project using git (and github) so feel free to help me with the good work

Known issues and missing features

I will try to add those features soon, specially if I get some feedback

Want to help

Feel free to help and submit a patch or help with the documentation/specification.

I hope that the code you will submit will be unit tested….

Leave a Reply