Menu

PhpMyCodeGenerator 2.11.0 Released

This release improves the JS API, adds/updates/removes some instructions/scripts, and fixes some bugs:
- JS API updates: pass sheet arguments as JSON string to preserve data type, add a new method pmcs.form.post().
- Add two code generators to index.php: 1. gen_script for non-web scripts; 2. gen_wscript_rpc for RPC via Ajax.
- New instructions: 1. RUN_ASYNC for running a command asynchronously; 2. IS_CLI and IS_WEB for checking whether PHP is running in command line or in web context; 3. EVAL_CELL_ARRAY for evaluating PHP code in the spreadsheet more conveniently.
- Instruction updates: 1. XML_FROM_CELL_ARRAY - support forming a string for a text node using a cell array. 2. PROMPT and PROMPT_PWD - use AutoIt in the web context in Windows.
- Remove the deprecated instruction RE_MATCH.
- Update the index web script to list the available spreadsheets, add a script "wscript - list sheets" to support code generation (for the "script") or page generation (for the "wscript") via the browser, and remove the useless script "wscript - run script".
- Add a subroutine "script_sub - mssql data type" for providng the conversion function (which replaces the function convert_data_type_from_sql_server_to_java() from example.php), and update the subroutine/script "script_sub - entity&DAO", "script - my_testX" and "script - test control flow" accordingly.
- Update some example scripts to work properly in the web context.
- Update the example script "script - run local script" to show *.xlsx files too.
- Update installation scripts to install Selenium Server 2.4.0 and Zend Gdata 1.11.10.
- Rename versionMinor to version_minor, to use similar naming convention as other members.
- Fix: import Exception for classes in ArrayToExcel.

Posted by Tsoi Yat Shing 2011-08-21

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.