Since several components based on reflection approach are now integrated, and working fine, I uploaded the Dart project to Github:
https://github.com/calathus/reflective_web_dev_kit
There are a few more things to do, but this is not bad timing to clean up the project structure and store it to github.
here is the readme file:
Reflective Web Dev Kit
Overview
The goal of this project is to create a small end2end sample application using component based approach.
Dart's mirror library will be applied to several area of web application, GUI, Database Access, client/server communication.
Thus the project is called 'reflective' web dev kit.
See following blog site:
http://dartathus.blogspot.com
1. portable_mirror
right now, darts:mirrors library cannot be used in javascript mode. So
if we directly use this library, most of code cannot be run on browser.
This lib provides a portable mirror API to support (small subset of)
mirror features.
There are two implementations for this API class. one depends on static
classes, and the other depends on dart:mirror.
No code changes are required to run application on javascripts mode or
Dartium mode(using Dart VM).
2. json_mapper
json mapping based on mirror library. this automatically map json to corresponding entity instance
3.couchdb
dao api for couchdb based on mirror/json_mapper. this provides server side json_proxy, and client side couchdb dao library
4. gui_component
a framework to create web application using component based design,
also table/form are implemented as generic class using mirror.
5. sample_app
This is a sample web application using these libraries.
This web application supports CRUD operation using Table and Form.
No comments:
Post a Comment