Databases - Have it your way
|
|
- Elfrieda Bruce
- 6 years ago
- Views:
Transcription
1 Databases - Have it your way Frederick Cheung - kgb fred@texperts.com 1
2 kgb Operates a number of Directory Enquiry type products in several countries Runs the Ask Us Anything SMS service in the US backend is handled by several Rails apps 2
3 Whats the difference between 1080i and 1080p? kgb Operates a number of Directory Enquiry type products in several countries Runs the Ask Us Anything SMS service in the US backend is handled by several Rails apps 2
4 Whats the difference between 1080i and 1080p? kgb What is the address for the sperm bank of Pittsburgh? Operates a number of Directory Enquiry type products in several countries Runs the Ask Us Anything SMS service in the US backend is handled by several Rails apps 2
5 Whats the difference between 1080i and 1080p? kgb What is the address for the sperm bank of Pittsburgh? Operates a number of Directory Enquiry type products in several countries Runs the Ask Us Anything SMS service in the US Where is the Greyhound bus station in Rochester, NY? backend is handled by several Rails apps 2
6 Whats the difference between 1080i and 1080p? kgb What is the address for the sperm bank of Pittsburgh? Operates a number of Directory Enquiry type products in several countries Runs the Ask Us Anything SMS service in the US Where is the Greyhound bus station in Rochester, NY? backend is handled by several Rails apps Is marijuana legal in Oregon? 2
7 Whats the difference between 1080i and 1080p? kgb What is the address for the sperm bank of Pittsburgh? Operates a number of Directory Enquiry type products in several countries Runs the Ask Us Anything SMS service in the US Where is the Greyhound bus station in Rochester, NY? backend is handled by several Rails apps Is marijuana legal in Oregon? What is the longest life span of a dog in recorded history? 2
8 ORMs Hide the gunk that map objects to database storage Eliminate a lot of the repetitive code don t forget about not relational storage (eg CouchDB) 3
9 Active Record within Rails rake tasks for migrations automatically configured on app load 4
10 What ORM agnosticism isn t gsub( ActiveRecord, DataMapper ) Not trying to make all ORM libraries look the same 5
11 What ORM agnosticism isn t gsub( ActiveRecord, DataMapper ) Not trying to make all ORM libraries look the same 5
12 Then what is it? Document / codify interactions between persistence layer and rest of Rails Grease the wheels Don t make you feel like a second class citizen Should be almost invisible to end user - things should just work 6
13 Choose your ORM on its features without worrying about bumps in the road 7
14 Patterns Active Record: An object that wraps a row in a database table or view, encapsulates the database access, and adds domain logic on that data. (Martin Fowler) Data Mapper: A layer of Mappers hat moves data between objects and a database while keeping them independent of each other and the mapper itself. (Martin Fowler) 8
15 Some ORMs, side by side Active Record, DataMapper, Sequel 9
16 Similar features across the board User.new(params[:user]) Associations, scopes, migrations etc. Watch out for subtle differences! 10
17 Similar features across the board User.new(params[:user]) Associations, scopes, migrations etc. Watch out for subtle differences! #Active Record person.save! #=> raises if invalid person.save #=> returns false if invalid #Sequel person.save #=> raises if invalid person.save! #=> save ignoring validations 10
18 Active Record You all know it Does a lot of manipulation of SQL fragments - very difficult to build an Active Record adapter for non sql datasource SQL fragments make some things easy, others awkward 11
19 Active Record Evolution In the beginning conditions were strings: composing sets of conditions: yuck! hash conditions for equality & ranges named_scope and... 12
20 Arel - Relation Algebra generates db queries Destined to underpin future version Active Record Operations all closed under composition posts = Table(:posts) posts.where(posts[:subject].eq('bacon')) posts.join(comments).on(posts[:id].eq(comments[:post_id])) 13
21 DataMapper Query objects: lazy loaded definition of a query Easy to compose queries Easy construction of complicated joins Modular design all_posts = Post.all about_test = all_posts.all :subject.like => '%test%' with_comment_by_fred = about_test.all Post.comments.name => 'fred' 14
22 A DM using Model mappy feel to it explicit about attributes (versus checking schema) class Post include DataMapper::Resource include DataMapper::Timestamps property :id, Serial property :subject, String, :nullable => false property :body, Text, :nullable => false property :created_at, DateTime, :nullable => false property :updated_at, DateTime, :nullable => false has n, :comments end 15
23 Laziness attributes can be lazy loaded loads lazy loaded attributes in one query for all results in collection property groups when defining laziness same strategy for loading associations Post.get 1 loaded> > 16
24 Laziness attributes can be lazy loaded loads lazy loaded attributes in one query for all results in collection property groups when defining laziness same strategy for loading associations Post.get 1 loaded> > 16
25 Sequel Database toolkit - A ruby DSL for databases DB[:posts].filter { created_at > Date::today - 1}.all ORM layer (Migrations, associations etc. - the usual) Master/Slave databases, sharding pure ruby DSL for conditions Mosts things are Datasets 17
26 Sequel Model class Post < Sequel::Model plugin :timestamps one_to_many :comments end comments_dataset loads of customisation for eager loads inverse associations flexible - join on non standard columns 18
27 Very modular 19
28 Very modular Some high level 19
29 Very modular Some high level Identity map Lazy attributes Callbacks Single/Class Table inheritance 19
30 Very modular Some high level Identity map Lazy attributes Callbacks Single/Class Table inheritance Some quite grungy 19
31 Very modular Some high level Identity map Lazy attributes Callbacks Single/Class Table inheritance Some quite grungy Boolean readers Association proxies 19
32 Monolithic vs Modular Active Record in theory modular, but no easy way to choose DM explicitly modular: plugins implement validations, migrations,... Sequel::Model entirely plugin driven Modularity great when you know what you re doing, but... Tyranny of choice? 20
33 Conditions #Active Record Post.all :conditions => ["subject like?", "%bacon%"] Post.all :conditions => {:approved => true} Post.all :conditions => ["comments.name like?", "%bacon%"], :joins => :comments, :select => "distinct posts.*" #DataMapper Post.all :subject.like => '%bacon%' Post.all Post.comments.name.like => '%fred%' #Sequel Post.filter {subject.like '%test%'}.all Post.select('distinct posts.*').inner_join(:comments, :post_id => :id).filter {comments name.like '%test%'}.all 21
34 More Finders #Active Record Post.find :all, :include => :comments, :order => 'created_at desc' #DataMapper Post.all :order => [:created_at.desc] #Sequel Post.eager(:comments).order(:created_at.desc).all Post.eager_graph(:comments).order('posts.created_at desc').all 22
35 You can use these today You can already build apps with other data stores You can use some of the niceties like You need to figure out dependencies between Action Pack and Active Record Compatibility worries 23
36 Little niggles Action summary doesn t count time in DM/ Sequel as database time Some manual setup have to define to_param 24
37 Code time! 25
38 That s all folks! fred@texperts.com 26
Rails + Legacy Databases Brian Hogan - RailsConf 2009 twitter: bphogan IRC: hoganbp
Rails + Legacy Databases Brian Hogan - RailsConf 2009 twitter: bphogan IRC: hoganbp So the main thing I want you to take away from this talk is... Please don t do it! Questions? Just kidding. The point
More informationWeb Applications. Software Engineering 2017 Alessio Gambi - Saarland University
Web Applications Software Engineering 2017 Alessio Gambi - Saarland University Based on the work of Cesare Pautasso, Christoph Dorn, Andrea Arcuri, and others ReCap Software Architecture A software system
More informationEssential SQLAlchemy. An Overview of SQLAlchemy. Rick Copeland Author, Essential SQLAlchemy Predictix, LLC
Essential SQLAlchemy An Overview of SQLAlchemy Rick Copeland Author, Essential SQLAlchemy Predictix, LLC SQLAlchemy Philosophy SQL databases behave less like object collections the more size and performance
More informationAn Incredibly Brief Introduction to Relational Databases: Appendix B - Learning Rails
O'Reilly Published on O'Reilly (http://oreilly.com/) See this if you're having trouble printing code examples An Incredibly Brief Introduction to Relational Databases: Appendix B - Learning Rails by Edd
More informationContents in Detail. Foreword by Xavier Noria
Contents in Detail Foreword by Xavier Noria Acknowledgments xv xvii Introduction xix Who This Book Is For................................................ xx Overview...xx Installation.... xxi Ruby, Rails,
More informationDatabase Application Architectures
Chapter 15 Database Application Architectures Database Systems(Part 2) p. 221/287 Database Applications Most users do not interact directly with a database system The DBMS is hidden behind application
More informationPatterns of Enterprise Application Architecture
Patterns of Enterprise Application Architecture CS446/ECE452/SE464 Majed Al-Shawa Q1: Performance There are two systems, Shark and Whale. Each system is running on a single processor, but Shark produces
More informationCreating Models. Rob Allen, July 2014
Creating Models Rob Allen, July 2014 I make business websites 19ft.com The business logic is the hard part MVC MVC The model is the solution to a problem A problem A customer wants to plan a journey
More informationTuesday, January 13, Backend III: Node.js with Databases
6.148 Backend III: Node.js with Databases HELLO AND WELCOME! Your Feels Lecture too fast! Your Feels Lecture too fast! Too many languages Your Feels Lecture too fast! Too many languages Code more in class
More informationLaravel-Metable Documentation
Laravel-Metable Documentation Release 1.0 Sean Fraser May 15, 2018 Contents 1 Introduction 3 1.1 Features.................................................. 3 1.2 Installation................................................
More informationThe power of PostgreSQL exposed with automatically generated API endpoints. Sylvain Verly Coderbunker 2016Postgres 中国用户大会 Postgres Conference China 20
The power of PostgreSQL exposed with automatically generated API endpoints. Sylvain Verly Coderbunker Development actors Frontend developer Backend developer Database administrator System administrator
More informationSTARCOUNTER. Technical Overview
STARCOUNTER Technical Overview Summary 3 Introduction 4 Scope 5 Audience 5 Prerequisite Knowledge 5 Virtual Machine Database Management System 6 Weaver 7 Shared Memory 8 Atomicity 8 Consistency 9 Isolation
More informationFACULTY OF ENGINEERING B.E. 4/4 (CSE) II Semester (Old) Examination, June Subject : Information Retrieval Systems (Elective III) Estelar
B.E. 4/4 (CSE) II Semester (Old) Examination, June 2014 Subject : Information Retrieval Systems Code No. 6306 / O 1 Define Information retrieval systems. 3 2 What is precision and recall? 3 3 List the
More informationRails: Models. Computer Science and Engineering College of Engineering The Ohio State University. Lecture 25
Rails: Models Computer Science and Engineering College of Engineering The Ohio State University Lecture 25 Recall: Rails Architecture Recall: Rails Architecture Mapping Tables to Objects General strategy
More informationUsing Scala for building DSL s
Using Scala for building DSL s Abhijit Sharma Innovation Lab, BMC Software 1 What is a DSL? Domain Specific Language Appropriate abstraction level for domain - uses precise concepts and semantics of domain
More informationBig Data with rubygems.org Download Data. Aja Hammerly
Big Data with rubygems.org Download Data Aja Hammerly Aja Hammerly http://github.com/thagomizer @thagomizer_rb http://www.thagomizer.com Lawyer Cat Says: Any code is copyright Google and licensed Apache
More informationRelational Algebra. Study Chapter Comp 521 Files and Databases Fall
Relational Algebra Study Chapter 4.1-4.2 Comp 521 Files and Databases Fall 2010 1 Relational Query Languages Query languages: Allow manipulation and retrieval of data from a database. Relational model
More informationSQL DATA DEFINITION: KEY CONSTRAINTS. CS121: Relational Databases Fall 2017 Lecture 7
SQL DATA DEFINITION: KEY CONSTRAINTS CS121: Relational Databases Fall 2017 Lecture 7 Data Definition 2 Covered most of SQL data manipulation operations Continue exploration of SQL data definition features
More informationDRYing Out MVC (ESaaS 5.1)"
DRYing Out MVC (ESaaS 5.1)" Armando Fox" 2013 Armando Fox & David Patterson, all rights reserved Don t Repeat Yourself but how?" Goal: enforce that movie names must be less than 40 characters" Call a check
More informationAssociations: mechanics (ESaaS 5.3)"
Associations: mechanics (ESaaS 5.3)" Armando Fox" 2013 Armando Fox & David Patterson, all rights reserved How does it work?" Models must have attribute for foreign key of owning object" e.g., movie_id
More informationInstalling Visual Studio for Report Design
Introduction and Contents This file contains the final set of instructions needed for software installation for HIM 6217. It covers items 4 & 5 from the previously introduced list seen below: 1. Microsoft
More informationHellerstein/Olston. Homework 6: Database Application. beartunes. 11:59:59 PM on Wednesday, December 6 th
Homework 6: Database Application beartunes Due @ 11:59:59 PM on Wednesday, December 6 th Overview For this assignment, you ll be implementing portions of a database-backed web application using Ruby on
More informationSubmitted No Schema Type For Mysql Type Datetime
Submitted No Schema Type For Mysql Type Datetime Field webform_views_exec_com_55.submitted: no Schema type for mysql type datetime. webform_views_exec_com_55.submitted: no type for Schema type. I made
More informationDon t Repeat Yourself Repeat Others
Don t Repeat Yourself Repeat Others RailsConf Baltimore, MD June 8, 2010 John Nunemaker Ordered List Why? Why? I am obsessed with improving Why? I am obsessed with improving I have learned a lot of late
More informationIntroduction to NoSQL Databases
Introduction to NoSQL Databases Roman Kern KTI, TU Graz 2017-10-16 Roman Kern (KTI, TU Graz) Dbase2 2017-10-16 1 / 31 Introduction Intro Why NoSQL? Roman Kern (KTI, TU Graz) Dbase2 2017-10-16 2 / 31 Introduction
More informationJRuby and Ioke. On Google AppEngine. Ola Bini
JRuby and Ioke On Google AppEngine Ola Bini ola.bini@gmail.com http://olabini.com/blog Vanity slide ThoughtWorks consultant/developer/programming language geek JRuby Core Developer From Stockholm, Sweden
More informationAdvanced O/R Mapping with Glorp. Alan Knight Cincom Systems of Canada
Advanced O/R Mapping with Glorp Alan Knight (knight@acm.org) Cincom Systems of Canada Metaphor/Motivating Example Ruby on Rails/ActiveRecord Reading Database Schema» Some interesting mapping issues Creating
More informationDesigning the M in MVC
Designing the M in MVC Rob Allen @akrabat ~ May 2017 ~ http://akrabat.com (slides at http://akrabat.com/talks) The business logic is the hard part MVC MVC DDD is an approach to help you manage the model
More informationFrustrated by all the hype?
Fundamentals of Software Architecture Looking beyond the hype Markus Völter (voelter@acm.org) Introduction Frustrated by all the hype? If so this presentation is for you. Otherwise you should leave People
More informationPHP Object-Relational Mapping Libraries in action
PHP Object-Relational Mapping Libraries in action Apr 14, 2010 O'Reilly MySQL Conference and Expo Santa Clara, CA Fernando Ipar & Ryan Lowe Percona Inc. -2- Agenda What are ORM libraries Object Oriented
More informationPatterns Of Enterprise Application Architecture
Patterns Of Enterprise Application Architecture Lecture 11-12 - Outlines Overview of patterns Web Presentation Patterns Base Patterns Putting It All Together References Domain Logic Patterns Domain Model
More informationObject-Relational Mapping Tools let s talk to each other!
Object-Relational Mapping Tools let s talk to each other! BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH Agenda O/R Mappers
More informationToday s topics. Null Values. Nulls and Views in SQL. Standard Boolean 2-valued logic 9/5/17. 2-valued logic does not work for nulls
Today s topics CompSci 516 Data Intensive Computing Systems Lecture 4 Relational Algebra and Relational Calculus Instructor: Sudeepa Roy Finish NULLs and Views in SQL from Lecture 3 Relational Algebra
More informationPrinciples of Ruby Applica3on Design. Dean Wampler Senior Mentor and Consultant Object Mentor, Inc. Chicago, IL
Principles of Ruby Applica3on Design Dean Wampler Senior Mentor and Consultant Object Mentor, Inc. Chicago, IL dean@objectmentor.com 1 Get the latest version of this talk: aspectprogramming.com/papers
More informationHIBERNATE MOCK TEST HIBERNATE MOCK TEST IV
http://www.tutorialspoint.com HIBERNATE MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Hibernate Framework. You can download these sample mock tests
More informationValidations vs. Filters
Validations vs. Filters Advice (DRYness) Validation Filter Check invariants on model Check conditions for allowing controller action to run Pointcut AR model lifecycle hooks Before and/or after any public
More informationManaging Data at Scale: Microservices and Events. Randy linkedin.com/in/randyshoup
Managing Data at Scale: Microservices and Events Randy Shoup @randyshoup linkedin.com/in/randyshoup Background VP Engineering at Stitch Fix o Combining Art and Science to revolutionize apparel retail Consulting
More informationTopics. History. Architecture. MongoDB, Mongoose - RDBMS - SQL. - NoSQL
Databases Topics History - RDBMS - SQL Architecture - SQL - NoSQL MongoDB, Mongoose Persistent Data Storage What features do we want in a persistent data storage system? We have been using text files to
More informationSQL. The Basics Advanced Manipulation Constraints Authorization 1. 1
SQL The Basics Advanced Manipulation Constraints Authorization 1. 1 Table of Contents SQL 0 Table of Contents 0/1 Parke Godfrey 0/2 Acknowledgments 0/3 SQL: a standard language for accessing databases
More informationMysql Insert Manual Timestamp Into Datetime Field
Mysql Insert Manual Timestamp Into Datetime Field You can set the default value of a DATE, DATETIME or TIMESTAMP field to the For INSERT IGNORE and UPDATE IGNORE, '0000-00-00' is permitted and NULL DEFAULT
More informationAuthentication in Rails
Authentication in Rails Aaron Mulder CTO Chariot Solutions Philly on Rails, October 2007 1 Agenda The problem Plugins in Rails, and the (many) solutions acts_as_authenticated Generated Code Custom Code
More informationObject Persistence Design Guidelines
Object Persistence Design Guidelines Motivation Design guideline supports architects and developers in design and development issues of binding object-oriented applications to data sources The major task
More informationEnterprise Features & Requirements Analysis For EJB3 JPA & POJO Persistence. CocoBase Pure POJO
CocoBase Pure POJO Product Information V5 Enterprise Features & Requirements Analysis For EJB3 JPA & POJO Persistence CocoBase PURE POJO Uniquely Provides BEST IN INDUSTRY Support For The Full Range Of
More informationEMF Temporality. Jean-Claude Coté Éric Ladouceur
EMF Temporality Jean-Claude Coté Éric Ladouceur 1 Introduction... 3 1.1 Dimensions of Time... 3 3 Proposed EMF implementation... 4 3.1 Modeled Persistence... 4 3.2 Modeled Temporal API... 5 3.2.1 Temporal
More informationDatabase Architectures
Database Architectures CPS352: Database Systems Simon Miner Gordon College Last Revised: 4/15/15 Agenda Check-in Parallelism and Distributed Databases Technology Research Project Introduction to NoSQL
More informationJPA Best Practices. Bruce Campbell
JPA Best Practices Bruce Campbell Outline mapping approaches primary keys sequences/generators orphans equals and hashcode fetch types/n+1 queries eager vs. lazy loading concurrency Mapping Approaches
More informationCh 5 : Query Processing & Optimization
Ch 5 : Query Processing & Optimization Basic Steps in Query Processing 1. Parsing and translation 2. Optimization 3. Evaluation Basic Steps in Query Processing (Cont.) Parsing and translation translate
More informationHand Coded Applications with SQLAlchemy
Hand Coded Applications with SQLAlchemy What's a Database? We can put data in, get it back out. Data is stored as records/rows/documents/ etc. Records/rows are composed of sets of attributes. Queries allow
More informationzf-doctrine-audit Documentation Release latest
zf-doctrine-audit Documentation Release latest Jul 28, 2018 Table of Contents 1 Quickstart 3 2 Getting Started 5 2.1 Installation................................................ 5 2.2 Configuration...............................................
More information3 Continuous Integration 3. Automated system finding bugs is better than people
This presentation is based upon a 3 day course I took from Jared Richardson. The examples and most of the tools presented are Java-centric, but there are equivalent tools for other languages or you can
More informationFast Track to EJB 3.0 and the JPA Using JBoss
Fast Track to EJB 3.0 and the JPA Using JBoss The Enterprise JavaBeans 3.0 specification is a deep overhaul of the EJB specification that is intended to improve the EJB architecture by reducing its complexity
More informationRails: MVC in action
Ruby on Rails Basic Facts 1. Rails is a web application framework built upon, and written in, the Ruby programming language. 2. Open source 3. Easy to learn; difficult to master. 4. Fun (and a time-saver)!
More informationCS169.1x Lecture 6: Basic Rails" Fall 2012"
CS169.1x Lecture 6: Basic Rails" Fall 2012" 1" The Database is Golden Contains valuable customer data don t want to test your app on that! Rails solution: development, production and test environments
More informationAre you using Ruby on Rails?
Are you using Ruby on Rails? Should you? Come have a seat, and we ll figure it out Learn how to create happy programmers, and 10 real world benefits to using Rails Talk begins at 5 PM Warning Warning I
More informationSlicing and Dicing Data in CF and SQL: Part 2
Slicing and Dicing Data in CF and SQL: Part 2 Charlie Arehart Founder/CTO Systemanage carehart@systemanage.com SysteManage: Agenda Slicing and Dicing Data in Many Ways Cross-Referencing Tables (Joins)
More informationCall: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline
JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline Advanced Java Database Programming JDBC overview SQL- Structured Query Language JDBC Programming Concepts Query Execution Scrollable
More informationTowards a Theory of Genericity Based on Government and Binding
Towards a Theory of Based on Government and Binding ER 2006 Tucson Alexander Bienemann, Klaus-Dieter Schewe, Bernhard Thalheim Ariva.de Kiel & Massey University & Kiel University Our main contributions
More informationConvention over Configuration
Convention over Configuration The Universal Remote: Powerful, but requires too much configuring Intent Design a framework so that it enforces standard naming conventions for mapping classes to resources
More informationDATA ACCESS TECHNOLOGIES FOR JAVA GENERAL STUDY
DATA ACCESS TECHNOLOGIES FOR JAVA GENERAL STUDY Manzar Chaudhary Principal Software Engineer RSA manzar.chaudhary@rsa.com Knowledge Sharing Article 2018 Dell Inc. or its subsidiaries. Table of Contents
More informationCS 525: Advanced Database Organization 03: Disk Organization
CS 525: Advanced Database Organization 03: Disk Organization Boris Glavic Slides: adapted from a course taught by Hector Garcia-Molina, Stanford InfoLab CS 525 Notes 3 1 Topics for today How to lay out
More information.NET Database Technologies. Entity Framework: Queries and Transactions
.NET Database Technologies Entity Framework: Queries and Transactions ORMs and query languages l With an ORM, queries must define data to be returned and criteria in terms of domain model objects and their
More informationCMPE 131 Software Engineering. Database Introduction
Presented By Melvin Ch ng CMPE 131 Software Engineering September 14, 2017 Database Introduction Ruby on Rails ORM Agenda Database Management System (DBMS) SQL vs NoSQL Relational Database Introduction
More information1. Write two major differences between Object-oriented programming and procedural programming?
1. Write two major differences between Object-oriented programming and procedural programming? A procedural program is written as a list of instructions, telling the computer, step-by-step, what to do:
More informationStop Hacking, Start Mapping: Object Relational Mapping 101
Stop Hacking, Start Mapping: Object Relational Mapping 101 By: Stephen Forte, Chief Strategist. Telerik Corporation. Executive Summary As the industry has moved from a three tier model to n tier models,
More informationRuby on Rails Welcome. Using the exercise files
Ruby on Rails Welcome Welcome to Ruby on Rails Essential Training. In this course, we're going to learn the popular open source web development framework. We will walk through each part of the framework,
More informationOral Questions and Answers (DBMS LAB) Questions & Answers- DBMS
Questions & Answers- DBMS https://career.guru99.com/top-50-database-interview-questions/ 1) Define Database. A prearranged collection of figures known as data is called database. 2) What is DBMS? Database
More informationObject Persistence and Object-Relational Mapping. James Brucker
Object Persistence and Object-Relational Mapping James Brucker Goal Applications need to save data to persistent storage. Persistent storage can be database, directory service, XML files, spreadsheet,...
More informationCHAPTER 1: INTRODUCING C# 3
INTRODUCTION xix PART I: THE OOP LANGUAGE CHAPTER 1: INTRODUCING C# 3 What Is the.net Framework? 4 What s in the.net Framework? 4 Writing Applications Using the.net Framework 5 What Is C#? 8 Applications
More informationCopyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
THE FOLLOWING IS INTENDED TO OUTLINE OUR GENERAL PRODUCT DIRECTION. IT IS INTENDED FOR INFORMATION PURPOSES ONLY, AND MAY NOT BE INCORPORATED INTO ANY CONTRACT. IT IS NOT A COMMITMENT TO DELIVER ANY MATERIAL,
More informationDatabases. Jörg Endrullis. VU University Amsterdam
Databases Jörg Endrullis VU University Amsterdam Databases A database (DB) is a collection of data with a certain logical structure a specific semantics a specific group of users Databases A database (DB)
More informationTOPLink for WebLogic. Whitepaper. The Challenge: The Solution:
Whitepaper The Challenge: Enterprise JavaBeans (EJB) represents a new standard in enterprise computing: a component-based architecture for developing and deploying distributed object-oriented applications
More informationAdvanced Database Systems
Lecture IV Query Processing Kyumars Sheykh Esmaili Basic Steps in Query Processing 2 Query Optimization Many equivalent execution plans Choosing the best one Based on Heuristics, Cost Will be discussed
More informationOverview of the Ruby Language. By Ron Haley
Overview of the Ruby Language By Ron Haley Outline Ruby About Ruby Installation Basics Ruby Conventions Arrays and Hashes Symbols Control Structures Regular Expressions Class vs. Module Blocks, Procs,
More informationRuby on Rails. SITC Workshop Series American University of Nigeria FALL 2017
Ruby on Rails SITC Workshop Series American University of Nigeria FALL 2017 1 Evolution of Web Web 1.x Web 1.0: user interaction == server roundtrip Other than filling out form fields Every user interaction
More informationIntroduction to Data Management. Lecture #11 (Relational Languages I)
Introduction to Data Management Lecture #11 (Relational Languages I) Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Announcements Homework stuff
More informationCGS 3066: Spring 2017 SQL Reference
CGS 3066: Spring 2017 SQL Reference Can also be used as a study guide. Only covers topics discussed in class. This is by no means a complete guide to SQL. Database accounts are being set up for all students
More informationCross-Platform Parallels: Understanding SharePoint (Online) Through Notes-colored glasses
Cross-Platform Parallels: Understanding SharePoint (Online) Through Notes-colored glasses Presented by Ben Menesi Speaker Head of Product at Ytria IBM Notes Domino Admin & Dev. for the past 10 years Actually
More information3 The Building Blocks: Data Types, Literals, and Variables
chapter 3 The Building Blocks: Data Types, Literals, and Variables 3.1 Data Types A program can do many things, including calculations, sorting names, preparing phone lists, displaying images, validating
More informationRelational Algebra Homework 0 Due Tonight, 5pm! R & G, Chapter 4 Room Swap for Tuesday Discussion Section Homework 1 will be posted Tomorrow
Relational Algebra R & G, Chapter 4 By relieving the brain of all unnecessary work, a good notation sets it free to concentrate on more advanced problems, and, in effect, increases the mental power of
More informationCh. 21: Object Oriented Databases
Ch. 21: Object Oriented Databases Learning Goals: * Learn about object data model * Learn about o.o. query languages, transactions Topics: * 21.1 * 21.2 * 21.3 * 21.4 * 21.5 Source: Ch#21, Bertino93, Kim
More informationIntroduction of Laravel and creating a customized framework out of its packages
Introduction of Laravel and creating a customized framework out of its packages s.farshad.k@gmail.co m Presents By : Sayed-Farshad Kazemi For : Software Free Day Fall 2016 @farshadfeli x @s.farshad.k @farshad92
More informationViews in SQL Server 2000
Views in SQL Server 2000 By: Kristofer Gafvert Copyright 2003 Kristofer Gafvert 1 Copyright Information Copyright 2003 Kristofer Gafvert (kgafvert@ilopia.com). No part of this publication may be transmitted,
More informationSQL STORED ROUTINES. CS121: Relational Databases Fall 2017 Lecture 9
SQL STORED ROUTINES CS121: Relational Databases Fall 2017 Lecture 9 SQL Functions 2 SQL queries can use sophisticated math operations and functions Can compute simple functions, aggregates Can compute
More informationCSE341: Programming Languages Lecture 19 Introduction to Ruby and OOP. Dan Grossman Winter 2013
CSE341: Programming Languages Lecture 19 Introduction to Ruby and OOP Dan Grossman Winter 2013 Ruby logistics Next two sections use the Ruby language http://www.ruby-lang.org/ Installation / basic usage
More informationA c t i v e w o r k s p a c e f o r e x t e r n a l d a t a a g g r e g a t i o n a n d S e a r c h. 1
A c t i v e w o r k s p a c e f o r e x t e r n a l d a t a a g g r e g a t i o n a n d S e a r c h B a l a K a n t h i www.intelizign.com 1 Active workspace can search and visualize PLM data better! Problems:
More informationSoftware Project Seminar VII: Tools of the Craft. 23 march 2006 Jevgeni Kabanov
Software Project Seminar VII: Tools of the Craft 23 march 2006 Jevgeni Kabanov Administrative Info Send your troubles to tarkvaraprojekt@webmedia.ee, not to Ivo directly Next time will be an additional
More informationSQLAlchemy Session - In Depth
SQLAlchemy Session - In Depth The Transaction The Transaction The primary system employed by relational databases for managing data. Provides a scope around a series of operations with lots of desirable
More informationRails Guide. MVC Architecture. Migrations. Hey, thanks a lot for picking up this guide!
Rails Guide Hey, thanks a lot for picking up this guide! I created this guide as a quick reference for when you are working on your projects, so you can quickly find what you need & keep going. Hope it
More informationRelational model continued. Understanding how to use the relational model. Summary of board example: with Copies as weak entity
COS 597A: Principles of Database and Information Systems Relational model continued Understanding how to use the relational model 1 with as weak entity folded into folded into branches: (br_, librarian,
More informationPART I SQLAlchemy Core
PART I SQLAlchemy Core Now that we can connect to databases, let s begin looking at how to use SQLAlchemy Core to provide database services to our applications. SQLAlchemy Core is a Pythonic way of representing
More informationRuby logistics. CSE341: Programming Languages Lecture 19 Introduction to Ruby and OOP. Ruby: Not our focus. Ruby: Our focus. A note on the homework
Ruby logistics CSE341: Programming Languages Lecture 19 Introduction to Ruby and OOP Dan Grossman Autumn 2018 Next two sections use the Ruby language http://www.ruby-lang.org/ Installation / basic usage
More informationNoSQL systems: introduction and data models. Riccardo Torlone Università Roma Tre
NoSQL systems: introduction and data models Riccardo Torlone Università Roma Tre Leveraging the NoSQL boom 2 Why NoSQL? In the last fourty years relational databases have been the default choice for serious
More informationChapter 6 Object Persistence, Relationships and Queries
Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 6 Object Persistence, Relationships and Queries Object Persistence
More informationMISP core development crash course How I learned to stop worrying and love the PHP
MISP core development crash course How I learned to stop worrying and love the PHP Team CIRCL 1 of 17 MISP Training @ Helsinki 20180423 Some things to know in advance... MISP is based on PHP 5.6+ Using
More informationIntroduction to Data Management. Lecture #11 (Relational Algebra)
Introduction to Data Management Lecture #11 (Relational Algebra) Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Announcements v HW and exams:
More informationPart XII. Mapping XML to Databases. Torsten Grust (WSI) Database-Supported XML Processors Winter 2008/09 321
Part XII Mapping XML to Databases Torsten Grust (WSI) Database-Supported XML Processors Winter 2008/09 321 Outline of this part 1 Mapping XML to Databases Introduction 2 Relational Tree Encoding Dead Ends
More informationCS313D: ADVANCED PROGRAMMING LANGUAGE
CS313D: ADVANCED PROGRAMMING LANGUAGE Computer Science department Lecture 11: Connection to Databases Lecture Contents 2 What is a database? Relational databases Cases study: A Books Database Querying
More informationIn-class activities: Sep 25, 2017
In-class activities: Sep 25, 2017 Activities and group work this week function the same way as our previous activity. We recommend that you continue working with the same 3-person group. We suggest that
More informationSAP ABAP Training Course Content :
SAP ABAP Training Course Content : Topics Covered: Introduction to ERP Introduction to SAP & R/3 Architecture Introduction to ABAP/4 What is ABAP? Logon to SAP Environment Transaction Codes Multitasking
More informationRelational Data Mapping with GORM. Fall Forecast 2009
Relational Data Mapping with GORM Fall Forecast 2009 46 Agenda Creating an Application Grails Domain Classes Defining Constraints Defining Relationships The Grails Console 47 Creating a Grails App Issue
More information