Notable PHP package: Auto Version

Recommend this page to a friend!
  PHP Classes blog     Notable PHP package: ...   Post a comment   See comments (0)   Trackbacks (0)  


Viewers: 174

Last month viewers: 1

Categories: Notable Packages

Web applications often use JavaScript and CSS files that are regularly updated. This is a challenging problem for Web applications because browsers often cache these files on their side for effeciency reasons.

This package implements a solution that consists in generating automatic names for URLs that these files should be requested, so when a file changes, applications will use a different name.

Read this article to learn more details about how this notable PHP package works.

The package Auto Version is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Generate automatic names to version JS, CSS files

Here follows in more detail what it does:

This is a simple class that can generate automatic names to version JS, CSS files.

It takes as parameter the file name of a JavaScript or CSS file for instance.

The class generates an automatic name to make it be versioned. i.e. the file name includes a number that is the timestamp of the time of the last modification of the file.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.

You need to be a registered user or login to post a comment

Login Immediately with your account on:



No comments were submitted yet.

  PHP Classes blog     Notable PHP package: ...   Post a comment   See comments (0)   Trackbacks (0)  

For more information send a message to info at phpclasses dot org.