PDA

View Full Version : Creating Your Own Snippets of Code


2bz2p
10-01-2008, 02:23 PM
Hi,

So I find myself always creating little code snippets in one site that can be used over in another site. Then I have to change sites to get to the snippets I have already created. My question is how do I create my own snippets in that block on the bottom right that has all the DW snippets in it.

Thanks
2b

Rob_Che
10-01-2008, 09:49 PM
Hmmm... I can't help but it's a nice idea.
I'd be very interested in the responses...

Shall we call it a toolbox ? or library ? or a "box" :)

edbr
10-02-2008, 03:30 AM
highlight the code you want,right click>>create new snippet

2bz2p
10-02-2008, 03:39 AM
Your The Bomb Thank you

davidj
10-02-2008, 06:58 AM
the ultimate snippet

reuse code time and time again without writing it time and time again

its called....

OOP

2bz2p
10-02-2008, 11:48 AM
the ultimate snippet

reuse code time and time again without writing it time and time again

its called....

OOP


I didbnt catch that whats its called again lol

I know its time I start reading about it.

2b

davidj
10-02-2008, 03:01 PM
2b

i have a Core class with an extends sub class example

i will post it tonight so you can pick through it

maybe a conference to discuss

2bz2p
10-02-2008, 06:01 PM
2b

i have a Core class with an extends sub class example

i will post it tonight so you can pick through it

maybe a conference to discuss

Sounds good

Thank you
2b

davidj
10-02-2008, 07:38 PM
ok

i have included everything needed

run the sql script to create your db

you also need to set the password variable in connections

contact me when you want to discuss

2bz2p
10-03-2008, 02:53 PM
I have it all set up, though I have to work this weekend, but a conference wold be appreciated becuase $this -> is killing me lol

I will have a deeper look into it, once I get a minute. Been a busy week.

thanks again
2b

Rob_Che
10-03-2008, 11:09 PM
highlight the code you want,right click>>create new snippet
Really !? D'oh !

2bz2p
10-04-2008, 11:27 PM
Really !? D'oh !


I know "goes to bang head against a wall"

2b