Using REST and Freemarker to Build Components “let’s make something”

Slides:



Advertisements
Similar presentations
Page 1 Shipping and Billing for Related (Owned) Factories By MIS Department.
Advertisements

CARTONIZE CUT & PRINT BOX END LABELS RLM System. Page 2 Glossary of Training Terms The following terms will be used throughout this training program:
BeKnown How-to: Company Profiles & Jobs App for Timeline.
Page 1 Inter-Company Cash Application By MIS Department.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 38.
1 Disable Pictures & Login. 2 Turn off Pop-up Blocker.
Wikispaces 101 Training Standards & Interoperability (S&I) Framework May 30, :00 - 5:00pm EDT 1.
Delivery Methods forIPP Event Notifications 1 Internet Printing Protocol (IPP) Delivery Methods for IPP Event Notifications.
PubMed Limits Here is the Limits page. Searches can be limited by restricting terms to fields or setting specific date or record tagging parameters.
Facebook Part III How to Use the Features of Facebook Patrick Therrien Technology & Education Training Specialist.
Michigan Electronic Grants System Plus
MULTIPLICATION EQUATIONS 1. SOLVE FOR X 3. WHAT EVER YOU DO TO ONE SIDE YOU HAVE TO DO TO THE OTHER 2. DIVIDE BY THE NUMBER IN FRONT OF THE VARIABLE.
Using National Geographics By Allyson Gately. ABOUT E-PALS E-Pals is a useful wiki that allows teachers, students and parents all around the world, to.
LiNC Developer Meetup Welcome!. Our job is to make your life easier APIs Tools and workflow Documentation Stay in touch: developers.lithium.com Join the.
1 Introduction to RSS and News Aggregators. 2 Reading Blogs OK: As a Web page –Must visit multiple sites to check for updates Better: Via a RSS Feed –Updates.
28th Oct '05 1 SOUTH VIEW PRIMARY SCHOOL LMS Parents Workshop 2013.
Making the most of Moodle 2 (A quick guide for students) Updated 08 February 2012 NOTE: The slides will run automatically. You can also press the arrow.
PINTEREST PCNA: Signing Up & Using Pinterest. WELCOME Hello In this tutorial we are going to cover signing up for a Pinterest account & discuss how to.
TRIAL VERSION Instructions Slide (delete before presenting or click on welcome screen before starting slideshow) The Wedding Series is designed to give.
Are You Smarter than a 5 th Grader? Resources available to you for gathering information and getting questions answered July 24, 2013 High Tea at IT, Summer,
SDL Tridion Webinar An introduction to SmartTarget
Creating a WordPress Website Oklahoma Conference of The UMC Department of Communications 1.
Delegated Admin Tool Edit User Profile Training Module.
23-Aug-14 HTML/XHTML Forms. 2 What are forms? is just another kind of XHTML/HTML tag Forms are used to create (rather primitive) GUIs on Web pages Usually.
Dynamic Forms Designing Forms – Forms Basics
From Negative to Positive
Using SD K12 SharePoint®.
Association of Registered Nurses of British Columbia Social Media Guide.
Services Course Windows Live SkyDrive Participant Guide.
Ray Charles i can’t stop loving you 1 2 I ’ve made up my mind.
WORDPRESS. WHEN YOU MEAN BUSINESS How and why Wordpress can be the perfect platform for businesses.
Centre de Compétence BtoB – Internet/Intranet FileConnect Training FileConnect Welcome Agenda Summary Training Summary TrainingWebsite access Welcome Method.
Student Led Conferences.  The student will be able to facilitate a conference describing his/her performance and goals.
School Census Summer 2010 Headlines 1 Jim Haywood Product Manager for Statutory Returns Version 1.0.
Reference Guide Module 1: Getting Started August 2014.
Travel 1: Travel Authorization. Welcome to Training! Why PeopleSoft? – PeopleSoft will help UTEP to grow. What’s Your Part? – We need your skills and.
+ Using MailChimp to create Extension-branded newsletters Send Your Message to the Masses March 19, Emily Pitts, CAES OIT March 19, 2014Send Your.
My father, his Manners and Me By Ludivine L. Nothing is ever good Mom It is not enough salt dad And what about the sauce ? Momdad It is too hot There.
Page 1 of 15 Welcome To the ETS – Crown Mineral Activity Road Allowance Online Training Course This module describes the process for initiating a CMA application.
New Rubrics? Create Assignment and Project Templates and Send the Assignments in Tk20 Must do before you can use updated rubrics Theresa Dorn.
Page 1 of 13 This module describes the process for initiating a CMA application for Undisposed Crown Rights. Welcome To the ETS – Crown Mineral Activity.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® PowerPoint 2010 © 2011 The McGraw-Hill Companies,
SP 2013 User Profile Service Overview Connecting your Profile to the Portal.
Grouper UI Part 2 Shilen Patel Duke University This work licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.
Week 10 Generalised functions, or distributions
1 Review 4-1 Past participlePast participle 4-2 Forms of the present perfectForms of the present perfect 4-3 Meanings of the present perfectMeanings of.
When you say... “I can’t solve this...” God tells you “I will direct your path” (Proverbs 3:5-6)
Don’t be bullied, or be a bully.
You’ll get 1 second to look at next slide. Watch carefully.
04/24/2014April 2014 Chapter Meeting1 Forcing IE 10 & 11 to play nicely with Retail Link™ Dan Batson Sr. Analyst / Category Advisor Fujifilm North America.
Les meilleures photos de L'année 2005 D'après NBC A life for two, full of tenderness, obtains happiness as they get closer to heaven.
QUESTION TAGS.
CIS 4004: Web Based Information Technology Spring 2013
Focused Monitoring Support and Technical Assistance Session 1 Discussion Slides for Selected Districts FM
As you come in…  Sign in (in back) and pick up  Badge  Name Card – write your first name LARGELY on back  Any questions? (of any kind)  Put on index.
POLICIES & PROCEDURES. Student Behavior Raise your hand to ask a question or give an answer. Do not shout out the answer, unless I happen to say “shout.
Welcome to the Second Tutorial Welcome to the second part of this information system website tutorial! This tutorial is for church planters. If you’d like.
Juliet Capulet 13 Want to live a normal life but forced around by my parents HomeProfileInboxFriends SettingsLogout Search View photos InfoPhotosBoxes.
IFORM ACCOUNT MAINTENANCE ICT4D SESSION 4. IFORMBUILDER WEBSITE REQUIREMENTS To access the iFormBuilder website, you need the following items: -Reliable.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
CSC350: Learning Management Systems COMSATS Institute of Information Technology (Virtual Campus)
Go to your Blog URL: Then click on “Log in” Your students do not need to remember their password, they can select.
Programmer Support. Our Primary Goal: Reproduce the Problem.
 Safe communication tools for students and teachers to correspond o.
How to Create Custom “Add to Cart” URLs in WooCommerce? Do you face the problem while creating custom add to cart URLs in woocommerce? today this post.
Welcome to Byrne Creek Library
Research using Noodletools
Vectors - Adding two Vector component vectors Contents:
Current Events Blog Assignment
Presentation transcript:

Using REST and Freemarker to Build Components “let’s make something”

“I want to show the most recent blog article and when it was posted” Ok, no problem. First get the message from REST. /topics/style/blog/recent?page_size=1 And assign that to a freemarker variable

“No,wait! I only want it to come from my blog. It’s called “Bloggy” and it’s the best Still no problem. We’ll just change our REST call to be specific to one board. s/recent?page_size=1

“What’s that ‘/restapi/vc’ thing? If you want to see your pure xml response in the browser you need to have “restapi/vc” in the url. If you are making the call in Freemarker, we take care of that part for you. This: age_size=1 Is the same as this:

Now let’s write out our article title and date ${recent.message.subject} ${recent.message.post_time}

“What kind of date is that?? I can’t read that!” Welcome to Bloggy T17:34:08+00:00 Good point, you can get more user friendly info by adding a parameter to your rest call ?restapi.response_style=view

This changes the response for post time from this: T17:34:08+00:00 To this: T19:13:12+00:00

Now we have: ${recent.message.subject} Welcome to Bloggy Yesterday Yay, I love it. Let’s test it!

Aaahhhhhh!

What Happened? We without ever checking that it existed.

“FIX IT!!” ${recent.message.subject} Gives you:

“Yay, it’s perfect” Happy Dance

Tips for Development Always check the XML first Test for variables before you use them. De-FENCE, De-FENCE! Test as both an admin user and a regular user - permissions will kill you – “unit test” Versions tab is your friend Think about performance