Detailed description of VueJS frontend for frontend and backend separation and detailed description of vuejs frontend Separation
Preface
The front-end can use any framework. Here we select the small vuejs.
The functions to be implemented are simple:
1. the logon function successfully saves the token returned by the server to a local device.
2. Use a header with a
Determine whether the app is running on the frontend and whether the app is running on the frontend.
In this situation, the app receives new messages. If the app is not in the foreground, a notification is sent in the notification bar of the mobile phone. How can I determine whether the app is on the frontend?
Check whether the current app is running on the fron
Series Web pages. Frontend development process and series frontend Development Process
After some time, I found Freshman. Frontend development process. The content is suitable for developing a new page from start to end. In specific development work, we mostly develop a series of webpages with some elements (such as the top/banner part of many pages) is similar.
Use BootStrapValidator to complete frontend input verification and bootstrap frontend Verification
BootStrapValidator can be used to complete input verification in the front-end UI built based on BootStrap. Because this plug-in is fully based on BootStrap, it can be perfectly integrated with the UI. Let's take a look at the results:
You can also modify the default style to make the display more beautiful.
Frontend js optimization scheme (continuous update) and frontend js optimization scheme
I recently read "high-performance javascript". Here I will record some of my feelings after reading it. By the way, I will add my own understandings. If you are interested, you can follow my Blog Tips.
I. js optimization Loading
1. Put the script tag at the bottom, not the head tag;
2. Minimize the number of js files
Let's say that the machine frontend getshell is coming (it affects the main business of the machine frontend network again)
#1 cause of the VulnerabilityThe struts2 command execution vulnerability is found at the following URL and can be exploited successfully.Http://v5op.apk.gfan.com/index.actionWEB directory/Home/tomcat8088/webapps/ROOT/Direct GETSHELL, ROOT permission
Website physical path:/home/tomca
Frontend database record operations and frontend database records* Directory [1] Insert record [2] update record [3] Delete record [4] query expression [5] Before result Processing
This article describes how to add, delete, modify, and query records in mysql.
Insert record
INSERT [INTO] tbl_name [(col_name,...)] {VALUES|VALUE} ({expr|DEFAULT},...),(...),...
First, create a simple data table
If col_name is o
Frontend Performance Optimization-mobile browser optimization policy and frontend Performance Optimization
Summary: Front-end performance optimization is a very broad concept. The previous sections of this book also mention more or less some front-end optimization methods, which is an important thing we have been paying attention. In combination with various methods, means, and auxiliary systems, front-en
Is IE6 compatible with frontend production ?, Ie6 compatibility in frontend Production
Internet Explorer 6 ~ 7. There are still some requirements for support, but for a front-end developer, we should push forward the development of this industry, rather than simply accommodating and compromising.
In the past, providing support for older versions of IE was a required skill for front-end developers. With th
I learned PHP. what should I do if a company's website's java frontend allows me to do the website's back-end? Is the framework used? For PHP websites, most of the front-end data is received through form submission at the backend. is the front-end data received through form submission at java? $ _ POST? If any of your predecessors have ever encountered this kind of situation, I would like to pass on experience. thank you very much !! Phpjava
I l
Is IE6 compatible with frontend production ?, Ie6 compatibility in frontend Production
Internet Explorer 6 ~ 7. There are still some requirements for support, but for a front-end developer, we should push forward the development of this industry, rather than simply accommodating and compromising.
In the past, providing support for older versions of IE was a required skill for front-end developers. With th
Frontend capability model-V8 JS engine and frontend-v8js EngineI. webkit kernel and V8In chrome, webkit is used for html Rendering and v8 is used as the js engine. Although Chrome and Webkit are both open-source, Chrome is always at a distance from Webkit. Chrome encapsulates a layer called WebKit Glue on WebKit. In the Glue layer, most types of structures and interfaces are similar to WebKit. In Chrome, re
FrontEnd is increasing in step: The mouse is on the image to produce a cover effect, and frontend is increasing in step
Ideas:
DOM tree
JAVASCRIPT:
$ (". Mask "). hover (function () {$ (". mask-text ", this ). stop (). animate ({height: "100%"}) ;}, function () {$ (". mask-text ", this ). stop (). animate ({height: "0px "});});
Summary of js Performance Optimization for stb frontend development, and js Performance Optimization for stb frontendJs Performance Optimization
Javascript is an interpreted language, and its performance cannot reach the level of C, C ++, and other compiling languages. However, there are still some ways to improve it.1. Loop
In JavaScript, there are three types of loops: for (;), while (), and for (in. The efficiency of for (in) is very poor, because
http://sheng.iteye.com/blog/716921
Today, I restarted a Linux system, want to enter Chinese, but found that Chinese input method can not open, it should be SCIM did not start, so
# scim-d
Started, but found that the error is as follows: Linux information code [Root@sheng ~]# scim-d Smart Common Input method 1.4.4 launching a SCIM process with X11. .. Loading Socket Config Module ... Creating backend ... Loading x11 frontend Module ... Failed to load X
container-level label, Li inside can put, even can put a UL;2. sequence list OL and UL are not the same semantics, how to use the sameLi inside can only have li,li must be the ol package, Li is the container level;3. Definition List Note: Dt,dd can only be in DL, DL inside can only have dt,dd;Dt,dd are container-level labels, want to put anything, so now it should be clearer to know what the label, not depending on the shape of the decision, but semantics (semantics are essentially structure)In
the Etag is primarily useful when downloading breakpoints. The Expires/cache-control Header is the control of whether the browser caches data directly from the browser or re-sends requests to the server to fetch data . Just Cache-control more than Expires can control, and cache-control will rewrite Expires 's rules. Last-modified/if-modified-since and etag/if-none-match are when the browser sends a request to the server to determine if the file has been modified , if not modified, send only o
element * Based on the passed in tag name * * @param {String} tag * @return {element} el Ement */function make (tag) { //... stuff ... return element;} 12.2 Use//as a single line comment. A single line of comments is used on the comment object above the other line. Inserts a blank line before the comment. 12.3 Adding fixme or TODO prefixes to annotationsHelp other developers quickly understand that this is a problem that needs to be reviewed, or provide a solution to the functionality that n
In the framework of frontend and backend separation, the backend requests are generally routed to the corresponding directory of the backend through nginx configuration, and then the frontend requests are routed to the corresponding directory of the frontend. Now we are experiencing a function of authentication bar. what we need to achieve is that each request is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.