SlideShare una empresa de Scribd logo
1 de 23
Lemoon CMS 4.2.1
Anders Bergman
Mattias Frid
Agenda
• Introduktion till Lemoon CMS
• Lemoons fundament
• Installation och konfigurering
• Utveckla för Lemoon
Demo
Lemoon CMS
• Enterprise Library 4.1
• Repository Pattern
• Service Model
• ASP.NET WebForms
• ASP.NET MVC (Widgets)
• MS SQL Server
Installation
Download
• Lemoon
– http://www.lemoon.se/ladda-ner-lemoon
• Snippets & Content Type Item
– http://www.lemoon.se/downloads
Paths
• Project template
– C:Users{User}DocumentsVisual Studio
2010TemplatesProjectTemplates
• Snippets
– C:Users{User}DocumentsVisual Studio
2010Code SnippetsLemoon
• ContentType
– C:Users{User}DocumentsVisual Studio
2010TemplatesItemTemplates
Setup
• Create new Project
• Create new Database
• Create LoginName and User in
database
• Change credentials in
Web.Config connectionstring
Components
• MasterPage
• Template
• UserControl
• View (Advanced)
• ContentType
• Content
– Content
– ContentRef
• Properties
– Text
– HTML
– Image
– Content
– File
– Drop down
– Check box
– Radio button
– Lists
– Mulitselect list
Helpers & Services
• Mindroute.Core.Helpers
• Mindroute.Lemoon.Helpers
• Mindroute.Core.Services
– ContentService
– UserService
– FileService
– etc
Visual Studio
Lemoon CMS 4.2.1
Tillfälle 2
Anders Bergman
Mattias Frid
Repetition
• ContentType
– Properties
• Templates
• Helpers
• Services
• Content/ContentRef
Lab 1
1. Skapa en Standardsida
– Kunna skapas under startsidan
– Fält
• Text (HTML)
• Bild
2. Skapa en listsida
– Skall lista direkta undersidor av typen
standardsida (children)
• Visa title och max 100 tecken av texten
– Kunna skapas under startsidan
– Kunna ha standardsidor som undersidor
Lab 2
1.Lägg till tumnagel på
listningssidan
– 100 px bred
2.Tillägg till listningssidan
– Fält
• X-antal undersidor som ska visas
Lab 3
1.Skapa en puff på startsidan
– Skall puffa x-antal standardsidor
på startsidan
– Prova gärna att använda
ContentService för att hämta
innehållet.
Lemoon CMS 4.2.1
Tillfälle 3
Anders Bergman
Mattias Frid
Repetition
• ContentType
– Properties
• Templates
• Helpers
• Services
• Content/ContentRef
Lab 4
• Utöka listsidan
– Skapa två nya ContentTypes
• Bok (Bild, HTML)
• Film (Bild, HTML, file)
– Listsidan skall lista böcker och
filmer.
– Listningsfunktionen skall vara
antingen separerad eller
filtrerad.
Lab 5
• Skapa en Sökfunktion på
listsidan som söker i
underliggande sidor (Böcker och
filmer)
• Titta på Search.aspx i rooten
hur man använder sök-servicen.
Lab 6
1.Skapa en plugin
– Skall hämta värdet title och
sätta som teaser.
– Använd eventet OnContentInsert()

Más contenido relacionado

Similar a Lemoon cms utbildning

Webbapplikationer - Kursintroduktion (anton.tibblin@mah.se)
Webbapplikationer - Kursintroduktion (anton.tibblin@mah.se)Webbapplikationer - Kursintroduktion (anton.tibblin@mah.se)
Webbapplikationer - Kursintroduktion (anton.tibblin@mah.se)Anton Tibblin
 
HT18 - DA156A - Extra
HT18 - DA156A - ExtraHT18 - DA156A - Extra
HT18 - DA156A - ExtraAnton Tibblin
 
HT15, DA354A - Introduktion till Webbprogrammering - Bottle (2)
HT15, DA354A - Introduktion till Webbprogrammering - Bottle (2)HT15, DA354A - Introduktion till Webbprogrammering - Bottle (2)
HT15, DA354A - Introduktion till Webbprogrammering - Bottle (2)Anton Tibblin
 
HT17 - DA156A - Sammanfattning av kursen
HT17 - DA156A - Sammanfattning av kursenHT17 - DA156A - Sammanfattning av kursen
HT17 - DA156A - Sammanfattning av kursenAnton Tibblin
 
HT17 - DA354A - Webbapplikation
HT17 - DA354A - WebbapplikationHT17 - DA354A - Webbapplikation
HT17 - DA354A - WebbapplikationAnton Tibblin
 
TFS 2013 Deep-Dive på LabCenter 2014-02-06
TFS 2013 Deep-Dive på LabCenter 2014-02-06TFS 2013 Deep-Dive på LabCenter 2014-02-06
TFS 2013 Deep-Dive på LabCenter 2014-02-06Solidify
 
HT17 - DA156A - Kursintroduktion
HT17 - DA156A - KursintroduktionHT17 - DA156A - Kursintroduktion
HT17 - DA156A - KursintroduktionAnton Tibblin
 
HT18 - DA156A - Kursintroduktion
HT18 - DA156A - KursintroduktionHT18 - DA156A - Kursintroduktion
HT18 - DA156A - KursintroduktionAnton Tibblin
 
HT19 - DA156A - Kursintroduktion
HT19 - DA156A - KursintroduktionHT19 - DA156A - Kursintroduktion
HT19 - DA156A - KursintroduktionAnton Tibblin
 
Vad är webb för oss?
Vad är webb för oss?Vad är webb för oss?
Vad är webb för oss?Andreas Ek
 
HT16 - DA156A - Kursintroduktion
HT16 - DA156A - KursintroduktionHT16 - DA156A - Kursintroduktion
HT16 - DA156A - KursintroduktionAnton Tibblin
 
VT18 - DA355A/DA344A - Introduktion till HTML
VT18 - DA355A/DA344A - Introduktion till HTMLVT18 - DA355A/DA344A - Introduktion till HTML
VT18 - DA355A/DA344A - Introduktion till HTMLAnton Tibblin
 
HT18 - DA156A - Introduktion till HTML
HT18 - DA156A - Introduktion till HTMLHT18 - DA156A - Introduktion till HTML
HT18 - DA156A - Introduktion till HTMLAnton Tibblin
 
HT19 - DA156A - Introduktion till HTML
HT19 - DA156A - Introduktion till HTMLHT19 - DA156A - Introduktion till HTML
HT19 - DA156A - Introduktion till HTMLAnton Tibblin
 
VT2018 - DA355A - Phonegap, react, vue.js
VT2018 - DA355A - Phonegap, react, vue.jsVT2018 - DA355A - Phonegap, react, vue.js
VT2018 - DA355A - Phonegap, react, vue.jsAnton Tibblin
 

Similar a Lemoon cms utbildning (20)

1. projekt management
1. projekt management1. projekt management
1. projekt management
 
Webbapplikationer - Kursintroduktion (anton.tibblin@mah.se)
Webbapplikationer - Kursintroduktion (anton.tibblin@mah.se)Webbapplikationer - Kursintroduktion (anton.tibblin@mah.se)
Webbapplikationer - Kursintroduktion (anton.tibblin@mah.se)
 
13 cms ht14
13 cms ht1413 cms ht14
13 cms ht14
 
HT18 - DA156A - Extra
HT18 - DA156A - ExtraHT18 - DA156A - Extra
HT18 - DA156A - Extra
 
HT15, DA354A - Introduktion till Webbprogrammering - Bottle (2)
HT15, DA354A - Introduktion till Webbprogrammering - Bottle (2)HT15, DA354A - Introduktion till Webbprogrammering - Bottle (2)
HT15, DA354A - Introduktion till Webbprogrammering - Bottle (2)
 
HT17 - DA156A - Sammanfattning av kursen
HT17 - DA156A - Sammanfattning av kursenHT17 - DA156A - Sammanfattning av kursen
HT17 - DA156A - Sammanfattning av kursen
 
HT17 - DA354A - Webbapplikation
HT17 - DA354A - WebbapplikationHT17 - DA354A - Webbapplikation
HT17 - DA354A - Webbapplikation
 
TFS 2013 Deep-Dive på LabCenter 2014-02-06
TFS 2013 Deep-Dive på LabCenter 2014-02-06TFS 2013 Deep-Dive på LabCenter 2014-02-06
TFS 2013 Deep-Dive på LabCenter 2014-02-06
 
HT17 - DA156A - Kursintroduktion
HT17 - DA156A - KursintroduktionHT17 - DA156A - Kursintroduktion
HT17 - DA156A - Kursintroduktion
 
Alfresco 3.3 - swedish
Alfresco 3.3 - swedishAlfresco 3.3 - swedish
Alfresco 3.3 - swedish
 
HT18 - DA156A - Kursintroduktion
HT18 - DA156A - KursintroduktionHT18 - DA156A - Kursintroduktion
HT18 - DA156A - Kursintroduktion
 
HT19 - DA156A - Kursintroduktion
HT19 - DA156A - KursintroduktionHT19 - DA156A - Kursintroduktion
HT19 - DA156A - Kursintroduktion
 
Vad är webb för oss?
Vad är webb för oss?Vad är webb för oss?
Vad är webb för oss?
 
Cms - WordPress
Cms - WordPressCms - WordPress
Cms - WordPress
 
HT16 - DA156A - Kursintroduktion
HT16 - DA156A - KursintroduktionHT16 - DA156A - Kursintroduktion
HT16 - DA156A - Kursintroduktion
 
VT18 - DA355A/DA344A - Introduktion till HTML
VT18 - DA355A/DA344A - Introduktion till HTMLVT18 - DA355A/DA344A - Introduktion till HTML
VT18 - DA355A/DA344A - Introduktion till HTML
 
HT18 - DA156A - Introduktion till HTML
HT18 - DA156A - Introduktion till HTMLHT18 - DA156A - Introduktion till HTML
HT18 - DA156A - Introduktion till HTML
 
Kursintroduktion
KursintroduktionKursintroduktion
Kursintroduktion
 
HT19 - DA156A - Introduktion till HTML
HT19 - DA156A - Introduktion till HTMLHT19 - DA156A - Introduktion till HTML
HT19 - DA156A - Introduktion till HTML
 
VT2018 - DA355A - Phonegap, react, vue.js
VT2018 - DA355A - Phonegap, react, vue.jsVT2018 - DA355A - Phonegap, react, vue.js
VT2018 - DA355A - Phonegap, react, vue.js
 

Lemoon cms utbildning

  • 1. Lemoon CMS 4.2.1 Anders Bergman Mattias Frid
  • 2.
  • 3. Agenda • Introduktion till Lemoon CMS • Lemoons fundament • Installation och konfigurering • Utveckla för Lemoon
  • 5. Lemoon CMS • Enterprise Library 4.1 • Repository Pattern • Service Model • ASP.NET WebForms • ASP.NET MVC (Widgets) • MS SQL Server
  • 7. Download • Lemoon – http://www.lemoon.se/ladda-ner-lemoon • Snippets & Content Type Item – http://www.lemoon.se/downloads
  • 8. Paths • Project template – C:Users{User}DocumentsVisual Studio 2010TemplatesProjectTemplates • Snippets – C:Users{User}DocumentsVisual Studio 2010Code SnippetsLemoon • ContentType – C:Users{User}DocumentsVisual Studio 2010TemplatesItemTemplates
  • 9. Setup • Create new Project • Create new Database • Create LoginName and User in database • Change credentials in Web.Config connectionstring
  • 10. Components • MasterPage • Template • UserControl • View (Advanced) • ContentType • Content – Content – ContentRef • Properties – Text – HTML – Image – Content – File – Drop down – Check box – Radio button – Lists – Mulitselect list
  • 11. Helpers & Services • Mindroute.Core.Helpers • Mindroute.Lemoon.Helpers • Mindroute.Core.Services – ContentService – UserService – FileService – etc
  • 13.
  • 14. Lemoon CMS 4.2.1 Tillfälle 2 Anders Bergman Mattias Frid
  • 15. Repetition • ContentType – Properties • Templates • Helpers • Services • Content/ContentRef
  • 16. Lab 1 1. Skapa en Standardsida – Kunna skapas under startsidan – Fält • Text (HTML) • Bild 2. Skapa en listsida – Skall lista direkta undersidor av typen standardsida (children) • Visa title och max 100 tecken av texten – Kunna skapas under startsidan – Kunna ha standardsidor som undersidor
  • 17. Lab 2 1.Lägg till tumnagel på listningssidan – 100 px bred 2.Tillägg till listningssidan – Fält • X-antal undersidor som ska visas
  • 18. Lab 3 1.Skapa en puff på startsidan – Skall puffa x-antal standardsidor på startsidan – Prova gärna att använda ContentService för att hämta innehållet.
  • 19. Lemoon CMS 4.2.1 Tillfälle 3 Anders Bergman Mattias Frid
  • 20. Repetition • ContentType – Properties • Templates • Helpers • Services • Content/ContentRef
  • 21. Lab 4 • Utöka listsidan – Skapa två nya ContentTypes • Bok (Bild, HTML) • Film (Bild, HTML, file) – Listsidan skall lista böcker och filmer. – Listningsfunktionen skall vara antingen separerad eller filtrerad.
  • 22. Lab 5 • Skapa en Sökfunktion på listsidan som söker i underliggande sidor (Böcker och filmer) • Titta på Search.aspx i rooten hur man använder sök-servicen.
  • 23. Lab 6 1.Skapa en plugin – Skall hämta värdet title och sätta som teaser. – Använd eventet OnContentInsert()

Notas del editor

  1. test
  2. Reklam/webbyrå Maj 2010 ~25 anställda Lindholmen Systemutvecklare, frontend, flashare, AD:s, 3D, projektledare, säljare.. CMS; Lemoon, EPiServer, Litum, N2...
  3. Generell demo av Lemoon Admin-gränsnitt Edit-gränsnitt; Fält, Alias, Properties, Visability, SEO Användare Filer Content types/Templates Språk/Sajter
  4. test
  5. test