This is the requirement. To implement the unified formatting and style of the two platforms, we need to clear the previous code with html, because the other platform cannot parse html, you can only reset the protocol for another platform. Is there a uniform way to solve this problem? I thought about defining a uniform... this is the requirement. To implement the unified formatting and style of the two platforms, we need to clear the previous code with html, because the other platform cannot parse html, you can only reset the protocol for another platform. Is there a uniform way to solve this problem? I thought about defining a uniform template engine to parse it, but there seems to be no common solution for complicated html.
Example code:
Webpage :[♂] $ Name
Other platforms: $ NameThe code above may be like this.
Whether or not they can be implemented in a unified manner ..
Because we use a set of databases, we now have two solutions to redefine the template engine, but it does not seem generic .. Or add a field to the database with the same $ name, and store two copies. The files are read from different platforms ..
Are there any better solutions.
Reply content:
This is the requirement. To implement the unified formatting and style of the two platforms, we need to clear the previous code with html, because the other platform cannot parse html, you can only reset the protocol for another platform. Is there a uniform way to solve this problem? I thought about defining a uniform template engine to parse it, but there seems to be no common solution for complicated html.
Example code:
Webpage :[♂] $ Name
Other platforms: $ NameThe code above may be like this.
Whether or not they can be implemented in a unified manner ..
Because we use a set of databases, we now have two solutions to redefine the template engine, but it does not seem generic .. Or add a field to the database with the same $ name, and store two copies. The files are read from different platforms ..
Are there any better solutions.
Develop a function module for parsing.