Java single application - Architecture Mode - 03. Design mode - 19. Memo mode

Original address: http://www.work100.net/training/monolithic-architecture-design-patterns-memento-pattern.html More tutorials: Beam cloud - free course Memo mode Serial number Chapter in text video 1 Summary 2 Realization Please refer to the navigation above for reading 1. overview Memo ...

Posted by Jenling on Fri, 31 Jan 2020 23:02:46 -0800

HandyEditor rich text editor integrated into Python flash project

1. Download HandyEditor at http://he.catfish-cms.com/   2. The unzipped file name HandyEditor master is changed to HandyEditor. The files in the folder are as follows   3. Put the HandyEditor folder into the static folder of the project, and create a new folder named uploadPhotos in the static folder to put the uploaded pictures   4. Modify ...

Posted by MarcAndreTalbot on Fri, 31 Jan 2020 07:14:15 -0800

html click round diffusion display interface effect

Opening remarks Effect Core code used Reflection explore Source code Compatibility issues Opening remarks It is common to see that some app s have some click-and-diffuse effects, some act as diffuse display interfaces, some diffuse change theme colors, and want to be implemented on Web pages, so there is this. Effect Don't want to be direc ...

Posted by deljhp on Tue, 28 Jan 2020 10:52:23 -0800

Difference between Synchronized and Static Synchronized

By analyzing these two usages, we can understand the concept of lock in java. One is instance lock (lock on an instance object, if the class is a single instance, then the lock also has the concept of global lock). The other is global lock (the lock is for a class, no matter how many objects are instance, then the thread shares the lock). The i ...

Posted by Syphon on Tue, 28 Jan 2020 06:59:34 -0800

Submit the form using jQuery

I want to use jQuery Submit the form.Can anyone provide code, demo or example links? #1st floor From the manual: jQuery Doc $("form:first").submit(); #2nd floor You will have to use $("#formId").submit(). Typically, you can call this function from a function. For example: &l ...

Posted by Pooptart on Wed, 22 Jan 2020 20:38:50 -0800

Detect when the browser receives file downloads

I have a page that allows users to download dynamically generated files. Generation takes a long time, so I want to display a "wait" indication. The problem is, I don't know how to detect when a browser receives a file, so I can hide the indicator. I'm making a request in a hidden form, which is published to the server and results ...

Posted by MsShelle on Wed, 22 Jan 2020 06:12:26 -0800

vue routing -- the most basic use steps, nested routing

Use steps of Vue router 1. Introduction <script src="./vue-router.js"></script> 2. Install the plug-in (Vue. Use (plug-in object); / / some global components will be registered and properties will be attached to the VM or component object during the process.) Vue.use(Router) 3. Create ro ...

Posted by phuggett on Mon, 20 Jan 2020 08:41:27 -0800

Native JavaScript+Css Simulate Select Dropdown Box to Beautify

Native JavaScript+Css Simulated Select Dropdown Preface Implementation Details Technology involved Effect Display Code Display Html structure Css structure JavaScript structure summary Preface Hello, FEer s!In our front-end development career, there are many details, some need to be compatib ...

Posted by susannah on Sun, 19 Jan 2020 18:36:45 -0800

Two cases of Ajax

Case 1: verify whether the registration name is duplicate 1. Create registration page register.html <body> <label for="email">Your login name:</label> <input type="text" id="username" name="username" maxlength=32/> <input type="button" value="Verification" onclick="checkUsername();"/> ...

Posted by MentalMonkey on Sat, 18 Jan 2020 07:30:12 -0800

zigbee source code 03 - smoke sensor MQ-2

03 ° ZigBee sensor network - smoke sensor Experimental phenomenon: smoke sensor is similar to photosensitive sensor detection method; terminal node collects smoke signal, and After the coordinator is networked, the collected data is sent to the coordinator, and the coordinator receives th ...

Posted by trinitywave on Thu, 16 Jan 2020 10:34:06 -0800