kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jason zhong <>
Subject refactor data model in kylin front end
Date Wed, 14 Jan 2015 15:37:04 GMT
Currently all data model info are defined in controller in
and presentation mixed together.

It's ok for small app.but for kylin,It's not a good idea. with application
grows,we need to refactor the code by seprating the data model from
controller. in angularjs ,service is a good feature to make this happen.
The controller in angularjs will manage the presentation.and data model
managed in service.
so I propose to refactor the code

here's a blog explain more clearly. FYI

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message