1. Redis下载和安装,可以参考官网https://redis.io/download $ wget http://download.redis.io/releases/redis-4.0.8.tar.gz $ tar xzf redis-4.0.8.tar.gz $ cd redis-4.0.8 $ make 安装后在src目录下启动redis $ src/redis-server 客户端可以使用命令行来连接和测试 $ src/redis-cli ...

    阅读全文
  2. # Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started with the file path as first argument: # # ./redis-server /path/to/redis.conf # Note on units: when memory size is needed, it ...

    阅读全文
  3. 面向方面的编程需要把程序逻辑分解成不同的部分称为所谓的关注点。跨一个应用程序的多个点的功能被称为横切关注点,这些横切关注点在概念上独立于应用程序的业务逻辑。有各种各样的常见的很好的方面的例子,如日志记录、审计、声明式事务、安全性和缓存等。 在 OOP 中,关键单元模块度是类,而在 AOP 中单元模块度是方面。 依赖注入帮助你对应用程序对象相互解耦和 AOP 可以帮助你从它们所影响的对象中对横切关注点解耦。AOP 是像编程语言的触发物,如 Perl,.NET,Java 或者其他。 ...

    阅读全文
  4. 原文出处: 肖汉松的博客 (写的很好,易懂,所以直接搬过来了) http://blog.xiaohansong.com/2015/10/21/IoC-and-DI/ IoC : Inversion of Control 前言 最近在学习Spring框架,它的核心就是IoC容器。要掌握Spring框架,就必须要理解控制反转的思想以及依赖注入的实现方式。下面,我们将围绕下面几个问题来探讨控制反转与依赖注入的关系以及在Spring中如何应用。 什么是控制反转? 什么是 ...

    阅读全文
  5. Conditional clauses 表达一种最一般的可能性,需要使用条件句类型一。其构成如下:   if 一般现在时   will + 不定式 If you come to the party, you will meet Kate. If it rains tomorrow, we will get very ...

    阅读全文
  6.   Vedio:https://learning.oreilly.com/videos/redis-bootcamp-for/9781800202009/9781800202009-video11_1 Redis思维导图   redis学习文档:https://www.runoob.com/redis/redis-hyperloglog.html   ...

    阅读全文
1234