A Python Driver for ASE

    By: Paul Vero on Sep 04, 2012

    Last month I discussed how the SDK 15.7 released some modules for scripting languages (Perl, Python and PHP). This article is the second installment describing the use of these modules, focusing on Python. The same format will be followed as last month: Describing the language, how it fits into Open Client, the driver components, building Python and running sample applications. I really like the Python language. I find it simple to use and learning its syntax and nuances came to me easier than the other scripting languages. Based on the www.python.org website: “Python is a programming language that lets you work more quickly and integrate your systems more effectively. You can learn to use Python and see almost immediate gains in productivity and lower maintenance costs.” Check the website and read on and you’ll discover it’s a rich language that can be learned quickly.

    For our purposes, we will discuss mainly the Python module distributed in the SDK 15.7. It uses a relatively simple database API that provides a foundation for vendors to utilize when writing a driver to access their database. The nice thing is the simple model Python uses here. It’s a modular approach dealing with connection and cursor objects (for the commands executed and processed). Since it is an open specification, modules can be implemented for customizations and special functionality. In fact, the ASE module is an extension module to the Python DB-API standard.

    So, with this introduction we shall learn and explore the ASE Database Driver for Python.

    Login to read the article. Not a member? Create a free account!

    Perl Driver Article

    PHP Driver Article

    Released: September 4, 2012, 8:00 am | Updated: February 1, 2014, 11:44 am
    Keywords: ASE Developer Article | Technical Journal | ASE 15.7 | ASE Development | Paul Vero | python | SDK 15.7




    Copyright © 2014 ISUG-TECH. All Rights Reserved
    All material, files, logos and trademarks within this site are copyright their respective organizations

    Terms of Service - Privacy Policy - Contact the Help Desk