ta: Transito Abierto: convenience library when using Takusen and Oracle.

[ bsd3, database, library ] [ Propose Tags ]

The purpose of this library is to add convenience in database accesses when using Takusen and Oracle, by generating boilerplate code. It's not a substitute to Takusen.

Transito Abierto is implemented in the library (Database.TA.TAB) and this also provides functionality used by the generated code.

TA will generate the declarations of:

  1. The datatype declaration for the result of a query,

  2. The DBM action that run the query and accumulates the result,

  3. Optionally, a meta-variable whose value is the former two declarations.

This initial version has the following benefits:

  • TA contains code to test if your program will fail before it runs, based on comparing the original generated code versus a fresh version of generated code,

  • The user can code queries with more than eight columns length,

  • The code generator process is aware if the column can be null, and generate the appropiate code.

Some TA drawbacks at this point are:

  • The user only can specify queries, that is, select statements.

  • The select specification is awkward.

  • The select specification is a list. You can specify one or many under a sole name.

  • You can bind parameters or not (by means of [[]]).

  • Functions names and constructors are named in spanish.


[Skip to Readme]

Modules

  • Database
    • TA
      • Core
        • Database.TA.Core.GenSelect
        • Database.TA.Core.Infraestructura
        • Database.TA.Core.MapaBase
        • Database.TA.Core.Nucleo
        • Database.TA.Core.Opciones
        • Database.TA.Core.RIS
      • Helper
        • Database.TA.Helper.LiftQ
        • Database.TA.Helper.TH
        • Database.TA.Helper.Text
      • Database.TA.TAB

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1
Dependencies base (>=4 && <5), containers (>=0.3), ghc-prim, mtl (>=1.1), Takusen (>=0.8.5), template-haskell (>=2.4 && <2.5), time (>=1.1) [details]
License BSD-3-Clause
Copyright Leonel Fonseca, 2010
Author Leonel Fonseca
Maintainer Leonel Fonseca <leonelfl@gmail.com>
Category Database
Home page not available
Uploaded by LeonelFonseca at 2010-09-17T15:29:07Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1202 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-28 [all 7 reports]

Readme for ta-0.1

[back to package description]
  This is Tránsito Abierto Library Version 0.1. (September 2010).

  To install use:

      cabal install ta
     
  In case you want to play a bit with the examples, take note of this:

      The examples use a database table that can be created using the
      script make_twoColumns.sql.

      RCSdef.lhs contains definitions used by Ex01.lhs and Ex02.lhs.

      You can make executables:

         ghc --make Ex01
         ghc --make Ex02
 
      You download a document with examples at:

         http://proftica.googlegroups.com/web/Examples.pdf

      Or you can use lhs2TeX on Database/TA/Examples/Examples.lhs.
  
  If you want to work in the library, you may want a structured way to
  browse the source files via Haddock: 

         runghc setup haddock --hyperlink-source
         runghc setup copy