Backend Logic
Classes and Objects
Ana Oprea
IT Consultant
Table of contents
• My professional and personal background
• べんとう
• Bento Box Example
• Backend

• Object Oriented Progra...
Professional and personal background
• Bachelor in CS, University
Politehnica of Bucharest
• MSc in IT Security, Eurecom
T...
べんとう

30/11/2013

Rails Girls Munich

4
Bento Box Example
Python
PostgreSQL
HBase

Java

30/11/2013

C

SQLite
Oracle

Javascript
Apache

Ruby

HTML5

CSS

Tomcat...
Backend
• Behind the scenes
• Logic of the application

30/11/2013

Rails Girls Munich

6
Object Oriented Programming
• Object : fields and methods
– Data encapsulation
– Inheritance
– Modularity

• Languages: Ja...
Classes
class Bicycle:
# building a bike
def initialize(start_speed=0)
@speed = start_speed
end
# how the bike works
def g...
Objects
city_bike = Bicycle.new()
city_bike.go_faster(1)

mountain_bike = Bicycle.new(4)
mountain_bike.go_slower(3)
mounta...
Mulțumesc

30/11/2013
Rails Girls Munich

10
Useful Links
• Introduction to OOP
http://www.codeproject.com/Articles/22769/I
ntroduction-to-Object-OrientedProgramming-C...
Upcoming SlideShare
Loading in …5
×

From Bento Box to BackEnd by Ana Oprea

259
-1

Published on

From Bento Box to BackEnd by Ana Oprea

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
259
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

From Bento Box to BackEnd by Ana Oprea

  1. 1. Backend Logic Classes and Objects Ana Oprea IT Consultant
  2. 2. Table of contents • My professional and personal background • べんとう • Bento Box Example • Backend • Object Oriented Programming • Classes • Objects 30/11/2013 Rails Girls Munich 2
  3. 3. 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
  4. 4. べんとう 30/11/2013 Rails Girls Munich 4
  5. 5. Bento Box Example Python PostgreSQL HBase Java 30/11/2013 C SQLite Oracle Javascript Apache Ruby HTML5 CSS Tomcat Rails Girls Munich 5
  6. 6. Backend • Behind the scenes • Logic of the application 30/11/2013 Rails Girls Munich 6
  7. 7. Object Oriented Programming • Object : fields and methods – Data encapsulation – Inheritance – Modularity • Languages: Java, Python, C++, Ruby, Scala 30/11/2013 Rails Girls Munich 7
  8. 8. 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
  9. 9. 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
  10. 10. Mulțumesc 30/11/2013 Rails Girls Munich 10
  11. 11. Useful Links • Introduction to OOP http://www.codeproject.com/Articles/22769/I ntroduction-to-Object-OrientedProgramming-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

×