Finally, I have been doing IT for a year. Here I record what I need to do for a system from scratch. It has a bit of architectural meaning, and I record it here.
Steps to build a project prototype:
technology selection: decide which language to use, consider whether multiple languages (cgi...) need to be used for efficiency, which orm framework, mvc framework, view technology, caching technology, testing technology to use and project construction tools, management tools, servers and databases
Architecture layering: divide the project into file packages according to modules or functions
Character encoding: code encoding UTF-8, database encoding, page encoding, file encoding
Naming rules: class name method name database table name field name form field name configuration file, etc.
Log record: this system and compatible with other system frameworks log
test processing: which method to use for code testing
Exception handling: encapsulate exceptions and handle exceptions
Database connection: generate several sets of data sources through configuration files Transactions
Processing: Configure spring tx transaction processing mechanism
Tool class: handle json, string, date, file upload and download, class loader, handle props...etc.
Internationalization: You can use the functions provided by the mvc framework, or you can do it yourself Encapsulation
Others : session processing cookie processing listener filter quartz .....
I don't know if my understanding is correct. Due to my limited level, I forgot to give more opinions, thank you!
Code from scratch, how to start a project, steps to build a project prototype
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=327077388&siteId=291194637
Recommended
Ranking