component based progress programming

20
www.wayfare.ro

Upload: valentin-duricu

Post on 22-Jan-2018

112 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Component based Progress Programming

www.wayfare.ro

Page 2: Component based Progress Programming

Component based Progress ProgrammingVALENTIN DURICU

[email protected]

www.wayfare.ro

Page 3: Component based Progress Programming

About me§ Progress OpenEdge developer

at Wayfare ~ 3 years

§ 5 years web development experience

§ Some projects related to OpenEdge◦ Cloud Developer Studio (cloud-studio.ro)◦ OpenEdge mode for ACE Editor (bit.ly/1iqCa6u)◦ Omen (bit.ly/1jAkwp5)

§ Hobbies: Photography, Recreational Gaming

§ Contact me at [email protected]

§ More about me: valentin.duricu.ro

Page 4: Component based Progress Programming

AboutWayfare§ Visit our stand

§ And…

Page 5: Component based Progress Programming

What is Componentbased Programming?

Page 6: Component based Progress Programming

§ branch of software engineering that emphasizes the separation of concerns

§ it is a reuse-based approach to define, implement and compose loosely coupled independent components

§ Example:• a checkout component, responsible for a

users order

• a card processing component, required by the checkout one to charge the users credit card

Page 7: Component based Progress Programming

§ An individual software component is a• software package• a web service• a web resource• a module that encapsulates a set of related functions (or data)

§ With regard to system-wide co-ordination, components communicate with each other via interfaces

Page 8: Component based Progress Programming

In a much simple way…

http://www.tofucar.com/the-car-components-that-you-must-check-regularly

Page 9: Component based Progress Programming

http://www.artenediana.com/wp-content/uploads/2015/03/parti-de-masina.jpg

Page 10: Component based Progress Programming

OOP vs CBP

Page 11: Component based Progress Programming

§ OOP• Software should be written according to a mental model

• Modeling of real-world interactions

• Attempt to create “nouns” and “verbs” to be used in more human readable ways

Page 12: Component based Progress Programming

§ CBP (Component Based Programming)• Developers should create software by gluing together

prefabricated components

• Modularizing software as software components

• It is desirable to build complex system by assembling highly cohesive loosely coupled large components

Page 13: Component based Progress Programming

Examples

Page 14: Component based Progress Programming

§ Bundles as defined by the OSGi Service Platform

§Component web platform for modular js, css, and other assets

§Component Object Model (OCX/ActiveX/COM) and DCOM from Microsoft

§Enterprise JavaBeans from Sun Microsystems (now Oracle)

§The System.ComponentModel namespace in Microsoft .NET

§Unity3D developed by Unity Technologies

§XPCOM from Mozilla Foundation

§.NET Remoting from Microsoft

§CORBA and the CORBA Component Model from the Object Management Group

Page 15: Component based Progress Programming

CBP in Progress

Page 16: Component based Progress Programming

§ Already exists:

Procedure Library

§ Another way: Through a dependency manager

Page 17: Component based Progress Programming

•Omen – a dependency manager for OpenEdge projects§ Written in JavaScript to be ran in Node.JS

§ Available for free in NPM repository

§ Commands available to:• create, install, update or publish project

• create eclipse project, initalize appserver, generate propath

§ Private repository for private usage

Page 18: Component based Progress Programming
Page 19: Component based Progress Programming
Page 20: Component based Progress Programming

THANK YOU