| Author |
Message |
Guardian
Site Admin


Joined: Jan 06, 2006
Posts: 3779
Location: Poland
|
Posted:
Fri May 30, 2008 7:38 pm
|
|
I don't know how others handle organising their code snippets.
I started out creating seperate files in a folder and placing my snippets and other useful code snips in there so I didn't lose them but I have been using Snippely now for a few weeks and finding it a really useful tool for storing my categories code snippets in one place.
http://blog.mootools.net/2008/3/15/snippely
Snippely uses the mootools framework and Adobes AIR platform to provide a useful storage of code snippets that should be cross platform independant. So no matter what OS you use, it should be transportable across those platforms.
I am also just starting to use it for logging custom code changes to my site too. Whilst it is good practice to commenting your code, if you accidentally over write the file, your comments are gone so you are back to square one (if you lost your back up too). |
_________________ Nuke Reviews |
|
|
 |
montego
Site Admin


Joined: Jan 06, 2006
Posts: 99
|
Posted:
Sat May 31, 2008 4:57 pm
|
|
Nice find sir. Very interesting. Something to consider...
Regarding my own personal custom code changes for my sites I have just found it invaluable to just put my entire site (each one) into subversion. This makes upgrades to the core soooo easy because I get a visual queue using Tortoise as to what has changed and can very quickly re-apply / merge my customizations.
I do, however, also keep a separate list of which scripts I have customized by site so that I can always double-check if I've caught everything. |
|
|
|
 |
Guardian
Site Admin


Joined: Jan 06, 2006
Posts: 3779
Location: Poland
|
Posted:
Sat May 31, 2008 5:36 pm
|
|
I'm still trying to figure out how to get SVN working on the server so thats not an option for me ATM and I'm actually thinking of ripping it out, out of frustration.
I have (just) started using Beyond Compares remote compare facility but I'm not entirely happy I can rely on it as it seems to be geared to file timestamps rather than CRC which means as my server time is offset from my local time, it doesn't always 'pick up' on some changes.
I originally used it (Snippely) during my recent coursework foray into js as I picked up quite a few snippets and tidbits along the way so it became a handy reference of 'how to' as well as code samples.
The main thing was, everything was in one place - I still have a tendancy to 'scatter' stuff when I'm in a hurry and save things in the most inappropriate places
Glad the link might be useful to you though  |
_________________ Nuke Reviews |
|
|
 |
montego
Site Admin


Joined: Jan 06, 2006
Posts: 99
|
Posted:
Sat May 31, 2008 5:43 pm
|
|
I now I must apologize. You just reminded me that I was to help you get SVN set up. So sorry sir. Is this something that you still would like some help on? You know my "number"... lol. |
|
|
|
 |
Guardian
Site Admin


Joined: Jan 06, 2006
Posts: 3779
Location: Poland
|
Posted:
Sat May 31, 2008 6:36 pm
|
|
No need to apologise Sir! like most of us in this great community, we are split from here to the 12th of Never with a 'to do' list that expands by the square root of the number of items we cross off it
No problems, it can wait a while longer
Edited by me to correct stupid typo's - it was a long day and I was tired  |
_________________ Nuke Reviews |
|
|
 |
|
|