Using PHP to Realize Binary Tree of Common Data Structures (Xiaobai Series 5)

/** * PHP Binary Tree Algorithms * Created on 2017-5-6 * Author entner * Email 1185087164@qq.com */ Introduction Binary tree is strictly defined. It has a good demonstration function for data storage and calculation. Many people say that the binary tree is useless for eggs. I think it is his salary and company that make him cr ...

Added by Thauwa on Tue, 02 Jul 2019 01:21:06 +0300

java design pattern--builder pattern

Let's start with an example, let's say we want to make CarA, CarB public class CarA { public void makeWheels(){ System.out.println("Manufacture CarA Wheel of"); } public void makeCarBody(){ System.out.println("Manufacturing Cars CarA body"); } public void sprayPaint(){ System.out.prin ...

Added by robgudgeon on Mon, 01 Jul 2019 21:20:00 +0300

Data Binding - Simple Data Binding

This document addresses the following issues: 1. Simple data binding 1. Attribute binding Syntax: <%# Property Name%> Note: You need to call the DataBind method of the Page class to perform the binding operation 2. Expression Binding 3. Collection Binding 4. Method Binding     1. Attribute binding   (1) Create a new website w ...

Added by mzfp2 on Sun, 30 Jun 2019 19:57:03 +0300

Server installation and domain name resolution configuration of nginx reverse proxy (Linux)

brief introduction nginx is a lightweight web server and a reverse proxy server (domain name forwarding is the function of reverse proxy) 1.nginx can directly support rails and php programs 2. Can act as a reverse proxy server for HTTP 3. As a load balancing server 4. As a mail proxy server 5. Help front-end achieve dynamic a ...

Added by jana on Sun, 30 Jun 2019 05:23:32 +0300

Install lnmp service using yum on CentOS 6

zhuanzaidizhi: https://www.qiansw.com/yum-lnmp.html To demonstrate the simplicity of using linux, all the applications used in this article are installed using yum. Install CentOS System This article assumes that you have the ability to install the CentOS system and will not explain the installation process. The operating system used in thi ...

Added by four4swords on Fri, 28 Jun 2019 19:45:31 +0300

Web pack extracts CSS files and CSSTreeShaking

Web pack extracts CSS files CSSTreeShaking 1. Extracting CSS files from webpack Plug-in for extracting CSS files: mini-css-extract-plugin npm install --save-dev mini-css-extract-plugin Detailed reference: https://www.npmjs.com/package/mini-css-extract-plugin But the premise is to download a css loader: npm install css-loader --sa ...

Added by ArmanIc on Thu, 27 Jun 2019 21:37:02 +0300

One design pattern a day - Prototype prototype pattern

1. Model Description After reading a lot of data and writing complex prototype patterns, my personal understanding is that model replication creates new classes directly from existing classes instead of invoking their constructors. Class Diagram of Prototype Model 3. Role in Prototype Model Protype role: Responsible for defining methods ...

Added by spags on Wed, 26 Jun 2019 20:28:55 +0300

docker learning 2-Quickly build centos7-python 3.6 environment

Preface When we set up a python 3.6 environment on one computer, the next time we switch to a computer or a linux system, we have to rebuild it again, set up environment variables, download pip and so on. Very easy to install, after a while the Scrips directory can not find pip.exe, one will prompt that pip is not an internal or external comman ...

Added by pelleas on Tue, 25 Jun 2019 19:41:30 +0300

Installation and Configuration of LAMP

9.1. Combination of PHP and httpdCommon PHP open source software:  Forum: phpwind, discuz, phpbb  Blog System: wordpress  Portal site: drupal, xooms  Database: phpMyAdmin, Workbench, MySQL Front, Navicat for MySQL, Toad  CMS (Content Management System) Content Management System: Drupal, joomlaThe combination of PHP and ...

Added by fatherlyons on Tue, 25 Jun 2019 00:20:30 +0300

final modifier for Java Basics

Catalog Q1:final modifies the basic type domain Modification of Q2:final Q3:final modifier class Q4:final modification parameter Q5:final modifier object @author: Tobin The level is limited. If there are any mistakes, please correct them. Refer to "Java Core Technology Volume - ...

Added by sastro on Mon, 24 Jun 2019 23:25:35 +0300