optimization - Segmented Meteor App(s) - loading only half the client or two apps sharing a database -


i understand security model of publish , subscribe.

but i'm working on large application, of perhaps 70% admin only, restricted less 1% of user base.

it seems horrible send templates, css, , javascript , "add ons" (like wysiwyg editor) going used admins, app users.

is there way send clientside stuff users (or when user triggers different "section"?

if not, think option have 2 different meteor applications side-by-side, both use same database, have different applications/interfaces/sessions. see 2 apps same database

any other suggestions/ideas?

a simple, incomplete solution dynamically loading css , js dependencies @ template.mytemplate.created event. you'll still have shared html , packages code, but, depending on application, fine.

if need more control on template dispatching conversation @ meteor talk group illustrates couple of different solutions.

https://groups.google.com/forum/?fromgroups=#!searchin/meteor-talk/templates$2020/meteor-talk/f3dnoiedk00


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -