"running in the background" in the Android O notification bar

A new feature of Android O is that the system displays the application currently running in the background in the notification bar, which actually shows the application that started the front-end service, and the Activity of the current application is not in the front-end. Specifically, let's see how the source code is implemented. 1 APP calls ...

Posted by sweetstuff2003 on Fri, 04 Jan 2019 09:45:09 -0800

Hot restart golang server

Server-side code often needs to be upgraded. For online system upgrade, the usual method is to ensure that at least one service is available through the front-end load balancing (such as nginx) to upgrade, in turn (gray level). Another more convenient way is to do hot restart in the application, upgrade the application directly and keep servin ...

Posted by s4salman on Thu, 03 Jan 2019 19:12:09 -0800

Spring In Action< Five >

5. Building Spring Web Applications Spring MVC is based on the Model-View-Controller mode to build flexible and loosely coupled Web applications for us. The following figure shows all the sites that have experienced using Spring MVC: Next, let's analyze the Spring MVC process so that we can learn Spring MVC better. "1" means that ...

Posted by benson on Wed, 02 Jan 2019 12:24:08 -0800

20-vue Django restful framework to build a fresh supermarket-wheel-seeding map interface and Vue debugging

Django 2.0.2 (Django-rest-framework) and the front-end and back-end separated mall website developed by front-end vue Online demo address: http://vueshop.mtianyan.cn/ github source code address: https://github.com/mtianyan/VueDjangoFrameWorkShop This section: Realization of Rotary Graph Interface and vue Debugging Realization of Ro ...

Posted by socadmin on Mon, 24 Dec 2018 02:51:05 -0800

Points for Attention in Implementing Deep Copies of JSON.parse(JSON.stringify(obj))

JSON.parse(JSON.stringify(obj)) we generally use for deep copy, the process is to use JSON.stringify to serialize the js object (JSON string), and then use JSON.parse to de-serialize (restore) the js object; serialization is to store (the object itself stores only an address mapping, if the power is off, the object will no longer e ...

Posted by bryansu on Sun, 23 Dec 2018 11:18:06 -0800

Django - How to realize the function of data query (table)? datatable - client processing

Background of the problem: In the author's exercise project, users need to query how many books the current system has entered after login. So this brings the following problems: Query conditions that need to be saved for user input The back end needs to process the query conditions entered by the user and return the corresponding data. Front- ...

Posted by kraen123 on Sat, 22 Dec 2018 11:51:06 -0800

Redis Source Code Analysis (8), ziplist of compression of redis data structure - ------- Ziplist. C ziplist. h Learning Notes

I. Introduction to ziplist /* The ziplist is a specially encoded dually linked list that is designed * to be very memory efficient. * Ziplist is designed to save as much memory as possible with a fairly licensed two-end queue *It stores both strings and integer values,where integers are encoded as *actual integers instead of a series ...

Posted by bravo14 on Fri, 21 Dec 2018 11:09:07 -0800

19- vue django restful framework to create fresh supermarket - Alipay payment source interpretation

Django 2.0.2 (Django-rest-framework) and the front-end and back-end separated mall website developed by front-end vue Online demo address: http://vueshop.mtianyan.cn/ github source code address: https://github.com/mtianyan/VueDjangoFrameWorkShop This section: Interpretation of Alipay payment source code Interpretation of Alipay pay ...

Posted by lhcpr on Fri, 21 Dec 2018 00:33:05 -0800

15-vue Django restful framework to build fresh supermarket-vue and user interface information coordination

Vue+Django REST framework Using Python 3.6 and Django 2.0.2 (Django-rest-framework) and front-end vue to develop front-end and back-end separated mall website The project supports Alipay payment (temporarily does not support WeChat payment), supports mobile phone SMS verification code registration, supports third party login. sen ...

Posted by OmegaB on Wed, 19 Dec 2018 23:15:05 -0800

Based on vue.js 2.0, the node JS service of Web pack is not used, and Tree tree control of Element UI is used only on browser.

Vue.js (pronunciation/vju_/, similar to view) It is a progressive framework for building user interfaces. Unlike other heavyweight frameworks, Vue The design adopts bottom-up incremental development. The core library of Vue only focuses on the view layer. It is not only easy to get started, but also easy to integrate with third-party ...

Posted by neil.johnson on Wed, 19 Dec 2018 21:06:05 -0800