MongoDB 极简实践入门 1. 为什么用MongoDB? 传统的计算机应用大多使用关系型数据库来存储数据,比如大家可能熟悉的MySql, Sqlite等等,它的特点是数据以表格(table)的形式储存起来的.数据库由一张张排列整齐的表格构成,就好像一个Excel表单一样,每个表格会有若干列,比如一个学生信息表,可能包含学号.姓名.性别.入学年份.高考成绩.籍贯等等.而表格的每一排,则是一个个学生的具体信息.在企业级应用和前互联网时代,关系型数据库几乎是不二选择.关系型数据库的特点是有整齐划一…
原作者StevenSLXie; 原链接(https://github.com/StevenSLXie/Tutorials-for-Web-Developers/blob/master/MongoDB%20%E6%9E%81%E7%AE%80%E5%AE%9E%E8%B7%B5%E5%85%A5%E9%97%A8.md); MongoDB 极简实践入门 1. 为什么用MongoDB? 传统的计算机应用大多使用关系型数据库来存储数据,比如大家可能熟悉的MySql, Sqlite等等,它的特点是数据以…
目录 安装python 安装git 安装powerline字体 主题定制 安装oh-my-posh 查看策略组的执行权限 使用choco 安装终端模拟器 - ConEmu 优化 PowerShell 的配色 将powershell的提示符改为 Emoji 不从Window terminal中使用 Powershell 接着之前的文章 黑科技抢先尝(续) - Windows terminal中WSL Linux 终端的极简美化指南,依然假定你安装好了windows terminal预编译版本. 这…
目录 修改默认源,为apt-get安装提速 安装python 和 python pip 安装 zsh 安装powerline-font中的特定字体 安装powerline-shell 修改~目录下的配置文件 .bashrc 和 .zshrc zsh主题定制 安装 oh_my_zsh 从 Windows 10 的 Bash 中运行 WSL 之前,本人写了一篇文章 黑科技抢先尝 - Windows全新终端初体验(附无需编译就能安装的Preview版本及代码Build全过程,介绍了玩转Windows…
仓库地址 w4ngzhen/springboot-simple-guide: This is a project that guides SpringBoot users to get started quickly through a series of examples (github.com) Chapter05-SpringBoot中的AOP面向切面编程简介 在上一章中,我们编写了一款基于SpringBoot的书籍信息管理Web应用,实现了对书籍信息的增删查改操作.现在,我们有了一个新的…
仓库地址 w4ngzhen/springboot-simple-guide: This is a project that guides SpringBoot users to get started quickly through a series of examples (github.com) Chapter04-基于SpringBoot的书籍管理Web服务 从本章开始,我们将会基于SpringBoot框架,来编写一块书籍管理的应用.为了契合我们的简单教程原则,项目不会出现复杂的结构,只会…
仓库地址 w4ngzhen/springboot-simple-guide: This is a project that guides SpringBoot users to get started quickly through a series of examples (github.com) Chapter03-基于SpringBoot的Web服务 前言 终于,我们的教程来到了SpringBoot核心功能的介绍.对于本章,各位读者至少具备以下的知识: maven的使用 HTTP Spri…
仓库地址 w4ngzhen/springboot-simple-guide: This is a project that guides SpringBoot users to get started quickly through a series of examples (github.com) Chapter02-Spring依赖注入的方式 我们在Chapter00-2.2节依赖注入已经介绍了Spring的对象依赖注入的方式,在那个例子中,我们使用了字段的setter方法对字段进行了注入.…
仓库地址 w4ngzhen/springboot-simple-guide: This is a project that guides SpringBoot users to get started quickly through a series of examples (github.com) Chapter01-如何用Spring框架声明Bean 前言 在上一章中,我们已经掌握了Spring最基本的使用方式: 通过使用@Component注解标记我们的类作为一个Bean组件. 使用Spr…
仓库地址 w4ngzhen/springboot-simple-guide: This is a project that guides SpringBoot users to get started quickly through a series of examples (github.com) Chapter00 学习SpringBoot前的基本知识 一 反射 在Java中,我们可以通过反射(Reflection)来获取任何类的类型信息,其中最值得关注的就是Class类.通过Class类,…