.com Solutions Inc. - logo  
Products - Header Buttons
.
FmPro Script Diff bullet item 7b FmPro Layout Diff bullet item 7b FmPro Migrator bullet item 7b CGIScripterbullet item 7b SQLite Diff
.
.
.
. .

FmPro Migrator Demo Graphic

FmPro Migrator Demo Available for download...

. .

 

...
.

News Item - FmPro Migrator - Title Graphic


.

1-25-2010 - Fremont, CA - .com Solutions Inc. Releases FmPro Migrator Platinum Edition 5.46 with PHP and BASIC to LiveCode Conversion Features.

The BASIC and PHP to LiveCode conversion features included with FmPro Migrator Platinum Edition help automate the conversion of PHP and BASIC code into the Rev development platform. Rev and the LiveCode language can be used to deploy applications to MacOS X, Windows and Linux desktops, as a Web browser plug-in revLet, the server and mobile devices (including the iPhone).

FmPro Migrator traverses all subdirectories of a selected top-level source directory and converts all of the PHP or BASIC files which it finds. The converted LiveCode code is either saved as an .irev file in the destination directory, or as a card script assigned to a card within a new Rev stack file. The high performance conversion process is able to process hundreds of files within a matter of seconds, saving many hours of boring and tedious manual labor.

PHP to revTalk Window

The PHP to LiveCode conversion features include:
• PHP Variable Conversion - The $ character is removed from PHP variables and the variable name is checked to determine if it conflicts with an existing Rev keyword or function name. Conflicting variable names are changed by adding an underscore character to the end of the name.

• <?php tags are converted to <?rev tags - The <?rev tags will be usable within .irev files but will be removed if the code is being saved into a Rev stack. Code outside of <?php tags is assumed to be HTML code and it is either passed thru without changes within .irev files or it is commented out within Rev stack code.

• Trailing Semicolon And Curly Bracket Removal - Each complete PHP instruction is terminated with a semicolon which is removed during the conversion. Code blocks including conditionals and Try/Catch statements are bracketed with curly braces, which either get removed or replaced with the appropriate LiveCode instruction.

• Commonly Used Keyword Conversion - Keywords such as IF, ELSE, TRY/CATCH, REQUIRE, SPRINT, WHILE are converted into the equivalent LiveCode instruction.

• Commonly Used Function Conversion - Some built-in PHP functions including trim(), strlen(), printf(), strtolower() and strtoupper() have direct equivalents in LiveCode so these are converted accordingly.

• PHP Operator Conversion - PHP operators including = =, = = =, ++, - -, &&, and || have direct equivalent operators or replacement keywords which are used in LiveCode.

• Custom Function Conversion - LiveCode functions don't use parenthesis surrounding the parameter list and don't need to have opening and closing curly brackets so these are removed. The closing curly bracket is replaced with the end keyword followed by the name of the function.

• Multi-line HERE Document Code - PHP scripts often include blocks of text/HTML containing variables which are evaluated and placed into a variable. The HERE document spans multiple lines and is converted into a single line LiveCode put statement.

• Code Indenting - Code indenting and comments are retained from the original code in order to improve the readability and maintainability of the converted code. However you can easily reformat the code by clicking the TAB key within the editor in the Rev IDE.

BASIC to revTalk

The BASIC to LiveCode conversion features include:
• Support for Multiple Versions of BASIC - BASIC syntax from a variety of development environments is supported, including (but not limited to) : Visual Basic, VBScript, VBA, PowerBasic, ZBASIC/FutureBasic and RealBasic.

• BASIC Variable Conversion - BASIC variables on the left side of an assignment operator or within a DIM statement are converted to LiveCode variables by removing trailing data type characters. Conflicting variable names are changed by adding an underscore character to the end of the name.

• <?rev Tags Added to .irev Files - If .irev files are selected as the output file type then <?rev and ?> tags are added to the file so that it will be executable by the On-Rev web server.

• Commonly Used Keyword Conversion - Keywords such as DIM, LET, FOR/NEXT/LOOP/WHILE, SELECT/CASE, FUNCTION/SUB are converted into the equivalent LiveCode commands.

• Custom Subroutine and Function Definition Conversion - Subroutines and functions are converted into LiveCode "on HandlerName/function FunctionName" definitions closed with "end HandlerName/FunctionName".

• Commonly Used Function Conversion - Some built-in BASIC functions including Trim(), Len(), Exit, Inc/Dec, LCase(), UCase(), XOr are converted directly into the equivalent LiveCode functions.

• SELECT CASE Statement Conversion - SELECT CASE code is converted into LiveCode SWITCH code with a "break" keyword added to close each CASE block.

• Code Indenting - Code indenting and comments are retained from the original code in order to improve the readability and maintainability of the converted code.

Demo Mode and demo revLets - By default, FmPro Migrator Platinum Edition processes 5 scripts of unlimited length in demo mode without a license key. Also, each of the detailed info pages include a demo revLet which converts PHP or BASIC code to LiveCode within a web browser.

For more info about the PHP to LiveCode conversion feature, please see:
http://www.fmpromigrator.com/services/php_to_LiveCode_service.html

For more info about the BASIC to LiveCode conversion feature, please see:
http://www.fmpromigrator.com/services/basic_to_LiveCode_service.html

FmPro Migrator Platinum Edition is priced at ($600) per developer and includes a copy of FmPro Migrator Platinum Edition for both MacOS X (Universal Binary) and Windows platforms. Existing FmPro Migrator Developer Edition customers may upgrade to FmPro Migrator Platinum Edition for $400.

A functional demo version of FmPro Migrator may be downloaded from http://www.fmpromigrator.com/downloads/demo_software/index.html

.com Solutions Inc. develops multi-platform graphical applications supporting FileMaker Pro, Bento, SQLite, Oracle, MySQL, Access, SQL Server, Sybase, DB2, OpenBase, PostgreSQL, FrontBase, Valentina, Revolution and Servoy developers. FmPro Script Diff, compares and edits FileMaker Pro scripts. FmPro Migrator ( www.fmpromigrator.com ) converts FileMaker Pro databases to and from FileMaker Pro, SQLite Diff compares SQLite database schema and data.

hline

. .

.

 

. .

 

 

 

Home | Products | Services | Downloads | Order | Support | Contact

Legal Notices

.
.   .
.
Home Products Services Downloads Order Support Contact