Urgent! - Registering a URL Handler for a RunRev Application

Mark Schonewille m.schonewille at economy-x-talk.com
Tue Jan 27 08:51:56 EST 2009


Hi Dave,

If the server only returns 0 or 1, you'll have to have a user base of  
tens of thousands for the server to run into performance issues.  
Probably, the problem won't be data traffic but requests for  
connections queueing up at the port.

The ChatRev server and its clients are continuously sending pings and  
pongs and we're chatting at the same time, without any problems.

To make your app register URLs, you should probably edit the pList of  
your standalone as described at Cocoadev.com and handle AppleEvents in  
a simple AppleEvent handler in your mainstack.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to  
discuss your custom software project!

On 27 jan 2009, at 14:34, Dave wrote:

> Hi All,
>
> This is a Mac only question!
>
> Is it possible to register a URL Hander for an Application built  
> using RunRev?
>
> Please see:
>
> http://www.cocoadev.com/index.pl?HowToRegisterURLHandler
>
> Which describes (sort of) how to do it for a regular Cocoa  
> Application.
>
> Some specific questions are:
>
> Will this work in the IDE?
>
> On a Standalone, how would I get the URL string in order to find out  
> what to do?
>
> To give a bit of background to this, I have an app that "polls" the  
> server every 5 seconds or so to see if there is updated data  
> available. This has worked ok up to now, but the server team are  
> worried that it will kill the server if there are many Clients  
> polling. On the Windows application (written in RealBasic) they have  
> handled this, I need to do something similar for the Mac version.
>
> Any help on this would be greatly appreciated since I'm not really  
> sure on where to start!
>
> All the Best
> Dave
>




More information about the use-livecode mailing list