面向状态机编程:复杂业务逻辑应对之道
在研发项目中,经常能遇到复杂的状态流转类的业务场景,比如游戏编程中NPC的跳跃、前进、转向等状态变化,电商领域订单的状态变化等。这类情况其实可以有一种优雅的实现方法:状态机。
Stella981 Stella981
3年前
ETL工具datax任务构建可视化管理datax
一登录datax可视化管理系统dataxweb网址:http://127.0.0.1:8080/index.html(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2F127.0.0.
Stella981 Stella981
3年前
Go在GitHub开源项目
后台管理系统https://github.com/flippedaurora/ginvueadmin(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.com%2Fflippedaurora%2Fginvueadmin)Ginvuead
Stella981 Stella981
3年前
SpringBoot19 之环境变量读取和属性对象的绑定
凡是被Spring管理的类,实现接口EnvironmentAware重写方法setEnvironment可以在工程启动时,获取到系统环境变量和application配置文件中的变量。@ConfigurationpublicclassMyEnvironmentAwareimplementsEnvironmentAware{/
Stella981 Stella981
3年前
CoreOS实践指南:Unit文件详解【备用】
Systemd的Unit文件在Systemd的生态圈中(除了CoreOS外,目前的主流Linux系统,如Arch、SUSE、Fedora、RedHat/CentOS也都已经使用了Systemd,此外Ubuntu也将最快于15.04版本启用Systemd作为默认的系统管理(https://www.
Stella981 Stella981
3年前
Hive 练习 简单任务处理
1、2018年4月份的用户数、订单量、销量、GMV (不局限与这些统计量,你也可以自己想一些)2018年4月份的用户数量selectcount(a.user_id)asuser_numsfrom(selectuser_idfrom
Easter79 Easter79
3年前
SpringBoot19 之环境变量读取和属性对象的绑定
凡是被Spring管理的类,实现接口EnvironmentAware重写方法setEnvironment可以在工程启动时,获取到系统环境变量和application配置文件中的变量。@ConfigurationpublicclassMyEnvironmentAwareimplementsEnvironmentAware{/
Wesley13 Wesley13
3年前
mysql数据库总结以及优化
(本文针对Innodb,如果有些的不对的地方,请在下面留言。。。)Mysql是一种开放源代码的关系型数据库管理系统(RDBMS),使用最常用的数据库管理语言结构化查询语言(SQL)进行数据库管理。mysql优化少不了sql优化,通常使用explain来查询执行计划。(本地测试数据,数据很少)!(https://oscimg.oschina