New Cubi UI with Angularjs

25 views
Skip to first unread message

ro...@openbiz.me

unread,
May 13, 2014, 2:41:00 AM5/13/14
to openbi...@googlegroups.com
Hi All,

I recently wrote typical Openbiz Cubi UI layer with Angularjs. It is a very exciting experience. I've found the new approach really work well. Angularjs can simplify a lot browser javascript code and template. It also make EasyForm code much cleaner and smaller. Surprisingly the current Cubi UI look and feel may keep the same with Angularjs enabled.


All your comments are welcome.

Rocky

Alberto Lopez

unread,
May 13, 2014, 9:27:39 AM5/13/14
to openbi...@googlegroups.com, ro...@openbiz.me
Ok, help me understand a little better... This isn´t related to OpenBiz-JS, this is for the PHP Cubi project, isn´t it ?

Rocky Swen

unread,
May 13, 2014, 10:09:14 AM5/13/14
to Alberto Lopez, openbi...@googlegroups.com

Yes, this is on php on server end with angularjs on browser end. The goal is to use the power of existing cubi and cutting edge angular. In the new structure:
- ui server code will be small and light, only render template without real data.
- angularjs takes care of browser data and ajax logic vs restful api
- add a new restful web service on top of cubi data object layer

ro...@openbiz.me

unread,
May 17, 2014, 4:20:06 AM5/17/14
to openbi...@googlegroups.com, ro...@openbiz.me
Here is an update of the progress.
- Use Slim for server side routing
- Adopt Single Page Application (SPA) model, rewrite several pages as SPA.
- SPA not only makes the user interaction really fast, but simplify server template a lot. I believe this is a huge win.
Reply all
Reply to author
Forward
0 new messages