CodePudding user response:
Products on foxconn workers, should know the working principle of the apple phoneHe doesn't know the working principle of apple mobile phone, it is how to produce mobile phones,
Conclusion: they don't need to know what the back-end wrote, he need only according to the assembly diagram to assemble it,
CodePudding user response:
The building Lord asked: sure is WinForm isn't WebForm?-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
No, I do not expect WinForm,
WinForm design thought itself is vc + +, however, that s: new forms, controls, control the event code written,
WinForm this mode: code architecture separate coding space itself is not much, given the code separation, will only make the late maintenance worse,
I met a project, WinForm, is an open source project in a foreign country, on the basis of the total code line 20 w, code cow force (e) (xin) :
You to change the event behavior of a button, you have to jump a few dozen code files, compile all get 2 minutes,
You to add a form, you have to imitate his model, create dozens of class files,
I really don't think that to write some code is elegant, more do not think such good code maintenance, more do not think someone dared to take over such a code,
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
If you want to be with code architecture, or use WPF (WPF development pattern is a bit similar to Asp.Net - the MVC)
Such a code would be easy to separate,
CodePudding user response:
Interface for you call, tube behind him to write what, you're a UI"
CodePudding user response:
Want to understand the principle, but some code and don't understandCodePudding user response:
I don't think it's necessary points too thin, my habit is to use less than the function of the interface elements encapsulation, interface mainly call transfer, reaction operating results,CodePudding user response:
Why should the front know wrote back end?Don't you write the Web front end, also want to know what the back-end wrote?
CodePudding user response: