Lanttcat / Vimer

blog by Issues
0 stars 0 forks source link

杂乱未分类 #6

Open Lanttcat opened 5 years ago

Lanttcat commented 5 years ago

SQL Server 缓存问题

Lanttcat commented 5 years ago

DSL 其实是 Domain Specific Language 的缩写,中文翻译为领域特定语言(下简称 DSL)

Lanttcat commented 5 years ago

https://github.com/eduardomoroni/react-clean-architecture

Lanttcat commented 5 years ago

Redux原理 文章讲的还不错-解读redux工作原理

Lanttcat commented 5 years ago

React changelog中文版

Lanttcat commented 5 years ago

React and React DOM为什么要拆分开

// 看了一眼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);
Lanttcat commented 5 years ago
  1. 六边形架构与Redux
  2. Redux各层的含义

简书的一篇文章:https://www.jianshu.com/p/f39f4537857e image

前后端分离的驱动力:各种终端越来越多,例如Native,Mobile Site, Web Site,原先的三层架构中的展现层已经很鸡肋(可能只能适配web site) image 图片来源:slideshare.net

Lanttcat commented 5 years ago

DDD 领域驱动设计

Lanttcat commented 5 years ago

前端代码规范

Lanttcat commented 5 years ago

.NET 2000 参数问题

Lanttcat commented 5 years ago

数字签名的原理

Lanttcat commented 5 years ago

UTF-8 Icons

Lanttcat commented 5 years ago

package lock

Lanttcat commented 5 years ago

前端测试jesmin https://medium.com/allen%E7%9A%84%E6%8A%80%E8%A1%93%E7%AD%86%E8%A8%98/jasmine-spy-%E5%AD%B8%E7%BF%92%E7%AD%86%E8%A8%98-8f1ca2ae641c

Lanttcat commented 5 years ago

前端框架总是把后端思维带入前端,而serverless是把前端思维带入后端

那么, 前端思维是什么

Lanttcat commented 5 years ago

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是对真实对象的封装,会记录调用数据,其强调状态验证,使用场景是开发者在确定某个模块一定能通过测试时,假设那些函数已经被正确的执行了,然后将这些函数替换成预期值。

Lanttcat commented 5 years ago

快照测试

Lanttcat commented 5 years ago

Lisp方言的梗

Lanttcat commented 5 years ago

关于http认证的科普文,Mark https://coolshell.cn/articles/19395.html