Open Lanttcat opened 5 years ago
DSL 其实是 Domain Specific Language 的缩写,中文翻译为领域特定语言(下简称 DSL)
Redux原理 文章讲的还不错-解读redux工作原理
React changelog中文版
// 看了一眼React Native的代码
import React, {Component} from 'react';
import {Image, ScrollView, Text} from 'react-native';
class ScrollingImageWithText extends Component {
render() {
return (
<ScrollView>
<Image
source={{uri: 'https://facebook.github.io/react-native/img/header_logo.png'}}
style={{width: 66, height: 58}}
/>
<Text>
On iOS, a React Native ScrollView uses a native UIScrollView.
On Android, it uses a native ScrollView.
On iOS, a React Native Image uses a native UIImageView.
On Android, it uses a native ImageView.
React Native wraps the fundamental native components, giving you
the performance of a native app using the APIs of React.
</Text>
</ScrollView>
);
}
}
// react web浏览器版本
var React = require('react');
var ReactDOM = require('react-dom');
var MyComponent = React.createClass({
render: function() {
return <div>Hello World</div>;
}
});
ReactDOM.render(<MyComponent />, node);
简书的一篇文章:https://www.jianshu.com/p/f39f4537857e
前后端分离的驱动力:各种终端越来越多,例如Native,Mobile Site, Web Site,原先的三层架构中的展现层已经很鸡肋(可能只能适配web site) 图片来源:slideshare.net
DDD 领域驱动设计
前端代码规范
.NET 2000 参数问题
数字签名的原理
UTF-8 Icons
package lock
前端框架总是把后端思维带入前端,而serverless是把前端思维带入后端
那么, 前端思维是什么
stub / mock的区别
https://stackoverflow.com/questions/3459287/whats-the-difference-between-a-mock-stub
Tests written with mocks usually follow an initialize -> set expectations -> exercise -> verify pattern to testing. While the pre-written stub would follow an initialize -> exercise -> verify.
理解: mock是对执行过程有某种期望的,例如希望参数是一样的,否则就测试失败或者报错,其强调行为验证 stubs是对真实对象的封装,会记录调用数据,其强调状态验证,使用场景是开发者在确定某个模块一定能通过测试时,假设那些函数已经被正确的执行了,然后将这些函数替换成预期值。
快照测试
Lisp方言的梗
关于http认证的科普文,Mark https://coolshell.cn/articles/19395.html
SQL Server 缓存问题