Nitrohammer: Introduction

Nitrohammer

What is Nitrohammer?

Nitrohammer is a command line tool and a collection of Java classes which facillate the development of the full stack development of Software Applications.



Nitrohammer is Open Source

Nitrohammer is under the MIT license.


Nitro-Hammer (Command Line Arguments)

Nitrohammer is a command line tool which has the following main arguments.


Database Model

The Database Model is defined by a collection of XML tags which define the database connections, the database, the database tables, and all objects which make up the database. The database model can be entered manually by text editing or by the Nitrogen tool (schematool) which will read an existing database and generate the XML model.

The following is a basic model of a database table for "users" data.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
								<?xml version='1.0' encoding='UTF-8'?>
<database xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.vipersoftwareservices.com/schemas/database.xsd"
  name='test'  package-name="com.viper.unit.model">
  <table name='User' table-type='table' is-rest-service="true" is-schema-updatable="true">
    <column name='username' java-type='String' size='32' required='true' primary-key='true' id-method="assigned" logical-type="email:email.txt" />
    <column name='password' java-type='String' size='32' required='false' logical-type="password:" />
    <column name='name' java-type='String' size='255' required='false' logical-type="name:firstnames.txt" />
    <column name='rolw' java-type='String' size='32' required='false' />
    <column name='job' java-type='String' size='32' required='false' />
    <column name='school' java-type='String' size='255' required='false' />
    <column name='email' java-type='String' size='255' required='false' logical-type="email:email.txt" />
    <column name='lastProblem' java-type='String' size='255' required='false' logical-type="name:nouns.csv" />
    <column name='grade' java-type='int' required='true'  logical-type="int:0,12" />
    <column name='friends' java-type='java.util.List' generic-type="String" required='true' logical-type="email:email.txt" />
  </table>
</database>
Databases Database Table Column Privileges Privilege AccessPrivilege User Rows Row Cell Param ColumnParam LimitParam Procedure ForeignKey ForeignKeyReference Index Trigger TransactionIsolationLevels ResultSetType EnumList EnumItem DatabaseConnections DatabaseConnection SSHConnection Definition

Sample Code

Make it as simple as possible, but not simpler.
Albert Einstein