Tag:Example

  • How to add new fields to sap e-commerce cloud login interface

    Time:2022-5-5

    Component selector in login interface:cx-update-profile Find the corresponding component name:UpdateProfileComponent: Component has only one formgroup instance. When is the value assigned to the form of the service? Copy in the service class. Instead of using the form builder, create the formgroup instance manually. ShouldFormGroupConstructor, the received parameters are JSON objects, the key is the name […]

  • Behavior type: Xi Interpreter mode

    Time:2022-5-5

    What is the interpreter mode Interpreter is a behavioral design pattern, which defines a language for the analysis object, defines the grammatical representation of the language, and then designs a parser to interpret the sentences in the language. In other words, use the way of compiling language to analyze the examples in the application. This […]

  • Source code analysis: spring boot startup process (I)

    Time:2022-5-5

    Write in front Because I also read some corresponding spring related source code reading videos and articles first, but I still know a little about this part and am lazy, so I urge myself to read it as a whole in the way of recording. There will be many omissions. Please forgive me. The ultimate […]

  • Combination of quartz and topshelf to realize window timing service

    Time:2022-5-5

    1、 New console application 2、 Select the item, right-click manage nuget package, and add four: Quartz Quartz.Plugins Topshelf log4net  3、 Create project file Three configuration files: must be placed in the project root directory. (1)log4net.config View Code (2)quartz.config  true SampleJob SampleGroup Sample job for Quartz Server QuartzTopshelf.Jobs.SampleJob, QuartzTopshelf true false key1 value1 key2 value2 SampleSimpleTrigger […]

  • Vue data responsive

    Time:2022-5-4

    1. How to track data changes When a normal JavaScript object is passed into a Vue instance asdataOption, Vue will traverse all the properties of this object and useObject.definePropertyTake thesepropertyConvert all togetter/setter。 thesegetter/setterThey are invisible to the user, but internally they enable Vue to track dependenciespropertyNotify changes when accessed and modified. Each component instance corresponds […]

  • Implementation principle of spring AOP

    Time:2022-5-4

    Through the previous articleSpring bean creation process and related extension pointsWe know the process of creating bean instances with getbean(), which has the following extension points: Implement the instantiaawarebeanpostprocessor interface before the bean instance is created After the bean instance is created successfully, a factory method is created immediately when the property is not set. […]

  • Send an email to Python

    Time:2022-5-4

    Python SMTP send mailSMTP (Simple Mail Transfer Protocol) is the simple mail transfer protocol. It is a set of rules used to transfer mail from source address to destination address, which controls the transfer mode of mail. Python’s SMTP lib provides a convenient way to send e-mail. It simply encapsulates the SMTP protocol. Python creates […]

  • Spring learning notes

    Time:2022-5-4

    catalogue 1、 Spring files and notes 1. All spring configuration files pom.xml applicationContext.xml Main.java UserDao.java UserDaoImpl.java 2. All annotations of spring configuration 3. Key fundamentals of spring 1. Explanation of terms 2. Bean life cycle: 1 instantiation, 2 attribute assignment, 3 initialization, 4 use, 5 destruction 3. Bean tag attribute 4. Spring core: 4. Bean […]

  • Tutorial on developing tab instances using object-oriented method in native JS

    Time:2022-5-4

    This tutorial encapsulates an example of a tab through the object-oriented method of JS, and explains how the object-oriented function of JS is realized in the example. Generally, the encapsulated tab program only needs a div element. Other elements are generated through JSON data, so the encapsulated tab instance is very convenient to call. First […]

  • Configuring Apache virtual host instance for Linux system

    Time:2022-5-4

    installapache,php: yum install httpd php Suppose the IP address of the VPS is 58.130.17.168, and there are two domain names pointing to the IP address, domain1.1 com, domain2. com, Modify / etc / httpd / conf / httpd Conf, add at the end of the file: ServerName 58.130.17.168 NameVirtualHost 58.130.17.168 <VirtualHost 58.130.17.168>         ServerName domain1.com […]

  • Springboot + flowable quickly realizes workflow, so easy!

    Time:2022-5-3

    recommend:Spring microservice distributed architecture: “a drop of travel” project practice + interview summary (with a full set of interview questions MD document + project source code + white paper) background Use the flowable UI that comes with flowable to make the flow chart Use the interface used by the springboot development process to complete the […]

  • Three methods of c# loading word

    Time:2022-5-3

    This experience content share three different methods of loading word documents through c# program. namely: 1. Load local word document 2. Load word document in read-only mode 3. Load word from stream [program environment] Windows 10 Visual Studio 2017 Word class library – spire Doc for . NET Word version-2013 (. Docx) [reference assembly] Before […]