Slide 1

Slide 1 text

Backend Logic Classes and Objects Ana Oprea IT Consultant

Slide 2

Slide 2 text

Table of contents • My professional and personal background • べんとう • Bento Box Example • Backend • Object Oriented Programming • Classes • Objects 2 30/11/2013 Rails Girls Munich

Slide 3

Slide 3 text

Professional and personal background • Bachelor in CS, University Politehnica of Bucharest • MSc in IT Security, Eurecom TélécomParisTech, France • Work experience: Network Administrator, Teaching Assistant, Software Developer; IT Consultant • Hobbies: travelling, mountaineering, skiing 30/11/2013 Rails Girls Munich 3

Slide 4

Slide 4 text

べんとう 30/11/2013 Rails Girls Munich 4

Slide 5

Slide 5 text

Bento Box Example 30/11/2013 Rails Girls Munich 5 Oracle SQLite PostgreSQL HBase Apache Tomcat Python Java C Ruby Javascript HTML5 CSS

Slide 6

Slide 6 text

Backend • Behind the scenes • Logic of the application 30/11/2013 Rails Girls Munich 6

Slide 7

Slide 7 text

Object Oriented Programming • Object : fields and methods – Data encapsulation – Inheritance – Modularity • Languages: Java, Python, C++, Ruby, Scala 30/11/2013 Rails Girls Munich 7

Slide 8

Slide 8 text

Classes class Bicycle: # building a bike def initialize(start_speed=0) @speed = start_speed end # how the bike works def go_faster(increment): @speed += increment end def go_slower(decrement): @speed -= decrement end 30/11/2013 Rails Girls Munich 8

Slide 9

Slide 9 text

Objects city_bike = Bicycle.new() city_bike.go_faster(1) mountain_bike = Bicycle.new(4) mountain_bike.go_slower(3) mountain_bike.go_faster(4) 30/11/2013 Rails Girls Munich 9

Slide 10

Slide 10 text

Mulțumesc 30/11/2013 10 Rails Girls Munich

Slide 11

Slide 11 text

Useful Links • Introduction to OOP http://www.codeproject.com/Articles/22769/I ntroduction-to-Object-Oriented- Programming-Concep • The Java Tutorials http://docs.oracle.com/javase/tutorial/java/co ncepts/index.html • The Python Tutorial http://docs.python.org/2/tutorial/index.html 30/11/2013 Rails Girls Munich 11