升级旧Delphi应用转向支持手机的一个思路

时间:2023-03-09 15:10:50
升级旧Delphi应用转向支持手机的一个思路

系统架构改为B/S。

业务规则所有在服务端实现,使用REST服务封装旧有系统,这样可最大程度的利用原有代码。

client所实用HTML5+javascript,这样client不须布署PC,可极大减少客户的硬件投入。

数据交换用JSON。

$(function () {
$('pre.prettyprint code').each(function () {
var lines = $(this).text().split('\n').length;
var $numbering = $('

    ').addClass('pre-numbering').hide();
    $(this).addClass('has-numbering').parent().append($numbering);
    for (i = 1; i ').text(i));
    };
    $numbering.fadeIn(1700);
    });
    });