@ Someone on the page

Source: Internet
Author: User
@ Someone @ xxx regular in the page, get the name, query the database to generate records... is there any other way to write? I'm curious about it.
I saw an as. js file on the front end, but I didn't see the source code...


Reply to discussion (solution)

Is query always required?

I can't think of anything except what you think.

Records containing @ are stored normally, and then obtain the regular expression matching for the first time. then, the database obtains the user information of @ and generates a record containing the id, then cache the file (instead of the original record content of the database) so that you do not need to retrieve it from the user database next time.

Besides? Anything else

Besides? Anything else

What is the word "I wipe ..."??

?

Reference the reply from ci1699 on the fourth floor: except? Anything else

What is the word "I wipe?

?.. GHMJ regular...

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.