Search found 22 matches

by Chris Shields
Wed Jan 06, 2010 5:58 pm
Forum: 3rd Party Software from the BR Community
Topic: Scripting Bridge and IIS
Replies: 23
Views: 43629

Excellent! I want to know all the details of how you got that working.

That check for WINDIR is really supposed to check whether you are running on Windows. I'll find a different, more reliable way.
by Chris Shields
Tue Jan 05, 2010 10:24 am
Forum: 3rd Party Software from the BR Community
Topic: Trying to get around using File I/O in scripting bridge.
Replies: 5
Views: 15531

All i see wrong is that missing colon. Also load and save the source in BR just to make sure you have any compile time errors. You also need to run BR and proc the '.prc' files. That way you can debug at run-time. As for the '.err' file, it is produced by BR's "stderr" output. The problem ...
by Chris Shields
Thu Dec 31, 2009 12:11 pm
Forum: 3rd Party Software from the BR Community
Topic: Example of JavaScript working with the BR Web Bridge
Replies: 12
Views: 24856

Mikhail, you are probably just accessing the page incorrectly. Make sure the URL in your address bar starts with http:// rather than file://

This happens when you open a page from Windows Explorer in which case the browser opens the file directly and bypasses the HTTP server (Apache).
by Chris Shields
Thu Dec 31, 2009 12:04 pm
Forum: 3rd Party Software from the BR Community
Topic: Example of JavaScript working with the BR Web Bridge
Replies: 12
Views: 24856

adapter.php is a script I wrote for arbitrary execution of BR code. You pass it the name of the program or library function and it runs it and returns the output to the. More specifically, it is a simple PHP script that implements the BR Bridge class. It is executed by an HTTP request from an HTTP c...
by Chris Shields
Wed Dec 30, 2009 7:28 pm
Forum: 3rd Party Software from the BR Community
Topic: Example of JavaScript working with the BR Web Bridge
Replies: 12
Views: 24856

Note: This is a response to a mailing list post that was disallowed on the forum because html extensions were not allowed. I enabled them so I am posting the reply on the Forum. I used the latest version of BR bridge from sourceforge.net. In the demo directory, I modified index.html to call JavaScr...
by Chris Shields
Wed Dec 30, 2009 5:57 pm
Forum: 3rd Party Software from the BR Community
Topic: Example of JavaScript working with the BR Web Bridge
Replies: 12
Views: 24856

I know that JSON is the format of choice over XML for many developers. From what I understand, the way to go is to write BR functions that use print statements to generate JSON data. BR returns this JSON data to adapter.php which in turn returns it to the browser using echo $broutput The web page a...
by Chris Shields
Tue Dec 29, 2009 7:17 pm
Forum: 3rd Party Software from the BR Community
Topic: Example of JavaScript working with the BR Web Bridge
Replies: 12
Views: 24856

JavaScript can only access outside data with an HTTP request. So you still need The Bridge.
by Chris Shields
Thu Dec 17, 2009 4:26 pm
Forum: 3rd Party Software from the BR Community
Topic: Scripting Bridge and IIS
Replies: 23
Views: 43629

Which version of Windows are you using?
by Chris Shields
Thu Dec 17, 2009 2:49 am
Forum: Announcements
Topic: New BR Web Bridge Release Avaliable - 0.9.2 Beta
Replies: 1
Views: 13876

New BR Web Bridge Release Avaliable - 0.9.2 Beta

I put together a new release of the Bridge. You can get it here: https://sourceforge.net/projects/brwebscriptingb/ This release includes a couple if enhancements. 1. Settings for the bridge are now contained in a separate file, "settings.php". This file includes comments that explain each ...
by Chris Shields
Thu Dec 17, 2009 2:34 am
Forum: 3rd Party Software from the BR Community
Topic: Scripting Bridge and IIS
Replies: 23
Views: 43629

I checked out Bridge and it looks like Fileio is configured properly but I did notice that one of the demo apps, the 'itemlist', was just showing a blank screen. I didn't debug it because it worked fine with my latest working copy. I updated the downloads so you can get the latest copy with the chan...
by Chris Shields
Wed Dec 16, 2009 4:36 pm
Forum: 3rd Party Software from the BR Community
Topic: Scripting Bridge and IIS
Replies: 23
Views: 43629

No. It should work as-is. I hope I didn't overlook something is the last release. I will check and get back to you.

Swamped right now so it will be later this evening.
by Chris Shields
Wed Dec 16, 2009 4:14 pm
Forum: 3rd Party Software from the BR Community
Topic: Scripting Bridge and IIS
Replies: 23
Views: 43629

This is an issue with Fileio. It should set the LAYOUTPATH$ to "filelay\" by default.

Check the fileio settings at the beginning of the Fileio library. This specifies where you are storing the CSV files that define your layouts.
by Chris Shields
Wed Dec 16, 2009 3:34 pm
Forum: 3rd Party Software from the BR Community
Topic: Scripting Bridge and IIS
Replies: 23
Views: 43629

Change the "name=" parameter to an actual file name. This "STD_OUT" is a feature of 4.2 that only works in unattended mode. Sorry. Forgot that detail. I will make it so that when you turn on the debugging features it uses normal file output like it does with 4.18. That way you wo...
by Chris Shields
Wed Dec 16, 2009 2:51 pm
Forum: 3rd Party Software from the BR Community
Topic: Scripting Bridge and IIS
Replies: 23
Views: 43629

One of the Bridge options is to leave the temporary files instead of deleting them when it is finished. It should be the second to last parameter in the 'run' method of the BrExec class. This is executed in 'adapter.php'. Set this parameter to 'true'. The next time you try to access the page it will...
by Chris Shields
Tue Nov 24, 2009 2:57 pm
Forum: Advanced Concepts
Topic: Fileio to Context Manager Import
Replies: 3
Views: 6925

There is a lot of ongoing development on this front. There will will be a new version of Fileio and ODBC. The new Fileio is currently being tested with against current Fileio implementations. It converts all existing layouts to the new format while retaining the CSV based format for backwards compat...