Online Snippets library
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Online Snippets library
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.
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!
Re: Online Snippets library
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
John
http://www.revclever.com
Re: Online Snippets library
So as to not duplicate too much I'm continuing this thread here.
http://runtime-revolution.278305.n4.nab ... l#a2550057
http://runtime-revolution.278305.n4.nab ... l#a2550057
Andy .... LC CLASSIC ROCKS!
-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Contact:
Re: Online Snippets library
Hmmm since the new rev is now LiveCode what should replace the old "rev" prefix? Should it be "liveForums, liveEnterprise, etc"? or "lcForums, etc"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
Re: Online Snippets library
The "official" new SUFFIX is "*.livecode" but "*.rev" also works 

-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Contact:
Re: Online Snippets library
Yeah but using livecodeForums or livecodeResource (My little project) is a little too long right?Klaus wrote:The "official" new SUFFIX is "*.livecode" but "*.rev" also works

Re: Online Snippets library
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!
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!

-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Contact:
Re: Online Snippets library
And what about livecodeCacheGeometry, livecodeUpdateGeometry, livecodeDatabaseColumnNumbered.. Imagine those commands inside our scripts
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?
I suggest they give out an official prefix for the new LiveCode. Like LC, "lc" seems good
but I'll have to admit I'll miss the rev prefix if that will be the case... 




Re: Online Snippets library
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!
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!
