one angular js code for desktop and web application?

29 views
Skip to first unread message

Tariq Sajid

unread,
Jan 8, 2016, 8:36:42 AM1/8/16
to AngularJS
Hi i am asking it to clear my concept 
So the scenario is i am making a student management system this can be use by student,teacher and administration  .
the student can view their attendance and personal info using web
and teacher can edit the attendance using web
and admin can enter new class ,add or delete student and make reports using desktop GUI
maybe this pic help



now i made this in angularjs that can be use only by web browser what if i want to use the same code in desktop like application e.g i can made it in c# using wpf and use rest api to get the data and then apply logic but what if i define the logic in angular model one time and then use it for both web and desktop 

is their and framework that can  use angularjs logic and for desktop GUI it use the native rendering. 

Carlos Esteban Lopez Jaramillo

unread,
Jan 8, 2016, 2:13:59 PM1/8/16
to AngularJS
I don't know about that, there's of course libraries for using code from another language but angular best features are in the html side, i think the best way is to serve angular in the web, and also have the same code in a desktop app be it with NW.js or Electron, that wraps your code in a simplified browser.
Reply all
Reply to author
Forward
0 new messages