Thoughts on website development technologies and ideas (CMS)
Client:
Client judgment: JS judgment on input data, common in registration module prompts, page Jump, technology including Ajax, jquery Main Technology
Client output input: Mainly used for table output in HTML --- mainly for data query, and form Form for Input
Client beautification: Image Design, CSS beautification, and frame
Backend, mainly for four basic operations on Data
Plug-in: you must first determine whether the existence exists. If necessary, the fck editor should process the existence, post, encryption, attachment, verification code technical support, and time format processing.
. Insert ID to get mysql_insert_id (), and session mechanism technology, Installer
Query: it is mainly used for output. Get obtains the specified ID through URL analysis. It requires the paging technology and the processing and judgment of specified conditions, two-dimensional data needs to be re-built to achieve data output.
Deserialization output
More: used for modification to obtain the original value (see: Query). After modification, you must add a condition and be a unique field, in this way, you can make more precise modifications without causing global data changes.
Delete: You must specify the conditions. It is best to add the JS prompt as above to learn batch deletion.
Smarty's template advantages: the idea of separating php html and the idea of separating PHP embedded development to better separate labor
Clear our development ideas
TP framework:
Specify the basic framework of our development-folder, use the large-scale development, MVC point of view, add the concept of controller, suitable for larger development,
Resolution of URL paths, inheritance of methods and classes, C: the four core operations, encryption, verification code paging and other technologies, put in the M class, and strictly follow
The C-m-V file path corresponds to each other to achieve one-to-one clear mode,
There is a prompt page for deleting information when you delete the page, so you can easily add JS redirects.
The biggest advantage of TP is that different files can be used to find their associations. As for the encapsulated methods and classes, we have not yet realized