Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codenameone/propertiesdemo
Demo of property binding
https://github.com/codenameone/propertiesdemo
codenameone demo
Last synced: about 1 month ago
JSON representation
Demo of property binding
- Host: GitHub
- URL: https://github.com/codenameone/propertiesdemo
- Owner: codenameone
- Created: 2017-04-12T19:33:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-13T11:44:05.000Z (over 7 years ago)
- Last Synced: 2024-10-14T09:35:55.263Z (3 months ago)
- Topics: codenameone, demo
- Language: Java
- Size: 202 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Properties Demo
Demo of property binding in Codename One used within this blog post: https://www.codenameone.com/blog/properties-are-amazing.html
Properties allow seamless introspection and observability which means we can automate many tasks without the need for bytecode manipulation or other "problematic" tricks. In this case the properties are bound to the database and the GUI which is auto-generated.
I left an old hand coded implementation of the UI code for reference but it isn't really used, the entire edit UI is generated magically:
![ui](https://www.codenameone.com/img/blog/properties-demo-binding.png)