|
Lost in the shuffle of setting up a database server is the
question of getting data in and out of it. Usually, the need for
a database comes from an application, but how do developer's get
to that database?
How you get to the database largely depends upon your needs
and toolset. At the most basic is the C API found in libpq, as
provided by PostgreSQL. From there, the choices are many. For
Java applications, the distribution has a JDBC driver. There are
several commercial and open source ODBC options as well. But
what about a toolkit for the Cocoa developer? There are a couple
of options there as well.
For the Objective-C developer, we have our own answer. PGSQLKit
is a framework for the Cocoa development environment. This is an
Objective-C framework written with the intent of being Cocoa like,
but also readily approachable by the developer familiar with JDBC,
.Net or Microsoft's ADO API's. This framework also adheres to
our 'GenDB' specification which allows a Cocoa developer to drop
in replace a PGSQLKit framework with ODBCKit or in the future our
TDSKit and others as we expand the platform.
Licensing
One of the questions that is most often asked is licensing. The short version is
that while the PGSQLKit is not Public Domain, it is as close as a license can get.
It is a BSD style license, that grants you to redistribute it provided you keep the
original copyright on with it. It further states that our name may not be used to
endorse any product built using it. Other than that, have at it. The intent has
always been to provide a toolkit to make it easier to build PostgreSQL based applications
on the Mac. This is not a multi-page legal contract. It is short and to the point.
So short and to the point that we have included it, in it's entirety. below.
Copyright (c) 2005-2011, Druware Software Designs
All rights reserved.
Redistribution and use in binary forms, with or without modification, are
permitted provided that the following conditions are met:
1. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
2. Neither the name of the Druware Software Designs nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
|