An Introduction of Interator Pattern with Ruby

Size: px
Start display at page:

Download "An Introduction of Interator Pattern with Ruby"

Transcription

1 An Introduction of Interator Pattern with ConFoo Montreal by Jian Weihang An Introduction of Interator Pattern in Ruby 1

2 Bonjour! An Introduction of Interator Pattern in Ruby 2

3 Jian Weihang An Introduction of Interator Pattern in Ruby 3

4 @tonytonyjan An Introduction of Interator Pattern in Ruby 4

5 Taiwan An Introduction of Interator Pattern in Ruby 5

6 An Introduction of Interator Pattern in Ruby 6

7 An Introduction of Interator Pattern in Ruby 7

8 An Introduction of Interator Pattern in Ruby 8

9 $ gem install taiwan An Introduction of Interator Pattern in Ruby 9

10 Tech Leader An Introduction of Interator Pattern in Ruby 10

11 Ruby Developer since 2010 An Introduction of Interator Pattern in Ruby 11

12 Maintainer of exif and jaro_winkler An Introduction of Interator Pattern in Ruby 12

13 Published a book in 2015 An Introduction of Interator Pattern in Ruby 13

14 An Introduction of Interator Pattern in Ruby An Introduction of Interator Pattern in Ruby 14

15 Outline An Introduction of Interator Pattern in Ruby 15

16 An Introduction of Interator Pattern in Ruby 16

17 ! An Introduction of Interator Pattern in Ruby 17

18 An Introduction of Interator Pattern in Ruby 18

19 How to Help Controllers Lose Weight? An Introduction of Interator Pattern in Ruby 19

20 The Controller Is a Translator An Introduction of Interator Pattern in Ruby 20

21 Good Practice class PostsController < ApplicationController def = Post.create(post_params) rescue rer :new An Introduction of Interator Pattern in Ruby 21

22 Bad Practice class PostsController < ApplicationController def = rescue rer :new An Introduction of Interator Pattern in Ruby 22

23 ! An Introduction of Interator Pattern in Ruby 23

24 Fat Models and Skinny Controllers An Introduction of Interator Pattern in Ruby 24

25 Single Responsibility Principle An Introduction of Interator Pattern in Ruby 25

26 # Rails class Post < ActiveRecord::Base Post.new.public_methods.size # => 404 An Introduction of Interator Pattern in Ruby 26

27 class AlmightyGod < ActiveRecord::Base # hundreds of methods An Introduction of Interator Pattern in Ruby 27

28 class Cart < ApplicationModel def add_product(product) vs. class Product < ApplicationModel def add_to_cart(cart) An Introduction of Interator Pattern in Ruby 28

29 class Course def add_student(student) vs. class Student def join_course(course) An Introduction of Interator Pattern in Ruby 29

30 ! An Introduction of Interator Pattern in Ruby 30

31 Model is neither a class nor object. An Introduction of Interator Pattern in Ruby 31

32 Model is a layer. An Introduction of Interator Pattern in Ruby 32

33 Separation of Concerns Presentation Layer views controllers Model Layer models An Introduction of Interator Pattern in Ruby 33

34 Model Layer Domain Objects Storage Abstractions Services An Introduction of Interator Pattern in Ruby 34

35 Model Layer Domain Objects Storage Abstractions Services An Introduction of Interator Pattern in Ruby 35

36 Model Layer Domain Objects Storage Abstractions Services An Introduction of Interator Pattern in Ruby 36

37 Model Layer Domain Objects Storage Abstractions Services An Introduction of Interator Pattern in Ruby 37

38 Model Layer ActiveRecord::Base Domain Objects Storage Abstractions Services??? An Introduction of Interator Pattern in Ruby 38

39 What about the Implementation An Introduction of Interator Pattern in Ruby 39

40 Service Object a.k.a. Interactor Use Case An Introduction of Interator Pattern in Ruby 40

41 Clean Architecture An Introduction of Interator Pattern in Ruby 41

42 Minimal Implementation # app/{services interactors use_cases} class AddToCart attr_reader :errors def = cart, = [] def perform def An Introduction of Interator Pattern in Ruby 42

43 Usage class CartController < ApplicationController def add_to_cart product = Product.find(params[:product_id]) add_to_cart = AddToCart.new(current_cart, product) add_to_cart.perform if add_to_cart.successs? #... else #... An Introduction of Interator Pattern in Ruby 43

44 Advantages Skinny Controller Easier to Trace Code Easier to Write Test An Introduction of Interator Pattern in Ruby 44

45 Advantages Skinny Controller Easier to Trace Code Easier to Write Test An Introduction of Interator Pattern in Ruby 45

46 Advantages Skinny Controller Easier to Trace Code Easier to Write Test An Introduction of Interator Pattern in Ruby 46

47 Advantages Skinny Controller Easier to Trace Code Easier to Write Test An Introduction of Interator Pattern in Ruby 47

48 class AddToCart def = cart, product def An Introduction of Interator Pattern in Ruby 48

49 gem 'rspec-mocks' describe AddToCart it 'works' do line_items = double('line_items') cart = double('cart', line_items: line_items) product = double('product') expect(line_items).to receive(:push).once { product } # expect cart.line_items.push(product) add_to_cart = AddToCart.new(cart, product) add_to_cart.perform An Introduction of Interator Pattern in Ruby 49

50 Abstraction class Interactor attr_reader :errors def self.perform(*args) new(*args).tap { interactor interactor.perform } def perform raise NotImplementedError def An Introduction of Interator Pattern in Ruby 50

51 Usage class AddToCart < Interactor def initialize(cart, = = product def perform # logic here. An Introduction of Interator Pattern in Ruby 51

52 Usage class CartController < ApplicationController def add_to_cart product = Product.find(params[:product_id]) add_to_cart = AddToCart.perform(current_cart, product) if add_to_cart.successs? #... else #... An Introduction of Interator Pattern in Ruby 52

53 ! An Introduction of Interator Pattern in Ruby 53

54 Third-party Gems An Introduction of Interator Pattern in Ruby 54

55 gem "mutations" class UserSignup < Mutations::Command required do string : , matches: _REGEX string :name optional do boolean :newsletter_subscribe def execute # logic UserSignup.run(params[:user]) An Introduction of Interator Pattern in Ruby 55

56 gem "interactor" class AuthenticateUser include Interactor def call if user = User.authenticate(context. , context.password) context.user = user context.token = user.secret_token else context.fail!(message: "authenticate_user.failure") AuthenticateUser.call(params) An Introduction of Interator Pattern in Ruby 56

57 FYI name stars forks issues closed mutation 1, % interactor 1, % An Introduction of Interator Pattern in Ruby 57

58 gem "interactor2" class AddToCart < Interactor2 attr_reader :line_item, :cart # should be any attribute you want to expose def initialize(product, = = cart.line_items.new(product: product) def perform fail! 'oops' An Introduction of Interator Pattern in Ruby 58

59 gem "interactor2" class AddToCart < Interactor2 include ActiveModel::Validations attr_reader :line_item, :cart # should be any attribute you want to expose validates :product, :cart, presence: true def initialize(product, = = cart.line_items.new(product: product) def perform fail! 'oops' An Introduction of Interator Pattern in Ruby 59

60 An Introduction of Interator Pattern in Ruby 60

61 Conclusion Consistent Interface Self-explaining Context Encapsulation Decoupling your domain from your framework An Introduction of Interator Pattern in Ruby 61

62 Conclusion Consistent Interface Self-explaining Context Encapsulation Decoupling your domain from your framework An Introduction of Interator Pattern in Ruby 62

63 Conclusion Consistent Interface Self-explaining Context Encapsulation Decoupling your domain from your framework An Introduction of Interator Pattern in Ruby 63

64 Conclusion Consistent Interface Self-explaining Context Encapsulation Decoupling your domain from your framework An Introduction of Interator Pattern in Ruby 64

65 Conclusion Consistent Interface Self-explaining Context Encapsulation Decoupling your domain from your framework An Introduction of Interator Pattern in Ruby 65

66 Thanks for Your An Introduction of Interator Pattern in Ruby 66

67 References An Introduction of Interator Pattern in Ruby 67

68 Q&A An Introduction of Interator Pattern in Ruby 68

69 Entity-Boundary-Interactor An Introduction of Interator Pattern in Ruby 69

Fiscal Management, Associated Student Body

Fiscal Management, Associated Student Body CATEGORY: SUBJECT: Fiscal Management, Associated Student Body ASB Food Sales/Wellness Policy NO: 2270 PAGE: 1 OF 5 515151515151510101010 A. PURPOSE AND SCOPE 1. To outline administrative procedures governing

More information

learning goals ARe YoU ReAdY to order?

learning goals ARe YoU ReAdY to order? 7 learning goals ARe YoU ReAdY to order? In this unit, you talk about food order in a restaurant ask for restaurant items read and write a restaurant review GET STARTED Read the unit title and learning

More information

Colorized Mustang Wiring Diagrams

Colorized Mustang Wiring Diagrams 1965 Colorized Mustang Wiring Diagrams Free Bonus! 30-Minute Video Ford Training Course 13001, Vol 68 S7 "How to Read Wiring Diagrams" Included! (with Electrical Illustrations) A consolidated collection

More information

Grade 5 / Scored Student Samples ITEM #5 SMARTER BALANCED PERFORMANCE TASK

Grade 5 / Scored Student Samples ITEM #5 SMARTER BALANCED PERFORMANCE TASK Grade 5 / Scored Student Samples ITEM #5 SMARTER BALANCED PERFORMANCE TASK Focus Standards and Claim Stimulus Claim 4 CCSS.MATH.CONTENT. 3.NF.3. Explain equivalence of fractions in special cases, and compare

More information

Barista at a Glance BASIS International Ltd.

Barista at a Glance BASIS International Ltd. 2007 BASIS International Ltd. www.basis.com Barista at a Glance 1 A Brewing up GUI Apps With Barista Application Framework By Jon Bradley lmost as fast as the Starbucks barista turns milk, java beans,

More information

TDDB84 Design Patterns Lecture 03

TDDB84 Design Patterns Lecture 03 Lecture 03 Template Method, Iterator Peter Bunus Dept of Computer and Information Science Linköping University, Sweden petbu@ida.liu.se Template Method Peter Bunus 2 Time for more caffeine TDDB84 TDDB84

More information

Copyright 2008, Forel Publishing Company, LLC, Woodbridge, Virginia

Copyright 2008, Forel Publishing Company, LLC, Woodbridge, Virginia Copyright 2008, Forel Publishing Company, LLC, Woodbridge, Virginia All Rights Reserved. No part of this book may be used or reproduced in any manner whatsoever without written permission of Forel Publishing

More information

FOOD ALLERGY CANADA COMMUNITY EVENT PROPOSAL FORM

FOOD ALLERGY CANADA COMMUNITY EVENT PROPOSAL FORM FOOD ALLERGY CANADA COMMUNITY EVENT PROPOSAL FORM We appreciate that you are considering organizing a community event in support of Food Allergy Canada and appreciate the amount of time and energy that

More information

Lesson 4. Choose Your Plate. In this lesson, students will:

Lesson 4. Choose Your Plate. In this lesson, students will: Lesson 4 Choose Your Plate In this lesson, students will: 1. Explore MyPlate to recognize that eating a variety of healthful foods in recommended amounts and doing physical activities will help their body

More information

EMC Publishing s C est à toi! 3, 2E Correlated to the Colorado World Language Frameworks French 3

EMC Publishing s C est à toi! 3, 2E Correlated to the Colorado World Language Frameworks French 3 EMC Publishing s C est à toi! 3, 2E Correlated to the Colorado World Language Frameworks French 3 CONTENT STANDARD: Students communicate in a foreign language while demonstrating literacy in all four essential

More information

The Dun & Bradstreet Asia Match Environment. AME FAQ. Warwick R Matthews

The Dun & Bradstreet Asia Match Environment. AME FAQ. Warwick R Matthews The Dun & Bradstreet Asia Match Environment. AME FAQ Updated April 8, 2015 Updated By Warwick R Matthews (matthewswa@dnb.com) 1. Can D&B do matching in Asian languages? 2. What is AME? 3. What is AME Central?

More information

Allergy Awareness and Management Policy

Allergy Awareness and Management Policy Allergy Awareness and Management Policy Overview This policy is concerned with a whole school approach to the health care management of those members of our school community suffering from specific allergies.

More information

Missing value imputation in SAS: an intro to Proc MI and MIANALYZE

Missing value imputation in SAS: an intro to Proc MI and MIANALYZE Victoria SAS Users Group November 26, 2013 Missing value imputation in SAS: an intro to Proc MI and MIANALYZE Sylvain Tremblay SAS Canada Education Copyright 2010 SAS Institute Inc. All rights reserved.

More information

YOUR RESTAURANT ASSISTANT

YOUR RESTAURANT ASSISTANT YOUR RESTAURANT ASSISTANT W E A R E O N T H E M I S S I O N T O R E V O L U T I O N I Z E T H E O R D E R I N G E X P E R I E N C E A N D M A K E R E S T A U R A N T S E V E N M O R E P R O F I T A B L

More information

Copyright 2008, Forel Publishing Company, LLC, Woodbridge, Virginia

Copyright 2008, Forel Publishing Company, LLC, Woodbridge, Virginia Copyright 2008, Forel Publishing Company, LLC, Woodbridge, Virginia All Rights Reserved. No part of this book may be used or reproduced in any manner whatsoever without written permission of Forel Publishing

More information

Social Media: Content Drives Community Groups

Social Media: Content Drives Community Groups Eleonora Escalante, MBA-M.Eng Strategic Corporate Advisory Services Creating Corporate Integral Value (CIV) Social Media: Content Drives Community Groups Outline Theme 2. Social Media Segmentation. 1.

More information

Copyright 2008, Forel Publishing Company, LLC, Woodbridge, Virginia

Copyright 2008, Forel Publishing Company, LLC, Woodbridge, Virginia Copyright 2008, Forel Publishing Company, LLC, Woodbridge, Virginia All Rights Reserved. No part of this book may be used or reproduced in any manner whatsoever without written permission of Forel Publishing

More information

Managing many models. February Hadley Chief Scientist, RStudio

Managing many models. February Hadley Chief Scientist, RStudio Managing many models February 2016 Hadley Wickham @hadleywickham Chief Scientist, RStudio There are 7 key components of data science Import Visualise Communicate Tidy Transform Model Automate Understand

More information

Copyright 2008, Forel Publishing Company, LLC, Woodbridge, Virginia

Copyright 2008, Forel Publishing Company, LLC, Woodbridge, Virginia Copyright 2008, Forel Publishing Company, LLC, Woodbridge, Virginia All Rights Reserved. No part of this book may be used or reproduced in any manner whatsoever without written permission of Forel Publishing

More information

Answering the Question

Answering the Question Answering the Question If your grades aren t high even though you re attending class, paying attention and doing your homework, you may be having trouble answering the questions presented to you during

More information

Status of Discussions with Unpermitted Wineries. Napa Sanitation District Board of Directors Meeting June 18, 2014

Status of Discussions with Unpermitted Wineries. Napa Sanitation District Board of Directors Meeting June 18, 2014 Status of Discussions with Unpermitted Wineries Napa Sanitation District Board of Directors Meeting June 18, 2014 1 Presentation Outline 1. History 2. Why does this matter? 3. Board Direction 4. Implementation

More information

Table 1a Doctoral programs- Clarity and relevance of G&P domains summary statistics

Table 1a Doctoral programs- Clarity and relevance of G&P domains summary statistics Table 1a Doctoral programs- Clarity and relevance of G&P domains summary statistics Domain N Mean Median Mode SD Domain A: Eligibility Clarity 112 4.51 4.71 5.00 0.539 Relevance 112 4.63 4.71 5.00 0.481

More information

FUNCTIONAL RELATIONAL MAPPING WITH SLICK

FUNCTIONAL RELATIONAL MAPPING WITH SLICK Platinum Sponsor FUNCTIONAL RELATIONAL MAPPING WITH SLICK Stefan Zeiger, Typesafe Object Relational Mapping Object Relational Object Impedance Mismatch Relational Concepts Object-Oriented Identity State

More information

TRTP and TRTA in BDS Application per CDISC ADaM Standards Maggie Ci Jiang, Teva Pharmaceuticals, West Chester, PA

TRTP and TRTA in BDS Application per CDISC ADaM Standards Maggie Ci Jiang, Teva Pharmaceuticals, West Chester, PA PharmaSUG 2016 - Paper DS14 TRTP and TRTA in BDS Application per CDISC ADaM Standards Maggie Ci Jiang, Teva Pharmaceuticals, West Chester, PA ABSTRACT CDSIC ADaM Implementation Guide v1.1 (IG) [1]. has

More information

Developing a CRC Model. CSC207 Fall 2015

Developing a CRC Model. CSC207 Fall 2015 Developing a CRC Model CSC207 Fall 2015 Example Consider this description of a software system: You are developing a software system to facilitate restaurant reviews. Each restaurant is in a certain price

More information

Allergies and Intolerances Policy

Allergies and Intolerances Policy Allergies and Intolerances Policy 2016 2018 This policy should be read in conjunction with the following documents: Policy for SEND/Additional Needs Safeguarding & Child Protection Policy Keeping Children

More information

NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY DEPARTMENT OF HOSPITALITY MANAGEMENT COURSE OUTLINE COURSE#: HMGT 2305 COURSE TITLE: DINING ROOM OPERATIONS

NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY DEPARTMENT OF HOSPITALITY MANAGEMENT COURSE OUTLINE COURSE#: HMGT 2305 COURSE TITLE: DINING ROOM OPERATIONS NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY DEPARTMENT OF HOSPITALITY MANAGEMENT COURSE OUTLINE COURSE#: HMGT 2305 COURSE TITLE: DINING ROOM OPERATIONS CLASS HOURS: 1.5 LAB HOURS: 4.5 CREDITS: 3 1. COURSE

More information

New study says coffee is good for you

New study says coffee is good for you www.breaking News English.com Ready-to-use ESL / EFL Lessons New study says coffee is good for you URL: http://www.breakingnewsenglish.com/0508/050829-coffee.html Today s contents The Article 2 Warm-ups

More information

Noun-Verb Decomposition

Noun-Verb Decomposition Noun-Verb Decomposition Nouns Restaurant [Regular, Catering, Take- Out] (Location, Type of food, Hours of operation, Reservations) Verbs has (information) SWEN-261 Introduction to Software Engineering

More information

Control wine quality after bottling. Monitor wine storage and shipment conditions

Control wine quality after bottling. Monitor wine storage and shipment conditions Control wine quality after bottling Monitor wine storage and shipment conditions Wine Quality Solutions Innovative solutions to manage wine quality Control oxygen ingress during bottling Analyzers, equipment

More information

The Lowdown on Local Food: Mapping the Path of Local vs. Non-Local Meals

The Lowdown on Local Food: Mapping the Path of Local vs. Non-Local Meals The Lowdown on Local Food: Mapping the Path of Local vs. Non-Local Meals SUBJECT: carbon footprint, geography, health GRADE LEVEL: 4-6 CLASS TIME: 40 minutes OVERVIEW This lesson introduces the topic of

More information

Make Biscuits By Hand

Make Biscuits By Hand Youth Explore Trades Skills Make Biscuits By Hand Description In this activity, students will make and bake a batch of scones from scratch. The students will be able to identify the different stages of

More information

Jake Bernstein Trading Webinar

Jake Bernstein Trading Webinar Jake Bernstein Trading Webinar jake@trade-futures.com My 4 BEST Timing Triggers And how to use them to your advantage Saturday 5 January 2008 2008 by Jake Bernstein jake@trade-futures.com 800-678-5253

More information

Essential factors about solar cooking

Essential factors about solar cooking Essential factors about solar cooking Table of contents 1. 1.1. Position of the solar cooker 1.2. Moment of use of the solar cooker 1.3. Types of containers used for cooking food 1.4. Duration of the cooking

More information

What Is OVS? Traditional Food Based Menu Planning

What Is OVS? Traditional Food Based Menu Planning What Is OVS? a. An alternative way to start a tennis match? b. A food service style where students serve themselves? c. A new way to offer more food choices on school menus? d. A system designed to decrease

More information

Semantic Web. Ontology Engineering. Gerd Gröner, Matthias Thimm. Institute for Web Science and Technologies (WeST) University of Koblenz-Landau

Semantic Web. Ontology Engineering. Gerd Gröner, Matthias Thimm. Institute for Web Science and Technologies (WeST) University of Koblenz-Landau Semantic Web Ontology Engineering Gerd Gröner, Matthias Thimm {groener,thimm}@uni-koblenz.de Institute for Web Science and Technologies (WeST) University of Koblenz-Landau July 17, 2013 Gerd Gröner, Matthias

More information

A Framework for Processes Submission and Monitoring from Mobile Devices to Grid Configurations Utilizing Resource Matching

A Framework for Processes Submission and Monitoring from Mobile Devices to Grid Configurations Utilizing Resource Matching (UFSC) A Framework for Processes Submission and Monitoring from Mobile Devices to Grid Configurations Utilizing Resource Matching Alexandre Parra Carneiro Silva Vinicius da Cunha Martins Borges Mario Antonio

More information

Feasibility Study of Toronto Public Health's Savvy Diner Menu Labelling Pilot Project

Feasibility Study of Toronto Public Health's Savvy Diner Menu Labelling Pilot Project Feasibility Study of Toronto Public Health's Savvy Diner Menu Labelling Pilot Project CPHA 2015 Conference Tara Brown, MHSc, RD, Dia Mamatis, MA, Tina Sahay, MHSc Toronto Public Health Overview 1. What

More information

World of Wine: From Grape to Glass

World of Wine: From Grape to Glass World of Wine: From Grape to Glass Course Details No Prerequisites Required Course Dates Start Date: th 18 August 2016 0:00 AM UTC End Date: st 31 December 2018 0:00 AM UTC Time Commitment Between 2 to

More information

Software engineering process. Literature on UML. Modeling as a Design Technique. Use-case modelling. UML - Unified Modeling Language

Software engineering process. Literature on UML. Modeling as a Design Technique. Use-case modelling. UML - Unified Modeling Language Software engineering process UML - Unified Modeling Language Support, Management, Tools, Methods, Techniques, Resources Requirements analysis Acceptance Operation & Maintenance Christoph Kessler, IDA,

More information

Religion and Life - Year 8 ISBL

Religion and Life - Year 8 ISBL Religion and Life - Year 8 ISBL Active Citizenship - Fairtrade KEYS SKILLS: Learning about and from different people Research important information Interpret information found Use numeracy skills Self

More information

Click to edit Master title style Delivering World-Class Customer Service Through Lean Thinking

Click to edit Master title style Delivering World-Class Customer Service Through Lean Thinking 1 Delivering World-Class Customer Service Through Lean Thinking Starbucks Mission: To inspire and nurture the human spirit one person, one cup, and one neighborhood at a time Columbus Ohio Store Lane Avenue

More information

ProStart Level 1 Chapter 10 Serving Your Guest 1 point per question unless noted otherwise Points possible 132

ProStart Level 1 Chapter 10 Serving Your Guest 1 point per question unless noted otherwise Points possible 132 ProStart Level 1 Chapter 10 Serving Your Guest Name Due date 1 point per question unless noted otherwise Points possible 132 You are expected to COMPLETE ALL WRITTEN CHAPTER ASSIGNMENTS ON TIME. You may

More information

Food Allergy Community Needs Assessment INDIANAPOLIS, IN

Food Allergy Community Needs Assessment INDIANAPOLIS, IN Food Allergy Community Needs Assessment INDIANAPOLIS, IN Conducted by: Food Allergy Research & Education (FARE) Food Allergy Research& Education FARE s mission is to improve the LIFE and HEALTH of all

More information

Specific Yeasts Developed for Modern Ethanol Production

Specific Yeasts Developed for Modern Ethanol Production 2 nd Bioethanol Technology Meeting Detmold, Germany Specific Yeasts Developed for Modern Ethanol Production Mike Knauf Ethanol Technology 25 April 2006 Presentation Outline Start with the Alcohol Production

More information

Chilli Jam Recipes: Easy Stove-top Recipes Anyone Can Make At Home Without Canning Equipment By Amanda Kent ( ) READ ONLINE

Chilli Jam Recipes: Easy Stove-top Recipes Anyone Can Make At Home Without Canning Equipment By Amanda Kent ( ) READ ONLINE Chilli Jam Recipes: Easy Stove-top Recipes Anyone Can Make At Home Without Canning Equipment By Amanda Kent (2016-02-22) READ ONLINE This field is for validation purposes and should be left unchanged.

More information

Supporting Development of Business Networks and Clusters in Georgia. GIZ SME Development and DCFTA in Georgia Project

Supporting Development of Business Networks and Clusters in Georgia. GIZ SME Development and DCFTA in Georgia Project Supporting Development of Business Networks and Clusters in Georgia GIZ SME Development and DCFTA in Georgia Project 24.10.2016 Project Overview Overall Context EU4BUsiness Framework EU action Support

More information

GLOBALIZATION UNIT 1 ACTIVATE YOUR KNOWLEDGE LEARNING OBJECTIVES

GLOBALIZATION UNIT 1 ACTIVATE YOUR KNOWLEDGE LEARNING OBJECTIVES UNIT GLOBALIZATION LEARNING OBJECTIVES Key Reading Skills Additional Reading Skills Language Development Making predictions from a text type; scanning topic sentences; taking notes on supporting examples

More information

Promoting Whole Foods

Promoting Whole Foods Promoting Whole Foods Whole Foods v Processed Foods: What s the Difference? Day 1: Intro: Show the following pictures side by side and discuss the below questions. Discuss: How would you define whole foods?

More information

Assess the impact of food inequity on themselves, their family, and their community one s local community.

Assess the impact of food inequity on themselves, their family, and their community one s local community. MARKETVILLE SCAVENGER HUNT: PART 2 SOCIAL JUSTICE & SERVICE LEARNING: LESSON 6 Quick Reference Abstract: Students warm up by recalling the various problems associated with food deserts. During the mini

More information

Building Reliable Activity Models Using Hierarchical Shrinkage and Mined Ontology

Building Reliable Activity Models Using Hierarchical Shrinkage and Mined Ontology Building Reliable Activity Models Using Hierarchical Shrinkage and Mined Ontology Emmanuel Munguia Tapia 1, Tanzeem Choudhury and Matthai Philipose 2 1 Massachusetts Institute of Technology 2 Intel Research

More information

Copyright 2008, Forel Publishing Company, LLC, Woodbridge, Virginia

Copyright 2008, Forel Publishing Company, LLC, Woodbridge, Virginia Copyright 2008, Forel Publishing Company, LLC, Woodbridge, Virginia All Rights Reserved. No part of this book may be used or reproduced in any manner whatsoever without written permission of Forel Publishing

More information

All About Food 1 UNIT

All About Food 1 UNIT All About Food 1 UNIT Getting Ready Discuss the following questions with a partner. 1 What foods do you see in the pictures? 2 Which ones do you like? Which ones don t you like? 3 Do you like to cook?

More information

APPENDIX PROPER USE GUIDELINES INGREDIENT BRANDING

APPENDIX PROPER USE GUIDELINES INGREDIENT BRANDING Swarovski Professional Brand Management, 2015 APPENDIX PROPER USE GUIDELINES INGREDIENT BRANDING Swarovski Ingredient Brand: Proper Use Guidelines Appendix Content 1 Definition and target group 2 Executive

More information

Bringing Faith and Learning to Life

Bringing Faith and Learning to Life Allergy Awareness Policy & Plan 2016-2017 Bringing Faith and Learning to Life ST JOSEPH S ALLERGY AWARENESS Based upon and read in conjunction with the CES Cairns Operational Policy and the Bishop s Commission

More information

The Vegetable Alphabet Book

The Vegetable Alphabet Book Target Age 1st to 3rd Grade SDSU Extension Signature Program About the book: by Jerry Pallotta & Bob Thomson illustrated by Edgar Stewart Publisher: Charlesbridge Publishing ISBN#: 978-0-88106-468-1 Nutrition

More information

Route List Configuration

Route List Configuration CHAPTER 32 Use the following topics to add or delete route lists or to add, remove, or change the order of route groups in a route list: Settings, page 32-1 Adding Route Groups to a Route List, page 32-3

More information

Frequently Asked Questions Nutrition Resolution

Frequently Asked Questions Nutrition Resolution Frequently Asked Questions Nutrition Resolution 1. How many meals does Milwaukee Public Schools (MPS) serve? Milwaukee Public Schools serves meals year round. All schools with academic activities, both

More information

Name Date. Materials 1. Calculator 2. Colored pencils (optional) 3. Graph paper (optional) 4. Microsoft Excel (optional)

Name Date. Materials 1. Calculator 2. Colored pencils (optional) 3. Graph paper (optional) 4. Microsoft Excel (optional) Name Date. Epidemiologist- Disease Detective Background Information Emergency! There has been a serious outbreak that has just occurred in Ms. Kirby s class. It is your job as an epidemiologist- disease

More information

1. Continuing the development and validation of mobile sensors. 3. Identifying and establishing variable rate management field trials

1. Continuing the development and validation of mobile sensors. 3. Identifying and establishing variable rate management field trials Project Overview The overall goal of this project is to deliver the tools, techniques, and information for spatial data driven variable rate management in commercial vineyards. Identified 2016 Needs: 1.

More information

Geographical Indications (Wines and Spirits) Registration Amendment Bill Initial Briefing to the Primary Production Select Committee

Geographical Indications (Wines and Spirits) Registration Amendment Bill Initial Briefing to the Primary Production Select Committee Geographical Indications (Wines and Spirits) Registration Amendment Bill 2015 Initial Briefing to the Primary Production Select Committee 5 May 2016 1. Introduction 1. This briefing sets out the purpose

More information

You know what you like, but what about everyone else? A Case study on Incomplete Block Segmentation of white-bread consumers.

You know what you like, but what about everyone else? A Case study on Incomplete Block Segmentation of white-bread consumers. You know what you like, but what about everyone else? A Case study on Incomplete Block Segmentation of white-bread consumers. Abstract One man s meat is another man s poison. There will always be a wide

More information

World of Wine: From Grape to Glass Syllabus

World of Wine: From Grape to Glass Syllabus World of Wine: From Grape to Glass Syllabus COURSE OVERVIEW Have you always wanted to know more about how grapes are grown and wine is made? Perhaps you like a specific wine, but can t pinpoint the reason

More information

Objectives. Required Materials:

Objectives. Required Materials: Objectives 1. Children will explain one reason cucumbers are healthy for them. 2. Children will explain that cucumbers come from a plant that grows in the ground. 3. Children will experience cucumbers

More information

LEAN PRODUCTION FOR WINERIES PROGRAM

LEAN PRODUCTION FOR WINERIES PROGRAM LEAN PRODUCTION FOR WINERIES PROGRAM 2015-16 An Initiative of the Office of Green Industries SA Industry Program and the South Australian Wine Industry Association, in association with Wine Australia South

More information

PROFESSIONAL COOKING, 8TH EDITION BY WAYNE GISSLEN DOWNLOAD EBOOK : PROFESSIONAL COOKING, 8TH EDITION BY WAYNE GISSLEN PDF

PROFESSIONAL COOKING, 8TH EDITION BY WAYNE GISSLEN DOWNLOAD EBOOK : PROFESSIONAL COOKING, 8TH EDITION BY WAYNE GISSLEN PDF PROFESSIONAL COOKING, 8TH EDITION BY WAYNE GISSLEN DOWNLOAD EBOOK : PROFESSIONAL COOKING, 8TH EDITION BY WAYNE Click link bellow and free register to download ebook: PROFESSIONAL COOKING, 8TH EDITION BY

More information

Required Materials: Total Time: minutes

Required Materials: Total Time: minutes Objectives 1. Children will explain one reason tomatoes are healthy for them. 2. Children will explain that tomatoes come from a plant that grows in the ground. 3. Children will experience tomatoes using

More information

STACKING CUPS STEM CATEGORY TOPIC OVERVIEW STEM LESSON FOCUS OBJECTIVES MATERIALS. Math. Linear Equations

STACKING CUPS STEM CATEGORY TOPIC OVERVIEW STEM LESSON FOCUS OBJECTIVES MATERIALS. Math. Linear Equations STACKING CUPS STEM CATEGORY Math TOPIC Linear Equations OVERVIEW Students will work in small groups to stack Solo cups vs. Styrofoam cups to see how many of each it takes for the two stacks to be equal.

More information

Feasibility Project for Store Brand Macaroni and Cheese

Feasibility Project for Store Brand Macaroni and Cheese Feasibility Project for Store Brand Macaroni and Cheese Prepared by Group 2 Jenna Forrest, Christina Gatti, Anna Flobeck, Dylan Fawcett Terry Smith TECM 2700.003 April 23, 2014 Table of Contents Table

More information

Chef Participation Opportunity

Chef Participation Opportunity THURSDAY, NOVEMBER 5, 201 5 6:00 TO 9:00 PM Chef Participation Opportunity Save the Chimps will host its 7th annual Chimps Kitchen event at Cobalt at the Vero Beach Hotel and Spa on Thursday, November

More information

W O O D F I R E G R I L L S G R I L L I N G R E D E F I N E D

W O O D F I R E G R I L L S G R I L L I N G R E D E F I N E D W O O D F I R E G R I L L S GRILLING REDEFINED SEAR A STEAK? COOK A WOOD-FIRE PIZZA? SMOKE A BRISKET? ROAST A TURKEY? BAKE FRESH ARTISAN BREAD? IT S ALL POSSIBLE ON A MEMPHIS THE POWER OF INTELLIGENT TEMPERATURE

More information

(a) TECHNICAL AMENDMENTS. Section 403(q)(5)(A) of the Federal Food, Drug, and Cosmetic Act (21 U.S.C. 343(q)(5)(A)) is amended

(a) TECHNICAL AMENDMENTS. Section 403(q)(5)(A) of the Federal Food, Drug, and Cosmetic Act (21 U.S.C. 343(q)(5)(A)) is amended 1 2 3 4 5 6 8 10 11 12 13 14 15 1 SEC. l. NUTRITION LABELING OF STANDARD MENU ITEMS AT CHAIN RESTAURANTS AND OF ARTICLES OF FOOD SOLD FROM VENDING MACHINES. (a) TECHNICAL AMENDMENTS. Section 403(q)(5)(A)

More information

R Functions. Why functional programming?

R Functions. Why functional programming? Why functional programming? Vanilla cupcakes Ingredients: 1. Flour 2. Sugar 3. Baking powder 4. Unsalted butter 5. Milk 6. Egg 7. Vanilla Directions: 1. Preheat oven to 350 F 2. Put the flour, sugar, baking

More information

MacKillop Catholic College Allergy Awareness and Management Policy

MacKillop Catholic College Allergy Awareness and Management Policy MacKillop Catholic College Allergy Awareness and Management Policy Overview This policy is concerned with a whole school approach to the health care management of those members of the school community

More information

studio BAROQUE LUX Buffet Presentations

studio BAROQUE LUX Buffet Presentations BAROQUE LUX Buffet Presentations www. myglass studio.com Why use the Glass Studio Buffet Presentation Bored of white ceramic platters and green bubble glass for your buffet presentation? Tired of left-over

More information

28 TRADE WITHOUT MONEY

28 TRADE WITHOUT MONEY 28 TRADE WITHOUT MONEY OVERVIEW 1. Absolute advantage means the ability of a country to produce a larger quantity of a good with the same amount of resources as another country. 2. If each country has

More information

Menus of Change General Session 3 Changing Consumer Behaviors and Attitudes

Menus of Change General Session 3 Changing Consumer Behaviors and Attitudes Menus of Change General Session 3 Changing Consumer Behaviors and Attitudes Bringing Menus of Change to Life Google Food Michiel Bakker June 18, 2015 Today s menu Introducing Google Food The CIA & Google

More information

Digital Menu Boards Overview

Digital Menu Boards Overview Digital Menu Boards Overview Version: January 2013 2 Digital Menu Boards Overview Program Overview Digital Menu Boards, or DMBs, use best of breed technology, software and creative digital design to enhance

More information

CHOCOLATE CHIP COOKIE APPLICATION RESEARCH

CHOCOLATE CHIP COOKIE APPLICATION RESEARCH CHOCOLATE CHIP COOKIE APPLICATION RESEARCH COMPARING THE FUNCTIONALITY OF EGGS TO EGG REPLACERS IN CHOCOLATE CHIP COOKIE FORMULATIONS RESEARCH SUMMARY CHOCOLATE CHIP COOKIE RESEARCH EXECUTIVE SUMMARY For

More information

Caffeine And Reaction Rates

Caffeine And Reaction Rates Caffeine And Reaction Rates Topic Reaction rates Introduction Caffeine is a drug found in coffee, tea, and some soft drinks. It is a stimulant used to keep people awake when they feel tired. Some people

More information

Darjeeling tea pickers continue strike

Darjeeling tea pickers continue strike www.breaking News English.com Ready-to-use ESL / EFL Lessons Darjeeling tea pickers continue strike URL: http://www.breakingnewsenglish.com/0507/050717-tea-e.html Today s contents The Article 2 Warm-ups

More information

Manager s Corner: Mise en Place

Manager s Corner: Mise en Place : PROJECT COORDINATOR Theresa Stretch, MS, RDN, CP-FS EXECUTIVE DIRECTOR Aleshia Hall-Campbell, PhD, MPH The University of Mississippi, School of Applied Sciences www.theicn.org Key Area: 1 Operations

More information

Objectives. Required Materials:

Objectives. Required Materials: Objectives 1. Children will explain one reason carrots are healthy for them. 2. Children will explain that carrots come from a plant that grows in the ground. 3. Children will experience carrots using

More information

Lesson 5. Bag a GO Lunch. In this lesson, students will:

Lesson 5. Bag a GO Lunch. In this lesson, students will: 407575_Gr5_Less05_Layout 1 9/8/11 2:18 PM Page 79 Lesson 5 Bag a GO Lunch In this lesson, students will: 1. Set a goal to change a health-related behavior: eat the amount of food in one food group that

More information

OFF-CAMPUS DINING PLAN OVERVIEW

OFF-CAMPUS DINING PLAN OVERVIEW 2017-18 OFF-CAMPUS DINING PLAN OVERVIEW We look forward to seeing you on campus in the fall! To help you learn about our plans and make the best decision for your tastes and preferences, we offer this

More information

TEST PROJECT. Server Side B. Submitted by: WorldSkills International Manuel Schaffner CH. Competition Time: 3 hours. Assessment Browser: Google Chrome

TEST PROJECT. Server Side B. Submitted by: WorldSkills International Manuel Schaffner CH. Competition Time: 3 hours. Assessment Browser: Google Chrome TEST PROJECT Server Side B Submitted by: WorldSkills International Manuel Schaffner CH Competition Time: 3 hours Assessment Browser: Google Chrome WSC2015_TP17_ServerSide_B_EN INTRODUCTION WorldSkills

More information

raspador Documentation

raspador Documentation raspador Documentation Release 0.2.2 Fernando Macedo September 21, 2015 Contents 1 Install 1 1.1 Package managers............................................ 1 1.2 From source...............................................

More information

ACTIVITY REPORT. COORDINATION Activities at Alalapadu were coordinated by the ACT Biodiversity Program Coordinator Angela Monorath.

ACTIVITY REPORT. COORDINATION Activities at Alalapadu were coordinated by the ACT Biodiversity Program Coordinator Angela Monorath. ACTIVITY REPORT Activity: Brazil nut packaging and cracking tests at Alalapadu Financed by: Organization of American States Focal group: Indigenous Communities of Southern Suriname, from the village of

More information

Cut Rite V9 MDF Door Library

Cut Rite V9 MDF Door Library Cut Rite V9 MDF Door Library Software: Cut Rite Version 9 1 Cut Rite Nesting for MDF Doors Combining the powerful Cut Rite NE + MI + PL + PQ modules The Cut Rite NE module contains an advanced set of nesting

More information

TEACHER NOTES MATH NSPIRED

TEACHER NOTES MATH NSPIRED Math Objectives Students will use a ratio to create and plot points and will determine a mathematical relationship for plotted points. Students will compute the unit rate given a ratio. Students will predict

More information

********************************************************************

******************************************************************** Entry Form: You must use this form other forms will not be accepted and your entry will be disqualified. Upload this form along with your award entry to the FSNA Dropbox: https://www.dropbox.com/request/9j8speh4rwl4mybxl7nr.

More information

Supermarket Industry Concerns and Questions - FDA Menu Labeling Regulation

Supermarket Industry Concerns and Questions - FDA Menu Labeling Regulation Supermarket Industry Concerns and Questions - FDA Menu Labeling Regulation 1. Public guidance on these issues and questions are needed not only for stakeholder compliance but also for federal, state and

More information

IMMACULATE CONCEPTION HIGH SCHOOL HOME ECONOMICS DEPARTMENT SYLLABUSES

IMMACULATE CONCEPTION HIGH SCHOOL HOME ECONOMICS DEPARTMENT SYLLABUSES IMMACULATE CONCEPTION HIGH SCHOOL HOME ECONOMICS DEPARTMENT SYLLABUSES MISSION STATEMENT We, the members of the Home Economics Department at the Immaculate Conception High School, inspired by the teachings

More information

Is Fair Trade Fair? ARKANSAS C3 TEACHERS HUB. 9-12th Grade Economics Inquiry. Supporting Questions

Is Fair Trade Fair? ARKANSAS C3 TEACHERS HUB. 9-12th Grade Economics Inquiry. Supporting Questions 9-12th Grade Economics Inquiry Is Fair Trade Fair? Public Domain Image Supporting Questions 1. What is fair trade? 2. If fair trade is so unique, what is free trade? 3. What are the costs and benefits

More information

National Ice Cream Day September 23 rd

National Ice Cream Day September 23 rd Target audience (age): Ensino Médio Aim: get more information about the history of ice cream and how it was invented Duration: 50 min Organization: individual / group work Material: worksheet Preparation:

More information

Role of Flavorings in Determining Food Quality

Role of Flavorings in Determining Food Quality Role of Flavorings in Determining Food Quality Keith Cadwallader Department of Food Science and Human Nutrition University of Illinois at Urbana-Champaign 6 th Annual Food Sure Summit 2018 Chicago, IL,

More information

Required Materials: Total Time: minutes

Required Materials: Total Time: minutes Objectives 1. Children will explain one reason corn is healthy for them. 2. Children will explain that corn comes from a plant that grows in the ground. 3. Children will experience corn using their senses

More information

STUDY AND IMPROVEMENT FOR SLICE SMOOTHNESS IN SLICING MACHINE OF LOTUS ROOT

STUDY AND IMPROVEMENT FOR SLICE SMOOTHNESS IN SLICING MACHINE OF LOTUS ROOT STUDY AND IMPROVEMENT FOR SLICE SMOOTHNESS IN SLICING MACHINE OF LOTUS ROOT Deyong Yang 1,*, Jianping Hu 1,Enzhu Wei 1, Hengqun Lei 2, Xiangci Kong 2 1 Key Laboratory of Modern Agricultural Equipment and

More information

Sponsored by: Center For Clinical Investigation and Cleveland CTSC

Sponsored by: Center For Clinical Investigation and Cleveland CTSC Selected Topics in Biostatistics Seminar Series Association and Causation Sponsored by: Center For Clinical Investigation and Cleveland CTSC Vinay K. Cheruvu, MSc., MS Biostatistician, CTSC BERD cheruvu@case.edu

More information

Concession Stand (Snack Bar) Rules

Concession Stand (Snack Bar) Rules Concession Stand (Snack Bar) Rules 1. A concession stand (snack bar) request form must be completed and submitted. 2. Certificate of Insurance must be provided by applicant. Certificate must be in an amount

More information