Actually… There is more than one
Keep only one copy of your favorite javascript library (and also up to date!)
I use jQuery a lot. No, actually i LOVE jQuery (is small, is fast, is easy to use, you know, usual craps that make you to love it; just like a woman
). To avoid duplicates of jquery, i use a folder called assets (but you can rename as you want as well). Here i keep latest version of jquery and jquery UI 1.5.2 (which now is the last stable version). With wget for windows in the assets folder, i wrote a small script to get latest version:
del jquery-latest.min.js
wget http://code.jquery.com/jquery-latest.min.js
Put this in a file called update.jquery.bat and double click it whenever you want to update your version of jquery (or any other library). This way you can keep all your sites up to date
BE CAREFUL! Some plugins may WON’T work on newer versions of jquery!
Use snippets like a smart guy!
If you use E-texteditor (and if you don’t, then YOU SHOULD!), you probably know what snippets are. But, the question is: are you using them?
I put some snippets all together into an archive HERE. What you should do with this? Go to Start-> Run (or press WIN+R) and write this: %appdata%\e\Bundles then press enter. Extract the archive content right there and…. Done.
In each HTML document you can write ui then press tab. VOILA! A menu with jquery UI components are displayed and waiting for you to pick from there! Ofcourse, you MUST have UI files (minified) in /assets/ui folder (which must be in the root of your project folder). Again, be careful when you update UI. Even though UI 1.6 have same files as UI 1.5.2, there is (still) some issues with 1.6 (actually it’s a beta).
No related posts.
de ce nu-l link-uie?ti de la Google?
(http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js)
Pingback: Get organized! | Ionut Staicu - Webdeveloper Blog