Making Angular Hot Deployable Components or Progressive Desktop Applications with Angular

113 views
Skip to first unread message

Jose Sosa

unread,
Apr 17, 2017, 5:15:30 PM4/17/17
to Angular and AngularJS discussion
Hi Angular community,

I have been working with Docker & Microservices for my angular enterprise application and had the idea of how great it would be to have an Angular application deployed and running off a CDN server or docker container. No magic happens yet and I  build a new component and want to make it viewable in the application but with out re-building the entire application now lots of magic would have to happen.
 
Maybe we can introduce Progressive Desktop Applications with Angular:
  1. I would like to hot deploy new features encapsulated in a module/component architecture
  2. I would like to dockerize the Angular application module/component independently of the main Angular application
  3. I would like to deploy new functionality as it becomes available through a feature toggle service
  4. I may wish to have this toggle set by a non technical person using a CMS to toggle the new functionality on and off
I know this is impossible with current Angular Architecture but wanted to put out the thought that this is what I looking for in a future Angular capability.

Thanks,

Jose

Sander Elias

unread,
Apr 24, 2017, 11:18:47 PM4/24/17
to Angular and AngularJS discussion
Hi Jose,

This is a highly specialised way of deploying. I'm pretty sure you can come pretty far by using lazy loaded modules. This will not be a trivial thing to set up, and I highly doubt they payback is worth the effort. Also, doing this will make your app close coupled to a certain toolset (probably even down to certain versions of that!).  
The idea is cool though, and if you are able to pull it off, there will be probably some interest in that system. On the other side, there will be people that don't think that throwing more moving parts into the mix is a smart thing to do.
My personal opinion is both actually ;)

Regards
Sander

Jose Sosa

unread,
May 3, 2017, 2:25:50 AM5/3/17
to Angular and AngularJS discussion
Thanks I may have found a library that does what I need.


Jose

Sander Elias

unread,
May 3, 2017, 4:36:17 AM5/3/17
to Angular and AngularJS discussion
Hi Jose,

Looks good!. Let me know if it works well with Angular lazyloading!

Regards
Sander
Reply all
Reply to author
Forward
0 new messages