Re: [Flashcoders] AS3 Api writing

2008-02-14 Thread Sidney de Koning
Hi Mark, Thanks for all the extensive information, think i got all the theory coverd, now it up to uml'ling and then coding. Thanks! Sid Mark Lapasa wrote: I honestly think from what you've said so far, you're already on track. You've got quite a bit to get started. My only recommendation

Re: [Flashcoders] AS3 Api writing

2008-02-13 Thread Glen Pike
Hi, Have not written anything myself, but have played with quite a few AS2 ones. The SWXFormat project has quite a few API's for some of the services you mentioned, but they are still working on porting SWX to AS3. I guess one thing to suggest would be to get involved with the

Re: [Flashcoders] AS3 Api writing

2008-02-13 Thread Glen Pike
Hi, Do you mean you want to write Web Services or the AS3 code to use these? For the former, you would probably want to look on other lists as this will be server side code - for PHP, the only thing I can recommend is to look at Pear's libraries for common web services and see if you

Re: [Flashcoders] AS3 Api writing

2008-02-13 Thread Cédric Tabin
Hi Sidney, What's the goal of your API ? It is only for your private use or you plan to make it OpenSource ? You may have different constraints that comes depending on that (I mean). I'd say, a good API is a useful API (and also well documented) :) Regards, Cedric On Feb 13, 2008 5:52 PM,

Re: [Flashcoders] AS3 Api writing

2008-02-13 Thread Mark Lapasa
(If you already know about this, my apologies in advance) A useful API is a well documented one. If you haven't already looked into it, ASDoc is a code documentation tool that will generate your documentation based on how you apply the ASDoc syntax in your code. Glen Pike wrote: Hi,

Re: [Flashcoders] AS3 Api writing

2008-02-13 Thread Sidney de Koning
Sounds like a very good tip :) The thing is i want to start writing my own api's. But i have no idea where to begin, what is a good starting point for me? Cheers, Sid Mark Lapasa wrote: (If you already know about this, my apologies in advance) A useful API is a well documented one. If you

Re: [Flashcoders] AS3 Api writing

2008-02-13 Thread Sidney de Koning
I'm planning on opensourcing it (is that a word?) I get my data from an external source, in json or xml. I can write normal code to process that, but an API is somthing else, there is alot more involved. And that is what i'd like to learn. For instance when you look at the AS3 API for the

Re: [Flashcoders] AS3 Api writing

2008-02-13 Thread Sidney de Koning
He Glen, Thanks for your post; What i want to do is this; take data from an external source (an API for some service) and write a wrapper for flash (i found the right termonoligy :) ) But there is not that much documentation on writing this. Any good resources will help. Thanks, Sidney

Re: [Flashcoders] AS3 Api writing

2008-02-13 Thread Mark Lapasa
I honestly think from what you've said so far, you're already on track. You've got quite a bit to get started. My only recommendation would be if you can have your client objects either interacting with an Interface class or a Facade instead of accessing directly the concrete