[magnolia-dev] [JIRA] (JSMODELS-4) Provide samples of how to use JS models

2017-06-26 Thread on behalf of Roman Kovařík
Title: Message Title


 
 
 
 

 
 
 

 
   
 Roman Kovařík updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Magnolia _javascript_ Models /  JSMODELS-4  
 
 
  Provide samples of how to use JS models   
 

  
 
 
 
 

 
Change By: 
 Roman Kovařík  
 
 
Sprint: 
 Kromeriz 101 , Kromeriz 102  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.2.6#72008-sha1:26175bf)  
 
 

 
   
 

  
 

  
 

   




For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (JSMODELS-4) Provide samples of how to use JS models

2017-06-26 Thread on behalf of Roman Kovařík
Title: Message Title


 
 
 
 

 
 
 

 
   
 Roman Kovařík updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Magnolia _javascript_ Models /  JSMODELS-4  
 
 
  Provide samples of how to use JS models   
 

  
 
 
 
 

 
Change By: 
 Roman Kovařík  
 
 
Sprint: 
 Kromeriz  100  101  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.2.6#72008-sha1:26175bf)  
 
 

 
   
 

  
 

  
 

   




For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (JSMODELS-4) Provide samples of how to use JS models

2017-06-12 Thread on behalf of Roman Kovařík
Title: Message Title


 
 
 
 

 
 
 

 
   
 Roman Kovařík updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Magnolia _javascript_ Models /  JSMODELS-4  
 
 
  Provide samples of how to use JS models   
 

  
 
 
 
 

 
Change By: 
 Roman Kovařík  
 
 
Sprint: 
 Kromeriz  99  100  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.2.6#72008-sha1:26175bf)  
 
 

 
   
 

  
 

  
 

   




For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (JSMODELS-4) Provide samples of how to use JS models

2017-06-05 Thread on behalf of Roman Kovařík
Title: Message Title


 
 
 
 

 
 
 

 
   
 Roman Kovařík updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Magnolia _javascript_ Models /  JSMODELS-4  
 
 
  Provide samples of how to use JS models   
 

  
 
 
 
 

 
Change By: 
 Roman Kovařík  
 
 
Story Points: 
 5  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.2.6#72008-sha1:26175bf)  
 
 

 
   
 

  
 

  
 

   




For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (JSMODELS-4) Provide samples of how to use JS models

2017-06-05 Thread JIRA (on behalf of Jaroslav Simak)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jaroslav Simak updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Magnolia _javascript_ Models /  JSMODELS-4  
 
 
  Provide samples of how to use JS models   
 

  
 
 
 
 

 
Change By: 
 Jaroslav Simak  
 
 
Assignee: 
 Jaroslav Simak  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.2.6#72008-sha1:26175bf)  
 
 

 
   
 

  
 

  
 

   




For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (JSMODELS-4) Provide samples of how to use JS models

2017-06-01 Thread on behalf of Michael Mühlebach
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Mühlebach updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Magnolia _javascript_ Models /  JSMODELS-4  
 
 
  Provide samples of how to use JS models   
 

  
 
 
 
 

 
Change By: 
 Michael Mühlebach  
 
 
Sprint: 
 Kromeriz 99  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.2.6#72008-sha1:26175bf)  
 
 

 
   
 

  
 

  
 

   




For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (JSMODELS-4) Provide samples of how to use JS models

2017-05-17 Thread JIRA (on behalf of Christopher Zimmermann)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christopher Zimmermann updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Magnolia _javascript_ Models /  JSMODELS-4  
 
 
  Provide samples of how to use JS models   
 

  
 
 
 
 

 
Change By: 
 Christopher Zimmermann  
 
 
Assignee: 
 Jaroslav Simak  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.2.6#72008-sha1:26175bf)  
 
 

 
   
 

  
 

  
 

   




For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (JSMODELS-4) Provide samples of how to use JS models

2017-05-16 Thread JIRA (on behalf of Antti Hietala)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Antti Hietala updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Magnolia _javascript_ Models /  JSMODELS-4  
 
 
  Provide samples of how to use JS models   
 

  
 
 
 
 

 
Change By: 
 Antti Hietala  
 
 
Labels: 
 to-estimate  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.2.6#72008-sha1:26175bf)  
 
 

 
   
 

  
 

  
 

   




For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (JSMODELS-4) Provide samples of how to use JS models

2017-05-16 Thread JIRA (on behalf of Christopher Zimmermann)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christopher Zimmermann created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Magnolia _javascript_ Models /  JSMODELS-4  
 
 
  Provide samples of how to use JS models   
 

  
 
 
 
 

 
Issue Type: 
  Task  
 
 
Assignee: 
 Jaroslav Simak  
 
 
Created: 
 16/May/17 4:12 PM  
 
 
Priority: 
  Neutral  
 
 
Reporter: 
 Christopher Zimmermann  
 

  
 
 
 
 

 
 We should provide samples of how to work with Magnolia FTL data-structures in JS models.  They can be tricky to work with because one needs to know the data structure that is passed in to a JS function from the FTL. Samples will help with this and give developers a good starting point. Samples can also help to illustrate possible use cases for the feature. (Initiative validation: https://wiki.magnolia-cms.com/display/PMTEAM/Template+model+LDV) Use cases to demonstrate: 
 
Keep templates simpler by moving logic into model. 
Processing the post of a frontend form. 
Communicating with Magnolia internals. 
Making a REST GET or POST 
 Probably the samples can best be delivered as one light module. I created a few samples while testing the feature that may be useful as a starting point: https://git.magnolia-cms.com/users/czimmermann/repos/js-model-samples/browse/light-modules/js-model-samples There are some notes here: https://wiki.magnolia-cms.com/display/PMTEAM/LD+Testing+-+JS+Models The samples should be documented with a README in the project, and should also be mentioned in Magnolia docs.