darryn,

thanks for the feedback!

there is nothing wrong with javascript, cookies, jquery, or bootstrap.  but 
imho jquery and bootstrap do not belong in the weewx standard skin.

- weewx must have minimal dependencies, but using jquery/bootstrap is a 
massive dependency
- using jquery makes cheetah constructs difficult to recognize and 
understand
- as long as the skin design is simple, there is no need for features 
provided by jquery and/or bootstrap

cookies and javascript are no problem, but gratuitous use of either *is* a 
problem.  for example, there is no reason to use javascript to navigate 
between pages when a simple href will do the job.

so any javascript/cookie use must be minimal and must serve a purpose

another example: individual html pages versus a single page with plot divs 
that show/hide.  the previous implementation used the former, the proposed 
uses the latter.  javascript to do it, cookies to maintain the state.  for 
simplicity i would rather have no javascript or cookies, but i'm not sure 
whether the multiple html pages or show/hide divs is a better approach in 
the context of a weewx standard skin.

if i'm writing javascript or css that does what jquery or bootstrap does, 
then i need to simplify the design.

of course the trade off is that the result must still be functional and 
reasonably aesthetically pleasing.

m

Reply via email to