Online Snippets library

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
AndyP
Posts: 634
Joined: Wed Aug 27, 2008 12:57 pm
Contact:

Online Snippets library

Post by AndyP » Wed Sep 22, 2010 11:21 am

Is there an online code snippets library out there for Rev erm LiveCode?

Not full tutorials, we have them and they are great but just small chunks of code that individuals have used and tested. I know there is a lot of code out there but it's fragmented so a central snippet store I think would be useful.

If not I'm willing to get one up and running.

I'm thinking of having a tree type drill down to the snippets.

Anyone will be able to post thier snippets, suggest new categories etc. The inclusion would not be automatic as to stop bad (spam, porn) content each submission would have to be approved.
Andy .... LC CLASSIC ROCKS!

Johdu
Posts: 7
Joined: Sun Jun 11, 2006 6:07 pm
Contact:

Re: Online Snippets library

Post by Johdu » Wed Sep 22, 2010 11:53 am

Andy, That's a great idea. I made a start with somethign similar a while ago (http://www.revclever.com) but it is very difficult for one person to keep alive. This forum is a fantastic (wise, helpful and friendly) community... but a site devoted exclusivly to adding/sharing short code snippet ideas would be useful to. I'd be happy to collaborate.

John
http://www.revclever.com

AndyP
Posts: 634
Joined: Wed Aug 27, 2008 12:57 pm
Contact:

Re: Online Snippets library

Post by AndyP » Wed Sep 22, 2010 1:24 pm

So as to not duplicate too much I'm continuing this thread here.

http://runtime-revolution.278305.n4.nab ... l#a2550057
Andy .... LC CLASSIC ROCKS!

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: Online Snippets library

Post by shadowslash » Thu Sep 23, 2010 2:38 pm

Johdu wrote:Andy, That's a great idea. I made a start with somethign similar a while ago (http://www.revclever.com) but it is very difficult for one person to keep alive. This forum is a fantastic (wise, helpful and friendly) community... but a site devoted exclusivly to adding/sharing short code snippet ideas would be useful to. I'd be happy to collaborate.

John
Hmmm since the new rev is now LiveCode what should replace the old "rev" prefix? Should it be "liveForums, liveEnterprise, etc"? or "lcForums, etc"
Parañaque, Philippines
Image
Image

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Online Snippets library

Post by Klaus » Thu Sep 23, 2010 3:04 pm

The "official" new SUFFIX is "*.livecode" but "*.rev" also works :D

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: Online Snippets library

Post by shadowslash » Thu Sep 23, 2010 3:20 pm

Klaus wrote:The "official" new SUFFIX is "*.livecode" but "*.rev" also works :D
Yeah but using livecodeForums or livecodeResource (My little project) is a little too long right? Image
Parañaque, Philippines
Image
Image

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Online Snippets library

Post by Klaus » Thu Sep 23, 2010 3:36 pm

Oops, sorry, looks like I misunderstood your initial question.

Yep, "LiveCodeForums" or "LiveCodeResources" IS a bit long,
but hey, I am sure we will find the two or three additional seconds to also type that! 8)

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: Online Snippets library

Post by shadowslash » Thu Sep 23, 2010 3:48 pm

And what about livecodeCacheGeometry, livecodeUpdateGeometry, livecodeDatabaseColumnNumbered.. Imagine those commands inside our scripts Image it would totally affect the length of the scripts! I know revCacheGeometry and the lot can still be used for background compatibility but still, what about new users that would adapt to the livecode prefix? Image I suggest they give out an official prefix for the new LiveCode. Like LC, "lc" seems good Image but I'll have to admit I'll miss the rev prefix if that will be the case... Image
Parañaque, Philippines
Image
Image

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Online Snippets library

Post by Klaus » Thu Sep 23, 2010 4:49 pm

I don't think they will change the internal names for functions and handlers.

On the other side I really don't care, since I never use them,
I'm still working with the spartanic MetaCard IDE and just love it! :D

Post Reply