On Fri, 27 May 2005 15:39:36 -0400,  wrote:

>news <[EMAIL PROTECTED]> wrote on 05/27/2005 02:46:09 PM:
>
>
>> 
>
>It is possible to do just what you propose. You could even FT index your 
>code so that you could find certain key phrases (assuming that the 
>keyphrase you want is at least 4 (or 3) characters long and does not 
>appear in over 50% of the documents. HOWEVER, it is more proper to store 
>files in a file system and just store the files path information in a 
>database (along with other information like who it was for, who wrote it, 
>etc.)
>
>Once you start doing that, though, you might as well take that last 
>itty-bitty step and move into a full version-control system. There are 
>several out there, many of them are free. Not only do they keep your code 
>well organized (and protected, usually) but it allows you to do all sorts 
>of interesting things (like reverting to previous versions). That way if 
>you modified the same file 5 times for 5 different clients, you wouldn't 
>have to have 5 copies floating around. Your VCS software would allow you 
>to regress your current version to any prior version.
>
>In my humble opinion, that's the appropriate class of tool for the task 
>you mention. Some sample names of VCS software: BitKeeper, Visual Source 
>Safe. 
>
>Shawn Green
Shawn,
I maintain, update dozens of websites, and many more sites that have been 
archived. Many of them
have hundreds of pages but I'm only involved in a few of them etc. What I'm 
looking for is a way of
storing,identifying code nuggets. I currently do this in flat text files but 
these are better suited
to recording say a "cute mysql query" etc than a wodge of html. and already use 
Googles Desktop
Search, plus my own Intranet Search grep,find, etc. Now amongst other problems 
these pages have
non-unique names index.html etc. I feel the question of whether I should be 
using VCS is another
issue, probably should be! I 'm searching for another level of retrieval 
sophistication. Sad that a
database does not appear ideal. Welcome any lateral ideas

-- 
zzapper
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & success tips


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to