473,756 Members | 7,019 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

5 steps to Rapid development

Five Steps to Rapid Development with TierDeveloper 3.0

Unlock the power of rapid development when you use
TierDeveloper from AlachiSoft in your N-Tier application
development. Follow the steps below to quickly design,
generate, and deploy a great portion of your real-life N-
Tier application.

For free evaluation download please visit
http://www.alachisoft.com/download.htm

STEP 1: HAVE YOUR DATABASE READY

1. Create your database in Microsoft SQL Server, Oracle,
or DB2. You can design and create your own database. Or,
you can use the sample database provided with
TierDeveloper. Or, you can use one of the
databases/schemas already provided with your database.
They are:

a.Microsoft SQL Server: Northwind database. Just create a
new TierDeveloper project against this database.

b.Oracle: DEMO schema with EMP, DEPT, BONUS, SALGRADE, and
other tables. Just create a new TierDeveloper project
against this schema.

c.DB2: SAMPLE schema provided with DB2. Just create a new
TierDeveloper project against this schema.

2. Populate database with data. This would ensure that you
have a fully working database ready to be used by a web
application.

STEP 2: KNOW YOUR APPLICATION'S DATABASE INTERACTION

1. Identify table-columns your app will access:
Before you do anything, you must know which tables and
which columns in these tables is your application going to
access.

2. Identify transactional operations: Identify where
in your application you need to do insert, update,
delete, or single-row select operations.

3. Identify queries: Most applications need to
retrieve collection of rows from one or more tables in the
database. Identify all places where you need to issue
queries. These could be single-table queries or could
involve complex joins or nested queries.
4. Identify stored procedures to call: If there are
any stored procedures that already exist in the database
which you need to call, identify them here. These stored
procedures should be those that contains complex business
rules or other data manipulation logic. Do not manually
create stored procedures in the database for transactional
operations or for queries that are otherwise handled by
TierDeveloper. TierDeveloper can generate stored procedure
DDL for you in that situation.

5. Identify bulk updates or deletes: Most
applications do not require bulk updates or deletes but
some do. If you have any, identify them.

The best way to understand your applications database
interaction needs is to understand its behavior from the
user's perspective and focus on all the data that needs to
be displayed to the user or changed by the user.

STEP 3: CREATE TIERDEVELOPER PROJECT

1. Connect TierDeveloper to your database:
TierDeveloper uses OLEDB to connect to your database and
reads its schema so it can let you define the mappings of
middle-tier objects with tables in the database (based on
what you have determined about your application's
interaction with your database). Please note that even if
you're going to generate Java/J2EE application that will
use JDBC to connect to the database, TierDeveloper (the
product) will use OLEDB to connect to your database.

2. Define data object mappings to your tables:
Wherever you had identified table-columns that your
application needs, define data objects mapped to these
tables with the appropriate columns selected as data
object attributes. You can map a data object to single
table or multiple tables. You'll need multi-table data
objects for situations where you're trying to issue a
multi-table join query that returns data from multiple
tables.

3. Specify transactional methods in data objects:
Based on what you identified as your application's
transactional needs earlier, you should now define those
insert, update, delete, and single-row select as methods
of your data objects. TierDeveloper lets you do that with
point-and-click.

4. Define queries as data object methods: For each
query that you identified earlier, define a query method
in the appropriate data objects. Remember, a query returns
a resultset which get translated into a collection of data
objects by TierDeveloper generated code.

5. Define stored procedure calls as data object
methods: Wherever you needed to call stored procedures,
you need to define data object methods for them. Remember,
these stored procedures contain sophisticated business
rules. Any stored procedures for transactional operations
or queries can be generated by TierDeveloper so you do not
have to manually write them in the database.

6. Define bulk update/delete operations as data
object methods: Wherever you need to do a bulk update or
bulk delete, you'll need to define data object methods for
them.

STEP 4: GENERATE AND RUN 50% OF YOUR APPLICATION INSTANTLY

1. Generate data objects: After you have defined all
your data objects, you are ready to generate code for
them. You can generate data object code in the following
format:

a. .NET components

b. Enterprise Java Beans (for BEA WebLogic, IBM
WebSphere, Oracle 9iAS, JBoss, and iPlanet)

c. Java Objects (for any JDK based environment
including JSP/Servlet engines)

2. Build and deploy data objects generated code: If
you machine has the appropriate build environment for your
platform, TierDeveloper asks you whether you want to build
the generated data objects code. If you say "yes", it
creates the following. It also then deploys them to your
appropriate environment.

a. .NET assemblies for .NET components. They are
deployed through component services.

b. JAR file for Enterprise Java Beans. They are
deployed to your J2EE app server

c. JAR file for Java Objects. They are deployed to
your J2EE app server or JSP/Servlet engine
3. Generate web application: After you have generated
and build the data objects, you can generate a fully
working web application. The purpose of this web
application is to let you test all the functions of data
objects. This also serves as a good sample/example code
for you to copy into your own web application development.
TierDeveloper generates the following types of web
applications:

a. ASP.NET pages in C# or VB.NET and with or without
XML/XSLT.

b. JSP pages to call Enterprise Java Beans.

c. JSP pages to call Java Objects.

4. Build and deploy web application: TierDeveloper
can also build the web pages for you. It does the
following for each platform:

a. Build a .NET assembly for ASP.NET pages. They are
deployed to IIS

b. Build a WAR file for JSP pages. They are deployed
to J2EE app server or JSP/Servlet engine

5. Run deployed web app with data objects: Now that
you have successfully deployed the data objects and the
web app, you can run the web app. The really nice thing is
that all this generated code is now working against your
own database and in your own environment. You can see all
the behavior of the data objects through this web app and
also use it as a guide in your own web development. Try
this and you'll be convinced about TierDeveloper being a
true Rapid Development tool.
STEP 5: DEVELOP REMAINING 50% OF YOUR APPLICATION

After running and verifying that all the generated code
contains your desired functionality and runs correctly
against your database, you are now ready to develop the
rest of the application. The areas you are likely to need
to develop in your application are:

1. Presentation Layer (Web Pages): Use TierDeveloper
generated web app as a sample/example for quickly
developing your own. You can even copy/paste a lot of the
code from the generated web app into yours, thereby
speeding up your development work even further.

2. Business Objects: Although TierDeveloper generated
code contains all your data manipulation logic and some of
your business rules as well (in the form of data
validation or stored procedure calls), you will most
likely have to develop additional business objects. If
you're not an expert in your target platform (.NET, J2EE,
or J2SE), you can learn from the generated data objects as
your business objects are likely going to be in the same
environment and would follow similar design approach.

Jul 21 '05 #1
0 2048

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2241
by: carloschoenberg | last post by:
I am looking for the easiest web interface to a database. By easiest, I mean most rapid development. Because the requirements are so simple and standard, I'm hoping that something can take care of the grunt work. Easy maintenance, possibly by non-programmers (or at least "junior" programmers) would also be nice. I'm open to Perl, PHP, Java in that order (best solution wins, equal solutions go with the preferred language). I'm also open...
2
3309
by: Keith | last post by:
I think we have a corrupt IIS metabase on our web cluster. The controller is replicating the problem to the members. What steps can we take to confirm our IIS metabase is intact? I would prefer not to do ADSI calls. Isn't there a command to interate thru the metabase? Many thanks, Keith
1
1646
by: Vaughn | last post by:
What steps would I need to take to build a complete application from scratch? I'll be working on a payroll/HR application but, instead of just starting to program like I normally would do, I would like to be to do it correctly. What steps (in terms of designing, drawing, flowcharts, etc...) would I need to take in order to make it as comfortable as possible? So how should I go about designing this application? Thanks, VM
1
3630
by: Curtis Justus | last post by:
Hi, I'm involved in the early part of a big-time project with a number of developers. In the past, we have used Visio and UML to model our classes and then used the code generator to spit out the code. There were mixed feelings about using it. I guess my question is how many people use Visio to generate the simple object classes? Is this something you would recommend, or is there something different you would suggest? If worse...
4
1107
by: Tina | last post by:
What happens if an asp.net user sends rapid postbacks before they can be processed by the server. for instance, the user might hit a button that triggers a long database update but then hits that button many more times in quick succession. Or triggers a selectionchanged event, repeatedly, on a dropdown with postback enabled. Can the processing be interrupted or will they each be handled asynchronously? thanks, T
0
286
by: M.sajjad | last post by:
Five Steps to Rapid Development with TierDeveloper 3.0 Unlock the power of rapid development when you use TierDeveloper from AlachiSoft in your N-Tier application development. Follow the steps below to quickly design, generate, and deploy a great portion of your real-life N- Tier application. For free evaluation download please visit http://www.alachisoft.com/download.htm
12
5228
by: Jim Michaels | last post by:
I need to generate 2 random numbers in rapid sequence from either PHP or mysql. I have not been able to do either. I get the same number back several times from PHP's mt_rand() and from mysql's RAND(). any ideas? I suppose I could use the current rancom number as the seed for the next random number. but would that really work?
3
1469
by: John | last post by:
Hi I develop database winform apps which consist of several one-many forms. This is a pretty repetitive task and I wonder if there are tools that can speed up this generation of one-many forms that anyone has used successfully? Do tools like Deklarit or LLBGen or some such have any value? Many Thanks Regards
0
10040
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9873
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9713
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8713
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7248
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5142
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3806
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3359
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.