bridge

Access Silverlight's createObject via Javascript's new operator?

feel free to skip down to the question below I'm trying to create a bridge so a huge javascript application can be replaced by a new Silverlight-based rewrite as smoothly as possible. In the legacy application, there is this JS class: function LatLng(lat, lng, url) { /* snip... */ } And it is being used a lot throughout my customer'...

silverlight tcp tunneling / bridging

I have an application that I develop in Silverlight and it must connect to another legacy app that I cannot control which demands TCP connection on the 3005 port. I can't modify the legacy app to bring the port in the silverlight accepted range (4502 - 453x). Is there a bridging app / another solution that would listen on a configurabl...

Is there any JMX - REST bridge available?

Hi I would like to monitor a Java application using the browser but at the same time utilise the existing JMX infrastructe. I know that JMX provides a HTTP interface but I think it provides a standard web gui and its not possible to mashup its functionality with an existing system. Are you aware of any REST interface for JMX? My rese...

mySQL JOIN syntax using bridging table

Hi folks, I am trying to export some data from two tables bridged by a third table that stores the one (file) to many (keywords) relationship. Tables are like so: files id, url, title keywords id, word bridge file, word What I want is to produce an export that has one row per file like this: files.id, files.url, files.title, keyw...

Calling Python from JavaScript

Is there a simple way to call Python libraries from JavaScript? Especially from the inside of a Firefox extension. A good option to compile a pure Python library would also be great. I looked at Pyjamas, but it seems to offer only partial support for Python. ...

Using Apple Scripting Bridge in C

I'm wondering if it is possible to use Scripting Bridge (as discussed here) in C. What I'm trying to do is control and/or get information from Apple applications (such as iTunes, see link listing 2.1 & 2.2 on above link) which is fairly easy using Objective-C. I could write those parts in Objective-C using C, but that would get pretty c...

create iTunes playlist with scripting bridge

hey i am trying to create a new user playlist using the cocoa scripting bridge, but cannot seem to get it to work. i have so far: iTunesApplication *iTunes = [SBApplication applicationWithBundleIdentifier:@"com.apple.iTunes"]; SBElementArray *iSources = [iTunes sources]; iTunesSource *library = nil; for (i...

How can you interact with Perl programs from Ruby?

It's my understanding that there's no "bridge" between Ruby and Perl to let you call into Perl functions directly from Ruby. It's also my understanding that to call a Perl program from Ruby, you simply put it in backticks(i.e. result = `./helloWorld.pl`). However, this doesn't allow interaction with the Perl program(i.e. you can't intera...

BlazeDS Flex-AJAX Bridge load doesn't work with Ext.JS

The FDMSLib for the Flex-AJAX bridge has a load function that renders a flash object to the page where ever it is called. This causes problems when using Ext.JS as the inserted object can either be discarded by another render function or cause conflicts during the rendering of the page, so I'm trying to rewrite the load function so that...

What is the best way to communicate between JavaScript and Actionscript 2.0 and 3.0

What about support for major browser? IE 6+. FF 2+, Opera 9+, Safari 3+, Google Chrome? It is good idea to use actionscript to generate graphics (interface developed in JS and standard HTML forms)? Maybe its better to use canvas? What about performance? ...

Could not access php session variable once the tomcat restarts

Hii.. I am developing an applicaton in java which needs to integrate some php files under tomcat server. I did everything successful, but the problem is that when i shutdown tomcat server it shows some error like Exception in thread "JavaBridgeSessionTimer" java.lang.NullPointerException at php.java.bridge.SessionFactory$Sessi...

How to calculate bridge method target...

Generics bring in a lot of goodness to java but they also mean trouble because of the introduction of bridge methods which mean its not easy to locate a method given a name and target because erasure and bridge methods mean clients actually use the bridge rather than the target. Return types from methods have been omitted because they a...

freely floating Adobe Flex application panes inside a browser window

In a browser-deployed Flex app, is it possible to create several freely floating and independently draggable panes, each of which contains Flex GUI elements, and each of which can communicate with each other as well as with the DOM via the Flex-Ajax Bridge? ...

Facebook. Problem with Flash calling a FBJS

i use FBML for the FB application I have a flash and the flash suppose to call a javascript on the page. I read so many websites trying to figure it out but still having problem. Here is the Webpage with the javascript: <fb:fbjs_bridge/> <div id="swfContainer"></div> <script> // the javascript to call and change the text of ztest001 f...

How to 'Bridge'/'Stream'/'Forward' an Incoming HTTP Connection (Advanced Proxy)

Not sure if this is possible..basically a server forwards/bridges an incoming connection Client -> Server -> Destination Now, rather than a normal proxy script on the server(or a simple redirect), 1) the Destination sees the incoming connection as from the CLIENT (not from the SERVER).. aka masking the server 2) the Server in the midd...

How to build n-layered web architecture with PHP?

I'm dealing with the 3-tier architecture PHP website. Now,i need to redesign it to suрроrt distributed n-tier architecture.After long hours of research i came to this solution: business logic should be separated into presentation and purely business logic tier to allow for n-layer architecture(user-interface,presentation tier,b.logic an...

Database setup of bridge/integration between scripts

If I'm using an integration/bridge script for a cms and forums, more specifically drupal or mediawiki and vbulletin, how should I set up the database? Should I have one database named "mysite" and place both cms and forum tables into the same database? So have all drupal tables with "drupal_" prefix and all tables with "vb_" prefix in t...

how to turn off fb_noscript?

in my facebook FBML app, I have the flash connecting to the js (in FBJS) . I have set up the stuffs like that and working. However, sometimes, the bridge connection fails and I see thatin the URL, facebook attach the fb_noscript=1 parameter there. e.g. apps.facebook.com/myapp/?fb_noscript=1 when I remove it, and reload the apps, it i...

Apache FOP generating blank page

Hello,I am trying to generate a PDF using Apache FOP and Java. I am using a valid xsl-fo file which I can create a pdf with using the command line FOP. My problem occurs when I try to run FOP using the Apache FOP Libraries. Running across a java/php bridge. The bride is properly configured and java / php communicate. On the java side ...

CBT / Books / Resources on Bridging Wordpress and Pligg (or Creating a Bridge Generally)

I want to create a bridge between Pligg and Wordpress. Unfortunately, I'm having trouble finding any general information on how to approach the project. I'm a php/mysql amateur, but I have some time to work on this project and learning more is an important benefit for me. Would you recommend any books, websites, tuts, CBTs, or other m...