Difference between revisions of "PostgreSQL Adapter"

From CDOT Wiki
Jump to: navigation, search
(Phase 3: Test first design)
(Phase 3: Test first design)
Line 42: Line 42:
  
 
=== Phase 3: Test first design ===
 
=== Phase 3: Test first design ===
 +
How AllTests.java works for NexJ Express database adapters:
 +
: 1- SQLWriterConnectionTest.java
 +
: 2- SQLAdapterTest.java
 +
: 3- SQLSchemaManagerTest.java
 +
 
* 1- [[PostgreSQL_Adapter-nexj/scripts | Create a PostgreSQL database through some scripts]]
 
* 1- [[PostgreSQL_Adapter-nexj/scripts | Create a PostgreSQL database through some scripts]]
  

Revision as of 14:21, 15 December 2010

PostgreSQL Adapter for NexJ

Project Goal

Develope an adapter to enable NexJ Express model to interact with PostgreSQL database

Current Status

Project Phases

Phase 1: Investigation

  • Get requirements from NexJ (Meeting on Friday Nov 5th)
  • Walk-through the code
  • Familiarization with PostgreSQL

Phase 2: Connect to PostgreSQL

Phase 3: Test first design

How AllTests.java works for NexJ Express database adapters:

1- SQLWriterConnectionTest.java
2- SQLAdapterTest.java
3- SQLSchemaManagerTest.java
  • 2- Working inside Schema 'test'
2.a- Initilizaing the SQL Environment
2.b- Working with Database Structure - DDL
2.c- Working with Data in a Table - DML

Phase 4: Test properties specific to PostgreSQL

  • Add test cases that are specific to PostgreSQL database

Phase 5: Optimization

  • After implementation is done, optimizing the modified files.

Resources

  • Intro
Concept of Adapter [1]
FOSSLC PostgreSQL