cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Punith S <punit...@cloudbyte.com>
Subject Custom popup forms w.r.t Plugin Provider
Date Tue, 24 Jun 2014 07:03:23 GMT
hi,

I am in process of adding a new Add Primary Storage (specific to my Storage
plugin) form  whose labels & certain values will be different than the
current Default Provider's Add Primary Storage form.
also looping the GSoC'14
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Create+GUI+to+add+primary+storage+based+on+plug-ins

it seems adding more checks and if-else clauses in system.js will make it
more fragile and unmanageable.

use case:
since each vendor requires to use ui with their own specific params,

for example with add primary storage:
referring the attachment, popup form will be dynamically changed to have
different params wrt the selected storage providers.

hence instead of writing the vendor specific code inside system.js(common
file)
is it acceptable to modularize the code to different vendor specific js
files like in writing a third party UI plugin ?
ref -
https://cwiki.apache.org/confluence/display/CLOUDSTACK/UI+Plugin+Tutorial

thanks
-- 
regards,

punith s
cloudbyte.com

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