javalite-context容器
Design principles
Should infer metadata from DB (like ActiveRecord)
Should be very easy to work with
Should reduce amount of code to a minimum
No configuration, just conventions
Some conventions are overridable in code
No need to learn another language
No need to learn another QL — SQL is sufficient
Code must be lightweight and intuitive, should read like English
No sessions, no "attaching, re-attaching"
No persistence managers
No classes outside your own models
Models are lightweight, no transient fields
No proxying. What you write is what you get (WYSIWYG:))
Should have the least possible resistance to startup a project
No useless getters and setters (they just pollute code). You can still write them if you like.
No DAOs and DTOs — this is mostly junk code anyway
公开笔记对他人可见,有机会被管理员评为“优质笔记”
{{ noteEditor.content.length }}/2000
讲师收到你的提问会尽快为你解答。若选择公开提问,可以获得更多学员的帮助。
课程大纲







