How many steps does it take to move from a symfony framework to a complete project?

Preface For PHP frameworks, whether it's yii, symfony or laravel, everyone is involved in their work. For the resource bundles vendor folders, entry files (index.php or app.php) stored in the framework, people also meet with them every day. But are you really familiar with these files/folders? How does a complete project evolve from a pure fram ...

Posted by rurouni on Tue, 24 Sep 2019 01:12:01 -0700

Rapid deployment of EMQ X clusters on Kubernetes through Helm

Provided through EMQ X Helm chart EMQ X can be easily deployed to Kubernetes Platform. Before you start, make sure you follow Helm Document Guide To install Helm. On Kubernetes Kubernetes is a widely used open source container orchestration platform for automatic deployment, expansion and operation of applications. With Kubernetes, it can quick ...

Posted by axm on Mon, 23 Sep 2019 23:53:56 -0700

Two ways to implement Java multithreading (from official sources)

Source overview I'm just preparing for the interview. So it seems like there's a way to implement Java County Town, so Baidu (though rumored to be dead) and Google. And then the result...[Image-10f8bf-1569247170008]This pit is unbearable! The answer can't be more powerful.If there is such a problem in the written examination or interview, it is ...

Posted by juschillinnow on Mon, 23 Sep 2019 07:12:22 -0700

Event bus in guava (application of observer mode)

Observer pattern: Defines a one-to-many dependency between objects so that every time an object changes state, all objects that depend on it are notified and updated automatically. EventBus (Event Bus) in Guava framework is an implementation of the observer pattern. EventBus is an excellent way to ach ...

Posted by AP81 on Mon, 23 Sep 2019 06:35:31 -0700

Bloom Filter

I. overview Simply put, a Bloom filter is a way to determine whether an element exists in a list. Usually in JAVA to determine whether there is a Map, Set and other containers. But when the amount of data is very large, using Map and Set will take up too much memory. At this point you'll consider us ...

Posted by hmogan on Mon, 23 Sep 2019 04:17:13 -0700

CDA LEVELII Examination Content Recording Learning--PART 1--c. Python Basics--III. Python Basic Grammar, Basic Data Types, Operators

Records of Learning Experiences in CDA LEVELII Examination - Partial Contents Directory Links:https://blog.csdn.net/weixin_41744624/article/details/101125379 Updating to~ ------------------ 3. Basic Python syntax, basic data types, operators, 1.python basic syntax message="hello world" print messag ...

Posted by integravtec on Sat, 21 Sep 2019 23:37:17 -0700

Flutter uses Rammus to implement Ali Cloud Push

Preface: Recently, the new Flutter project has the requirement of "Ali Cloud Push Notification", that is, when Flutter's App starts, it detects a new notification, clicks the notification bar and jumps to the specified page. Here I use the third-party plug-in Rammus to push notifications. I always used Fcm to push notifications befor ...

Posted by kctigers23 on Fri, 20 Sep 2019 02:59:53 -0700

Understanding and Use of Android Annotations

Why annotations As an Android developer, first look at some familiar code: setContentView(R.layout.activity_main); Toolbar toolbar = findViewById(R.id.toolbar); new ViewHolder(LayoutInflater.from(parent.getContext()).inflate(R.layout.xxx, parent, false))); Non-ellipsible code like this, which appears in large numbers everywhere, is copied ov ...

Posted by majik92 on Thu, 19 Sep 2019 18:51:04 -0700

How to Develop Two-Step Verification Function

What is two-step verification? _Two-step authentication means that when a user logs into an account, besides entering a username and password, the user is required to enter a dynamic password, which adds an extra layer of protection to the account. This dynamic password is either dedicated hardware or provided by the user's mobile phone APP. Ev ...

Posted by jarosciak on Sun, 15 Sep 2019 06:43:04 -0700

JSP Learning Notes - Custom MVC Framework

Implement a lightweight MVC framework based on Spring MVC. Knowledge involves reflection mechanism, use of annotations, and use of some third-party toolkits. thinking The main overall process is shown in the figure below. As before, we defined a Dispatch Servlet to intercept requests (url requests at the end of. do are generally intercepted he ...

Posted by Sakesaru on Sun, 15 Sep 2019 02:57:11 -0700