/
pycon-2010--introduction-to-sqlalchemy.json
36 lines (36 loc) · 2.65 KB
/
pycon-2010--introduction-to-sqlalchemy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"alias": "video/252/pycon-2010--introduction-to-sqlalchemy",
"category": "PyCon US 2010",
"copyright_text": "Creative Commons Attribution-NonCommercial-ShareAlike 3.0",
"description": "Introduction to SQLAlchemy\n\nPresented by Johnathan Ellis\n\nSQLAlchemy is the premier SQL toolkit for Python. SQLAlchemy exposes the\nfull power of SQL while remaining easy to use for the basics, and is\nflexible enough to work with existing database schemas as well as fresh\ndesigns. SQLAlchemy is used in production by leading Python web\nframeworks Pylons and Turbogears as well as many other web and non-web\ndevelopers.\n\nThis tutorial teaches SQLAlchemy's object-relational mapping to automate\npainlessly loading and persisting objects from and to your database,\neven when complex relationships exist.\n\nIntended Audience\n\nPython experience: intermediate. You should already have some hands-on\nexperience with Python and be comfortable reading modern Python code.\n\nSQL experience: beginning. You should know how to SELECT, INSERT, and\nDELETE, and how to read queries involving JOINs, but we will only be\nreading the SQL generated by SA, not writing our own.\n\nORM experience: prior experience with an object-relational mapper is not\nnecessary.\n\nClass Outline\n\nIntroduction:\n\n- Philosophy\n- SA features\n\nFundamentals:\n\n- Introduction to ORM\n- Data Mapper pattern vs Active Record\n- Tables\n- Mapping basics\n\nQueries:\n\n- Conditions, operators\n- Joins\n- lazy / eager loading\n- Relation-based queries\n\nSessions & identity map:\n\n- detatching, attaching objects\n- Lifecycle relations\n\nMore Mapping:\n\n- one to one, many to many\n- backreferences\n\nExtensions, etc.:\n\n- DDL\n- Migrate\n- FormAlchemy\n- SqlSoup\n- Elixir\n\nRequirements\n\nLaptop with Python 2.5 or 2.6 and SQLAlchemy 0.6 installed. Code samples\nmay also work with Python 2.4 but will not be tested on that platform.\nSQLAlchemy also supports Jython and cPython 3.x, but this tutorial will\nbe using \"classic\" cPython.\n",
"duration": null,
"id": 252,
"language": "eng",
"quality_notes": "",
"recorded": "2010-02-19",
"slug": "pycon-2010--introduction-to-sqlalchemy",
"speakers": [
"Johnathan Ellis"
],
"summary": "",
"tags": [
"ddl",
"elixer",
"formalchemy",
"migrate",
"orm",
"pycon",
"pycon2010",
"sqlalchemy",
"sqlsoup",
"tutorial"
],
"thumbnail_url": "https://archive.org/services/img/pyvideo_252___introduction-to-sqlalchemy",
"title": "Introduction to SQLAlchemy",
"videos": [
{
"type": "archive.org",
"url": "https://archive.org/details/pyvideo_252___introduction-to-sqlalchemy"
}
]
}