您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 数据通信与网络 > ERP在互联网和移动应用中的开发实践
ERP在互联网和移动应用中的开发实践谈少民201703谈少民98年开始写程序的程序员一枚,主攻.net,网名编写人生,原金蝶K3Cloud主架构师,现任鼎捷E10ERP技术总监。代码+配置(千万行)123456DigiwinE10ERPWindowsVista2007KingdeeEAS2010501001000ERP应用软件的特点产值低发展历程......服务端渲染网络逻辑逻辑View+Data+JSphp客户端渲染网络交互逻辑业务逻辑DataObjectCJavaScriptC#统一成Web应用网络业务逻辑Data交互逻辑JSHtmlCSSHybridApp客户端Model层复用网络业务逻辑DataJs+原生交互逻辑Node.js®isaJavaScriptruntimebuiltonChrome'sV8JavaScriptengine.ChakraCoreV8ChakraShim或ChakraCoreNode.JSV8APIOpensourceframeworkforbuildingtrulynativemobileappswithAngular,TypeScriptorJavaScript.@Component({selector:calculator,template:`GridLayoutrows=auto,*columns=*!--Dispalyer--StackLayoutrow=0style=font-size:60;color:#fff;height:120;background-color:rgba(0,0,0,0.8);text-align:right;vertical-align:bottom;Label[text]=counter#displayer/Label/StackLayout!--Keyboard--keyboardrow=1[onKeyBoardClicked]=onKeyBoardClicked/keyboard/GridLayout`,directives:[Keyboard]})exportclassAppComponentimplementsOnInit,AfterViewInit{publiccounter:string='';服务端Model层复用网络业务逻辑Data交互逻辑ModelView案例:Window{privateTextBoxtxtUserName;privateProgressBarprogressBar;privateTextBoxtxtForPanel;publicLogOnWindow(stringname){this.Name=name;LabellabUserName=newLabel(){Text=用户名:};ButtonbtnLogoOn=newButton(){Width=500,Height=50,Text=登录};txtUserName=newTextBox(){Text=请输入用户名...};this.Controls.Add(labUserName);this.Controls.Add(txtUserName);this.Controls.Add(btnLogoOn);btnLogoOn.Click+=btnLogoOn_Click;}voidbtnLogoOn_Click(objectsender,EventArgse){if(this.txtUserName.Text==abc){this.txtUserName.Text=你竟敢点我!;}else{this.txtUserName.Text=你赢了!;}}VirtualUIVirtualUI...//创建新画面WindowOid=1ControlsLength=2ItemIndex=02/ItemItemIndex=13/ItemItemIndex=24/Item/Controls/WindowLabelOid=2.../LabelTextBoxOid=3.../TextBoxButtonOid=4ClickPost/Click.../Button......//提交变更和事件TextBoxOid=3Action=EditTextabc/Text/TextBox...EventsEventArgsOid=1SenderId=6EventName=Click.../EventArgs.../Events...//接收业务处理后的变更TextBoxOid=3Action=EditText你竟敢点我!/Text/TextBoxVirtualUI谢谢
本文标题:ERP在互联网和移动应用中的开发实践
链接地址:https://www.777doc.com/doc-4471750 .html