about us
 
Essential SQLAlchemy | Rick Copeland | A powerful survey for Python developers
 
 


Suche books:   



 Essential SQLAlchemy  

Essential SQLAlchemy
Rick Copeland

O'Reilly Media, Inc., 2008 - 230 pages

average customer review:based on 2 reviews
view larger image
 for more information click here

 



Essential SQLAlchemy introduces a high-level open-source code library that makes it easier for Python programmers to access relational databases such as Oracle, DB2, MySQL, PostgreSQL, and SQLite. SQLAlchemy has become increasingly popular since its release, but it still lacks good offline documentation. This practical book fills the gap, and because a developer wrote it, you get an objective look at SQLAlchemy's tools rather than an advocate's description of all the "cool" features. SQLAlchemy includes both a database server-independent SQL expression language and an object-relational mapper (ORM) that lets you map "plain old Python objects" (POPOs) to database tables without substantially changing your existing Python code. Essential SQLAlchemy demonstrates how to use the library to create a simple database application, walks you through simple queries, and explains how to use SQLAlchemy to connect to multiple databases simultaneously with the same Metadata. You also learn how to: Create custom types to be used in your schema, and when it's useful to use custom rather than built-in types Run queries, updates, and deletes with SQLAlchemy's SQL expression language Build an object mapper with SQLAlchemy, and understand the differences between this and active record patterns used in other ORMs Create objects, save them to a session, and flush them to the database Use SQLAlchemy to model object oriented inheritance Provide a declarative, active record pattern for use with SQLAlchemy using the Elixir extension Use the SQLSoup extension to provide an automatic metadata and object model based on database reflection

In addition, you'll learn how and when to use other extensions toSQLAlchemy, including AssociationProxy, OrderingList, and more. Essential SQLAlchemy is the much-needed guide for every Python developer using this code library. Instead of a feature-by-feature documentation, this book takes an "essentials" approach that gives you exactly what you need to become productive with SQLAlchemy right away.


 for more information click here


Essential SQLAlchemy is Magic

Essential SQLAlchemy by Rick Copeland is a great book describing how to use SQLAlchemy to connect Python programs to databases. In fact, at the moment (mid-summer 2008), it is the book, since there are no other books on the subject, yet. Athough I am not (yet) a SQLAlchemy user, this book seems to cover all of the core topics in SQLAlchemy. The text includes many straightforward examples of how to use various facilities in SQLAlchemy and how to map various database programming problems into Python code via SQLAlchemy. Copeland also provides a whirlwind tour of some extensions to SQLAlchemy.
To be honest, the first chapter (the proverbial introduction) almost turned me off. The author starts out slowly enough, but then he starts touching on a huge number details, which were glazing my eyes over. However, the second chapter (getting started) started back at ground zero and stepped through everything in a nice clear fashion, and the rest of the book continued in that vein. He covers all the topics you would expect in a database programming book: queries, updates, joins, the built-in types, and how to hook in to provide support for your own types.
Something I didn't realize about SQLAlchemy coming into this is that SQLAlchemy is both an ORM (what I expected) as well as a high-level, database-independent API. Which is to say, you can just access the database as tables, columns and rows rather than as classes, attributes, and object instances. Although I'd personally prefer to use the ORM, I can imagine cases where it might not be the right tool for the job, and it's good to have a choice.
I was also surprised to see the ORM supports two styles of object-relational access: the data mapper pattern (which I had seen in Django and Hibernate) and the active record (used in Ruby). The author does a good job of explaining both of these and how to use them. He even devotes a whole chapter to Exlir, which is an extension that implements the active record pattern.
In conclusion, Essential SQLAlchemy provides a thorough presentation of the SQLAlchemy tool for interfacing Python code to SQL databases. The author covers a number of different methods in which SQLAlchemy can be used to access databases from Python, and he provides plenty of details of the various APIs available to the programmer.


 for more information click here


A powerful survey for Python developers

Advanced programming collections will relish Rick Copeland's ESSENTIAL SQLALCHEMY, a powerful survey for Python developers who need to access relational databases. From customizing routines and creating objects to building a mapper and providing an active record pattern, this survey of SQLAlchemy will delight patrons of advanced developer guides.



products you might be interested in






essential


The Flavor Bible: The Essential Guide to Culinary Creativity, Based ...
Common Sense, The Rights of Man and Other Essential Writings of ...
Essential Words for the GRE (Barron's Essential Words)
Influence: The Psychology of Persuasion (Collins Business Essentials)
The Effective Executive: The Definitive Guide to Getting the Right ...



search for books
essential sqlalchemy, essential, sqlalchemy



Google      geepe.com    web
books
apparel
baby
beauty
books
camera photo
cell phones
classical music
computers
dvd
electronics
gourmet food
health personal care
kitchen
magazines
musical instruments
office products
outdoor living
computer video games
popular music
pet-supplies
software
sporting goods
tools hardware
toys-games
vhs
watches jewelry







randomly chosen


gourmet food: Neuhaus Traditional Ballotin: Fresh Cream 350 G (12.3 Oz), 23 Pcs, 21 ...