15
SAP FORUM İSTANBUL Reimagine Business for the Digital Economy Design Patterns in ABAP Objects Konuşmacı Adı : Dr. Kerem Köseoğlu Firma Adı : Tesuji Consulting

SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

Embed Size (px)

Citation preview

Page 1: SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

SAP FORUM İSTANBUL Reimagine Business for the Digital Economy Design Patterns in ABAP Objects

Konuşmacı Adı : Dr. Kerem Köseoğlu

Firma Adı : Tesuji Consulting

Page 2: SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

© 2016 SAP AG or an SAP affiliate company. All rights reserved. 2

Yazar Hakkında

Dr. Kerem Köseoğlu

1978 doğumlu

2002’den beri ABAP

Önceden yayınlanmış 4 kitap

Page 3: SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

© 2016 SAP AG or an SAP affiliate company. All rights reserved. 3

Mimarlık

Mimarinin önemi

Proje mimari ile başlar

Tasarlayan mimar olmalıdır

Page 4: SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

© 2016 SAP AG or an SAP affiliate company. All rights reserved. 4

İdeal Mimari

İdeal mimarinin özellikleri

Güçlü

Esnek

Geliştirilebilir

Paralel çalışılabilir

Yeniden kullanılabilir

İkame edilebilir

Page 5: SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

© 2016 SAP AG or an SAP affiliate company. All rights reserved. 5

Araçlar

Mimari tasarım araçları

Nesneler

Class

Abstract Class

Interface

Program

Özellikler

Inheritance

Polymorphism

Encapsulation

Composition

Page 6: SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

© 2016 SAP AG or an SAP affiliate company. All rights reserved. 6

Design Pattern

Nedir?

Hazır mimari kalıplar

Zamana karşı test edilmiş

Dil / platform bağımsız

Page 7: SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

© 2016 SAP AG or an SAP affiliate company. All rights reserved. 7

Design Pattern Örnekleri

Kitap içeriğinden örnekler

Observer

Data access object

Multiton

Decorator

Chain of responsibility*

Strategy*

Page 8: SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

© 2016 SAP AG or an SAP affiliate company. All rights reserved. 8

Chain of Responsibility

METHOD get_agents. IF is_ekko-ekorg EQ ‘ORG4’. ‚ Determine the plant ‚ Determine agents based on the plant ELSE. CHECK go_next_rule IS NOT INITIAL. rt_agent = go_next_rule->get_agents( is_ekko = is_ekko it_ekpo = it_ekpo ). ENDIF. ENDMETHOD.

Page 9: SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

© 2016 SAP AG or an SAP affiliate company. All rights reserved. 9

Strategy

METHOD zif_mat_sender~send_material. ‚ Code to create XML from it_mara ‚ Code to send XML file ENDMETHOD.

Page 10: SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

© 2016 SAP AG or an SAP affiliate company. All rights reserved. 10

Anti Pattern Örnekleri

Sakınılması gereken bazı durumlar

Blob

Copy & paste

Jumble

Spaghetti code

Diaper

Lava flow

Page 11: SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

© 2016 SAP AG or an SAP affiliate company. All rights reserved. 11

Design Patterns in ABAP Objects

Kitap detayları

SAP / ABAP özelinde

27 Design Pattern

Gerçek proje örnekleri

Mimari prensipler

400 sayfa

Bir yıllık çalışma

Page 12: SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

© 2016 SAP AG or an SAP affiliate company. All rights reserved. 12

Kimler İçin?

Hedef kitle

ABAP: Mimarlığa ilk adım

Modül: Daha iyi tasarım

İngilizce

E-Book + basılı

Page 13: SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

© 2016 SAP AG or an SAP affiliate company. All rights reserved. 13

Design Patterns in ABAP Objects

Kitap adresi

www.sap-press.com/4277 DSPTAB15

Page 14: SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

© 2016 SAP AG or an SAP affiliate company. All rights reserved. 14

SAP Press süreci

Adım adım kitap yayınlama

Acquisition

Board

Contract

Guide

Writing

Development editor

Copy writer

Proof

Royalty

Page 15: SAP FORUM İSTANBUL 2016 - ABAP MİMARİSİNE YENİ SOLUK F

© 2016 SAP AG or an SAP affiliate company. All rights reserved.

Teşekkürler

İletişim Bilgileri:

Dr. Kerem Köseoğlu

Freelance SAP Software Architect

http://kerem.koseoglu.info