Hi Giuseppe, GC> The following data will be retrieved and stored on memory and disk.
GC> NEWS ORIGIN ; NEWSID ; NEWSLINK ; NEWS TITTLE ; NEWSDATE ; NEWS DATE ADDED; GC> FILE ID GC> When news are loaded in memory or retrieved from internet some methods will GC> be attached to the news list like "read, delete, refresh, GETLINKS (site GC> dependent), getpictures, REFRESH NEWS (site dependent)". It sounds like you have a common data structure, with custom method implementations. No need for objects yet, though you could use them if you wanted to. GC> Thinking old programming code (C above all) it would be a simple addition of GC> a pointer addressing the proper library of code containing the required GC> functions. No problem in REBOL. You can either reference a function directly (they are first class values), or you could use a word! that refers to the target function, and evaluate it on demand. GC> 10-20 news sites with 10-20 codes used to retrieve 10.000 news. A user can't make use of 10'000 items at once, so it's not like you'll need to show them in a list all at once. What I'm getting at is that you may not need 10'000 items in memory, you may only need 1'000, which could mean you don't have to worry about the implementation as much. Can you write your program out as pseudo-code? That is, if you had a magic language that understood what you wanted to do, how would you write your program? GC> REBOL needs some more docs. Anything specific you're looking for? REBOL actually has a lot of docs out there, the problem is that they're scattered around and maybe not organized as well as they could be. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
