Forum Moderators: phranque

Message Too Old, No Replies

Practical Advice on Code Libraries

How do you store and reuse your code?

         

ukgimp

2:04 pm on Mar 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It is not something I have done to any great extent and as I get more code, from CSS to PHP I need a way to make reusing it as easy as possible.

What I have found myself doing is creating pages/applications etc and storing them. Then when I need an account management system I have to cut the bits out. Not good. How granular should you go to get the best from code libraries so that over time you can cut and paste the bits you need?

Are there any accepted methodologies and does anyone care to share their methods.

brotherhood of LAN

4:07 pm on Mar 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I use notetab to store some code. Usually its PHP or blocks of HTML, for CSS - I am constantly fiddling around with style too much too template it :)

It makes it easy to re-use code - point and click.

My ultimate code library system would involve punching in an ID which created the templates based on the ID :)