SlideShare a Scribd company logo
Becoming a coder in 60 minutes
mewssystems.com
CODING FOR MEWS
How to install a new hotel?
How to create a nice confirmation e-mail?
How to format T&C’s?
How to make custom bill headers?
How to format the text on the registration card?
XML
HTML
Hotel installation
mewssystems.com
HOTEL INSTALLATION
Why installing via an XML file?
1) You can re-use the same file for Demo and Production.
2) You can send the file to a colleague for a review!
3) If something goes wrong, you can send the file to MEWS
for an analysis of the problem.
4) You can re-use parts of the file when installing a similar hotel.
XML
mewssystems.com
XML
eXtensible Markup Language
mewssystems.com
XML – BASIC TERMINOLOGY
<element>Text content.</element>
opening tag closing tag
name of the element
no whitespace
This is an XML element. It has 3 parts – opening tag, closing tag and content. The content can be a text, or another XML element. Always make sure that there
is no space within your opening tag. A space is a separator between attributes in XML. That’s why you cannot use it in the name of the element. Always make
sure that the name of the closing tag matches the name of the opening tag. Case sensitive – capital letters matter. The forward slash always needs to be at the
start of the closing tag.
mewssystems.com
XML – BASIC TERMINOLOGY
<price>300</price>
Q: What is the name of this element?
Q: What is the content of this element?
mewssystems.com
XML – BASIC TERMINOLOGY
<element/>
This is an element without content. It’s called empty element or, also, self-closing element. The opening tag is also a closing one. That’s why the slash is present
at the end of the opening/closing tag.
mewssystems.com
XML – BASIC TERMINOLOGY
<soldOut/>
The meaning of the self closing tag, when it does not have any content is its presence itself. If you have such an element inside of an element called
roomCategory, it probably means that all the rooms of that category are sold. If the element is not there, it’s not sold out.
mewssystems.com
XML – BASIC TERMINOLOGY
<element attribute=“value”>Content</element>
attribute name
no whitespace
attribute value
Attributes are another way how to structure information. You can add more informatin about the element.
mewssystems.com
XML – BASIC TERMINOLOGY
<price currency=“EUR”>300</element>
mewssystems.com
XML – BASIC TERMINOLOGY
<price currency=“EUR” vat=“19”>300</element>
An element can have more attributes. Those are separated by space. That’s, again, why the name of the attribute cannot contain a space. Also, the value of the
attribute needs to be enclosed in quotes. The application that reads such a file will then recognize, where the value starts and where it ends.
Q: What’s the error here?
mewssystems.com
XML – BASIC TERMINOLOGY
<hotel name=“Luxury Suites”>
<room number=“A101”/>
</hotel>
You can nest elements into each other. Always make sure that one element is nested in another one. You cannot cross them. If you open an element hotel and
then an element room, you need to close them in the order room, hotel. If you do otherwise, those are interleaved and your XML is not valid.
mewssystems.com
XML – BASIC DOCUMENT STRUCTURE
<?xml version=“1.0” encoding=“UTF-8”?>
<root>
</root>
<child>
</child>
<childOfChild>
Text content of an element.
</childOfChild>
<anotherChild />
<child-with-attribute attributeName=“value” />
<!-- This is an XML comment -->
mewssystems.com
XML – EXAMPLE
<?xml version=“1.0” encoding=“UTF-8”?>
<animals>
<wild>
<dog owner=“Matt” kind=“Jack Russel”>
Beyoncé
</dog>
<anonymousCat/>
<cat knownAs=“Gucci” />
<!-- No more animals in this XML file. -->
</wild>
</animals>
mewssystems.com
XML – COMMON MISTAKES
<?xml version=“1.0” encoding=“UTF-8”?>
<root>
<child>
<dog>
Beyoncé
</cat>
<hi>
<hello reason=To be kind>
Greetings!
</hi>
</hello>
<dog known As=“Gucci” nickname=“Big “G””>
<!- No more animals in this XML file. -->
</Child>
<root>
<animals>
</animals>
There are 10 errors. Identify them.
mewssystems.com
XML – COMMON MISTAKES
<?xml version=“1.0” encoding=“UTF-8”?>
<root>
<child>
<dog>
Beyoncé
</cat>
<hi>
<hello reason=To be kind>
Greetings!
</hi>
</hello>
<dog known As=“Gucci” nickname=“Big “G””>
<!- No more animals in this XML file. -->
</Child>
<root>
<animals>
</animals>
mewssystems.com
XML – COMMON MISTAKES
<?xml version=“1.0” encoding=“UTF-8”?>
<root>
<child>
<dog>
Beyoncé
</dog>
<hi>
<hello reason=“To be kind”>
Greetings!
</hello>
</hi>
<dog knownAs=“Gucci” nickname=“Big &quot;G&quot;” />
<!-- No more animals in this XML file. -->
</child>
<root>
If you need to use quotes in the value of an attribute, you need to use so-called XML Entities that represent quotes.
mewssystems.com
XML VALIDATION
Always make sure that your file is well-formed
Use some XML editor (Atom, Notepad++, SublimeText, …)
Use some XML validator, e.g. https://validator.w3.org/
Cross-validate your files with your colleagues.
Do not use format-aware text editors like Word, TextEdit, Google Docs, …
mewssystems.com
MEWS XML INSTALLATION FILE
Before you start:
1) Choose an XML editor
2) Remember, how a well-formed XML looks like.
3) Get the Excel config file from the customer and validate it.
4) Obtain the current version of the installer file template.
DEMO TIME!
(XML INSTALLATION SAMPLE)
HTML
mewssystems.com
HTML
HyperText Markup Language
mewssystems.com
HTML
Special case of XML.
A way of telling a browser (web browser, e-mail client, …),
how a document should look like.
We highly recommend to use just a very small subset
(or a web developer).
E-mail clients often support a very small subset of HTML. You need someone with experience to make an advanced confirmation e-mail.
mewssystems.com
HTML - FORMATTING ELEMENTS
<p>, <br />
<strong>, <em>
<img src=“http://…” width=“130” height=“90” />
<h1>, <h2>, <h3>, <h4>, <h5>, <h6>
<ul>, <ol>, <li>
<hr />
<a href=“http://...” target=“_blank”>
Click here!
</a>
DEMO TIME!
(BASIC HTML SAMPLE)
MEWS HTML templates
mewssystems.com
HTML TEMPLATES
Some fields in MEWS expect you to fill them in with an HTML
template. Moreover, the HTML can contain special
{placeholders}
that are automatically replaced when MEWS generates the
corresponding document.
mewssystems.com
HTML TEMPLATES
<p>
Dear {Name}, <br />
welcome to our luxury hotel! Pleasure to meet you!
</p>
{DetailsHtml}
<p>
Kind regards, <br />
the team of the {EnterpriseName} hotel
</p>
DEMO TIME!
(CONFIRMATION E-MAIL)
Questions?
mewssystems.com
LINKS
IT crowd scene
CodePen – Confirmation e-mail
Installation template

More Related Content

What's hot

Introduction to ExtJS
Introduction to ExtJSIntroduction to ExtJS
Introduction to ExtJS
Arun Prasad
 
HTML 5 Simple Tutorial Part 4
HTML 5 Simple Tutorial Part 4HTML 5 Simple Tutorial Part 4
HTML 5 Simple Tutorial Part 4
Sanjeev Kumar
 
HTML5 Web Forms
HTML5 Web FormsHTML5 Web Forms
HTML5 Web Forms
Estelle Weyl
 
Web engineering - HTML Form
Web engineering -  HTML FormWeb engineering -  HTML Form
Web engineering - HTML Form
Nosheen Qamar
 
05 html-forms
05 html-forms05 html-forms
05 html-formsPalakshya
 
Designing an ExtJS user login panel
Designing an ExtJS user login panelDesigning an ExtJS user login panel
Designing an ExtJS user login panelArun Prasad
 

What's hot (7)

Introduction to ExtJS
Introduction to ExtJSIntroduction to ExtJS
Introduction to ExtJS
 
HTML 5 Simple Tutorial Part 4
HTML 5 Simple Tutorial Part 4HTML 5 Simple Tutorial Part 4
HTML 5 Simple Tutorial Part 4
 
HTML5 Web Forms
HTML5 Web FormsHTML5 Web Forms
HTML5 Web Forms
 
Web engineering - HTML Form
Web engineering -  HTML FormWeb engineering -  HTML Form
Web engineering - HTML Form
 
05 html-forms
05 html-forms05 html-forms
05 html-forms
 
Form Validation
Form ValidationForm Validation
Form Validation
 
Designing an ExtJS user login panel
Designing an ExtJS user login panelDesigning an ExtJS user login panel
Designing an ExtJS user login panel
 

Viewers also liked

Best new yorks_hotel
Best new yorks_hotelBest new yorks_hotel
Best new yorks_hotel
BIP America
 
Talk Like TED: 3 Unbreakable Laws of Communication
Talk Like TED: 3 Unbreakable Laws of Communication Talk Like TED: 3 Unbreakable Laws of Communication
Talk Like TED: 3 Unbreakable Laws of Communication
Carmine Gallo
 
Digital Storytelling for Social Impact
Digital Storytelling for Social ImpactDigital Storytelling for Social Impact
Digital Storytelling for Social Impact
The Rockefeller Foundation
 
The Storyteller's Secret: 3 Keys to Mastering Storytelling to Win Hearts and ...
The Storyteller's Secret: 3 Keys to Mastering Storytelling to Win Hearts and ...The Storyteller's Secret: 3 Keys to Mastering Storytelling to Win Hearts and ...
The Storyteller's Secret: 3 Keys to Mastering Storytelling to Win Hearts and ...
Carmine Gallo
 
5 Storytelling Lessons From Superhero Stories
5 Storytelling Lessons From Superhero Stories5 Storytelling Lessons From Superhero Stories
5 Storytelling Lessons From Superhero Stories
HighSpark | Visual Storytelling Agency
 
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika AldabaLightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
ux singapore
 

Viewers also liked (6)

Best new yorks_hotel
Best new yorks_hotelBest new yorks_hotel
Best new yorks_hotel
 
Talk Like TED: 3 Unbreakable Laws of Communication
Talk Like TED: 3 Unbreakable Laws of Communication Talk Like TED: 3 Unbreakable Laws of Communication
Talk Like TED: 3 Unbreakable Laws of Communication
 
Digital Storytelling for Social Impact
Digital Storytelling for Social ImpactDigital Storytelling for Social Impact
Digital Storytelling for Social Impact
 
The Storyteller's Secret: 3 Keys to Mastering Storytelling to Win Hearts and ...
The Storyteller's Secret: 3 Keys to Mastering Storytelling to Win Hearts and ...The Storyteller's Secret: 3 Keys to Mastering Storytelling to Win Hearts and ...
The Storyteller's Secret: 3 Keys to Mastering Storytelling to Win Hearts and ...
 
5 Storytelling Lessons From Superhero Stories
5 Storytelling Lessons From Superhero Stories5 Storytelling Lessons From Superhero Stories
5 Storytelling Lessons From Superhero Stories
 
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika AldabaLightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
 

Similar to Becoming a coder in 60 minutes - Mews Commander PMS

xml introduction in web technologies subject
xml introduction in web technologies subjectxml introduction in web technologies subject
xml introduction in web technologies subject
UdayKumar693239
 
Xml
XmlXml
XML notes.pptx
XML notes.pptxXML notes.pptx
XML notes.pptx
AmarYa2
 
Xml 1
Xml 1Xml 1
Xml tutorial
Xml tutorialXml tutorial
Xml tutorial
IT
 
Web engineering notes unit 4
Web engineering notes unit 4Web engineering notes unit 4
Web engineering notes unit 4
inshu1890
 
Android de la A a la Z XML Ulises Gonzalez
Android de la A a la Z  XML Ulises GonzalezAndroid de la A a la Z  XML Ulises Gonzalez
Android de la A a la Z XML Ulises Gonzalez
Android UNAM
 
Xml intro1
Xml intro1Xml intro1
Wp unit III
Wp unit IIIWp unit III
Wp unit III
Bhavsingh Maloth
 
Introduction to whats new in css3
Introduction to whats new in css3Introduction to whats new in css3
Introduction to whats new in css3
Usman Mehmood
 
Web engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabusWeb engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabus
NANDINI SHARMA
 
Web programming unit IIII XML &DOM NOTES BY BHAVSINGH MALOTH
Web programming unit IIII XML &DOM NOTES BY BHAVSINGH MALOTHWeb programming unit IIII XML &DOM NOTES BY BHAVSINGH MALOTH
Web programming unit IIII XML &DOM NOTES BY BHAVSINGH MALOTH
Bhavsingh Maloth
 
5. Frames & Forms.pdf
5. Frames & Forms.pdf5. Frames & Forms.pdf
5. Frames & Forms.pdf
qwertyuiop154709
 
CTDA Workshop on XML and MODS
CTDA Workshop on XML and MODSCTDA Workshop on XML and MODS
CTDA Workshop on XML and MODS
University of Connecticut Libraries
 
chapter 4 web authoring unit 4 xml.pptx
chapter 4 web authoring  unit 4 xml.pptxchapter 4 web authoring  unit 4 xml.pptx
chapter 4 web authoring unit 4 xml.pptx
amare63
 

Similar to Becoming a coder in 60 minutes - Mews Commander PMS (20)

xml introduction in web technologies subject
xml introduction in web technologies subjectxml introduction in web technologies subject
xml introduction in web technologies subject
 
Xml
XmlXml
Xml
 
XML notes.pptx
XML notes.pptxXML notes.pptx
XML notes.pptx
 
Xml 1
Xml 1Xml 1
Xml 1
 
Xml tutorial
Xml tutorialXml tutorial
Xml tutorial
 
Web engineering notes unit 4
Web engineering notes unit 4Web engineering notes unit 4
Web engineering notes unit 4
 
Android de la A a la Z XML Ulises Gonzalez
Android de la A a la Z  XML Ulises GonzalezAndroid de la A a la Z  XML Ulises Gonzalez
Android de la A a la Z XML Ulises Gonzalez
 
Xml intro1
Xml intro1Xml intro1
Xml intro1
 
Wp unit III
Wp unit IIIWp unit III
Wp unit III
 
Introduction to whats new in css3
Introduction to whats new in css3Introduction to whats new in css3
Introduction to whats new in css3
 
Web engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabusWeb engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabus
 
Xhtml Basics
Xhtml BasicsXhtml Basics
Xhtml Basics
 
xhtml_basics
xhtml_basicsxhtml_basics
xhtml_basics
 
xhtml_basics
xhtml_basicsxhtml_basics
xhtml_basics
 
Xhtml Basics
Xhtml BasicsXhtml Basics
Xhtml Basics
 
Web programming unit IIII XML &DOM NOTES BY BHAVSINGH MALOTH
Web programming unit IIII XML &DOM NOTES BY BHAVSINGH MALOTHWeb programming unit IIII XML &DOM NOTES BY BHAVSINGH MALOTH
Web programming unit IIII XML &DOM NOTES BY BHAVSINGH MALOTH
 
Unit 2.2
Unit 2.2Unit 2.2
Unit 2.2
 
5. Frames & Forms.pdf
5. Frames & Forms.pdf5. Frames & Forms.pdf
5. Frames & Forms.pdf
 
CTDA Workshop on XML and MODS
CTDA Workshop on XML and MODSCTDA Workshop on XML and MODS
CTDA Workshop on XML and MODS
 
chapter 4 web authoring unit 4 xml.pptx
chapter 4 web authoring  unit 4 xml.pptxchapter 4 web authoring  unit 4 xml.pptx
chapter 4 web authoring unit 4 xml.pptx
 

Recently uploaded

test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Florence Consulting
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
Danica Gill
 
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
cuobya
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
nhiyenphan2005
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
cuobya
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
zyfovom
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
vmemo1
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
CIOWomenMagazine
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
cuobya
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
Understanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdfUnderstanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdf
SEO Article Boost
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
zoowe
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
hackersuli
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
Trending Blogers
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 

Recently uploaded (20)

test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
 
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
Understanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdfUnderstanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdf
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 

Becoming a coder in 60 minutes - Mews Commander PMS

  • 1. Becoming a coder in 60 minutes
  • 2. mewssystems.com CODING FOR MEWS How to install a new hotel? How to create a nice confirmation e-mail? How to format T&C’s? How to make custom bill headers? How to format the text on the registration card? XML HTML
  • 4. mewssystems.com HOTEL INSTALLATION Why installing via an XML file? 1) You can re-use the same file for Demo and Production. 2) You can send the file to a colleague for a review! 3) If something goes wrong, you can send the file to MEWS for an analysis of the problem. 4) You can re-use parts of the file when installing a similar hotel.
  • 5. XML
  • 7. mewssystems.com XML – BASIC TERMINOLOGY <element>Text content.</element> opening tag closing tag name of the element no whitespace This is an XML element. It has 3 parts – opening tag, closing tag and content. The content can be a text, or another XML element. Always make sure that there is no space within your opening tag. A space is a separator between attributes in XML. That’s why you cannot use it in the name of the element. Always make sure that the name of the closing tag matches the name of the opening tag. Case sensitive – capital letters matter. The forward slash always needs to be at the start of the closing tag.
  • 8. mewssystems.com XML – BASIC TERMINOLOGY <price>300</price> Q: What is the name of this element? Q: What is the content of this element?
  • 9. mewssystems.com XML – BASIC TERMINOLOGY <element/> This is an element without content. It’s called empty element or, also, self-closing element. The opening tag is also a closing one. That’s why the slash is present at the end of the opening/closing tag.
  • 10. mewssystems.com XML – BASIC TERMINOLOGY <soldOut/> The meaning of the self closing tag, when it does not have any content is its presence itself. If you have such an element inside of an element called roomCategory, it probably means that all the rooms of that category are sold. If the element is not there, it’s not sold out.
  • 11. mewssystems.com XML – BASIC TERMINOLOGY <element attribute=“value”>Content</element> attribute name no whitespace attribute value Attributes are another way how to structure information. You can add more informatin about the element.
  • 12. mewssystems.com XML – BASIC TERMINOLOGY <price currency=“EUR”>300</element>
  • 13. mewssystems.com XML – BASIC TERMINOLOGY <price currency=“EUR” vat=“19”>300</element> An element can have more attributes. Those are separated by space. That’s, again, why the name of the attribute cannot contain a space. Also, the value of the attribute needs to be enclosed in quotes. The application that reads such a file will then recognize, where the value starts and where it ends. Q: What’s the error here?
  • 14. mewssystems.com XML – BASIC TERMINOLOGY <hotel name=“Luxury Suites”> <room number=“A101”/> </hotel> You can nest elements into each other. Always make sure that one element is nested in another one. You cannot cross them. If you open an element hotel and then an element room, you need to close them in the order room, hotel. If you do otherwise, those are interleaved and your XML is not valid.
  • 15. mewssystems.com XML – BASIC DOCUMENT STRUCTURE <?xml version=“1.0” encoding=“UTF-8”?> <root> </root> <child> </child> <childOfChild> Text content of an element. </childOfChild> <anotherChild /> <child-with-attribute attributeName=“value” /> <!-- This is an XML comment -->
  • 16. mewssystems.com XML – EXAMPLE <?xml version=“1.0” encoding=“UTF-8”?> <animals> <wild> <dog owner=“Matt” kind=“Jack Russel”> Beyoncé </dog> <anonymousCat/> <cat knownAs=“Gucci” /> <!-- No more animals in this XML file. --> </wild> </animals>
  • 17. mewssystems.com XML – COMMON MISTAKES <?xml version=“1.0” encoding=“UTF-8”?> <root> <child> <dog> Beyoncé </cat> <hi> <hello reason=To be kind> Greetings! </hi> </hello> <dog known As=“Gucci” nickname=“Big “G””> <!- No more animals in this XML file. --> </Child> <root> <animals> </animals> There are 10 errors. Identify them.
  • 18. mewssystems.com XML – COMMON MISTAKES <?xml version=“1.0” encoding=“UTF-8”?> <root> <child> <dog> Beyoncé </cat> <hi> <hello reason=To be kind> Greetings! </hi> </hello> <dog known As=“Gucci” nickname=“Big “G””> <!- No more animals in this XML file. --> </Child> <root> <animals> </animals>
  • 19. mewssystems.com XML – COMMON MISTAKES <?xml version=“1.0” encoding=“UTF-8”?> <root> <child> <dog> Beyoncé </dog> <hi> <hello reason=“To be kind”> Greetings! </hello> </hi> <dog knownAs=“Gucci” nickname=“Big &quot;G&quot;” /> <!-- No more animals in this XML file. --> </child> <root> If you need to use quotes in the value of an attribute, you need to use so-called XML Entities that represent quotes.
  • 20. mewssystems.com XML VALIDATION Always make sure that your file is well-formed Use some XML editor (Atom, Notepad++, SublimeText, …) Use some XML validator, e.g. https://validator.w3.org/ Cross-validate your files with your colleagues. Do not use format-aware text editors like Word, TextEdit, Google Docs, …
  • 21. mewssystems.com MEWS XML INSTALLATION FILE Before you start: 1) Choose an XML editor 2) Remember, how a well-formed XML looks like. 3) Get the Excel config file from the customer and validate it. 4) Obtain the current version of the installer file template.
  • 23. HTML
  • 25. mewssystems.com HTML Special case of XML. A way of telling a browser (web browser, e-mail client, …), how a document should look like. We highly recommend to use just a very small subset (or a web developer). E-mail clients often support a very small subset of HTML. You need someone with experience to make an advanced confirmation e-mail.
  • 26. mewssystems.com HTML - FORMATTING ELEMENTS <p>, <br /> <strong>, <em> <img src=“http://…” width=“130” height=“90” /> <h1>, <h2>, <h3>, <h4>, <h5>, <h6> <ul>, <ol>, <li> <hr /> <a href=“http://...” target=“_blank”> Click here! </a>
  • 29. mewssystems.com HTML TEMPLATES Some fields in MEWS expect you to fill them in with an HTML template. Moreover, the HTML can contain special {placeholders} that are automatically replaced when MEWS generates the corresponding document.
  • 30. mewssystems.com HTML TEMPLATES <p> Dear {Name}, <br /> welcome to our luxury hotel! Pleasure to meet you! </p> {DetailsHtml} <p> Kind regards, <br /> the team of the {EnterpriseName} hotel </p>
  • 33. mewssystems.com LINKS IT crowd scene CodePen – Confirmation e-mail Installation template

Editor's Notes

  1. Tags (přívěsky)