Software Information |
|
Five Steps to Rapid Development with TierDeveloper 4.0
Follow the steps below to quickly design, generate, and deploy a great portion of your real-life N-Tier application. 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 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. 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. 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 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. For free evaluation download please visit
|
RELATED ARTICLES
Getting Technical Support Help Online Sometimes your PC will start acting strange for no apparent reason or a program which you use regularly will all of a sudden stop working as it should. This can be a frustrating experience especially if you have no idea where to go for help. If this happens to you, don't panic! Here are some simple tips which may turn your frown upside down. What is Fleet Maintenance Management? Fleet Maintenance Management is a critical position in any company that has a number of commercial vehicles. The individual responsible for the management and maintenance of fleet vehicles performs a variety of functions. It is imperative that companies such as delivery drivers or even taxi services know what is going on with their vehicles at all times. Preventative maintenance, order/vendor logging and fuel economy are among a few of the issues that fleet maintenance managers deal with on a daily basis. History of Java The java programming language is becoming more and more popular each day. It is the language without which one cannot even hope to a land a job these days. But has somebody even wondered how this language came about? There are many stories about, many books have been written. Here is my version (not approved by Sun Microsystems). Explore the Internet in a Whole New Way For a long time now Microsoft's Internet Explorer has ruled as 'King of Internet browsers'. Like many of Microsoft's products an initially brutal marketing campaign pushed Internet Explorer into the mainstream's consciousness and from then on it was the logical, default choice. It's free with the operating system, works well, loads any page and is easy to use. Other web browsers soon faded into obscurity and sometimes even died in the shadow of the new king of the pack. Netscape Navigator, the former 'King of the browsers', has now ceased commercial operations and has been taken over by the fan base. Opera is fading into obscurity and Mozilla was facing a similar fate, until recently. Not All Project Management Software is Created Equal The purpose of Project Management Software is to provide an environment in which a group of people can work together on joint projects. Most projects involve the development and implementation of new ideas, and these ideas have to be presented, evaluated, and revised. MicroWorld Releases New Version of MailScan Ver. 4.5 - Antivirus and Content Security Software MicroWorld Technologies, Inc. the leading solutions provider in the area of Anti-virus and Content security, has announced the launch of its new version of MailScan Ver. 4.5, the antivirus and content security software for mail servers. Best Practices In Choosing Network Monitoring Software Blue Cross and Blue Shield of Hawaii (HMSA) found itself with a rapidly expanding network and data center. Our network devices, servers, and software were all growing in complexity and we knew that we would have to leverage technology to gain better control of our IT systems and network. In the past, we confronted the same dilemma that systems administrators in all IT organizations face: weighing the value of simple monitoring solutions versus expensive, feature-rich enterprise solutions that require labor intensive maintenance. We attempted to implement a large-scale system and network monitoring package from a major vendor but found the product was never fully implemented or adopted by the users because of its overbearing complexity. We then quickly implemented an inexpensive, low-end package that provided basic monitoring ? but lacked much of the deeper functionality our organization required, such as performance and application monitoring. Understanding Document Management The term "document management" and "paperless office" is the subject of countless articles and books. Everyone wants to achieve this lofty goal but not everyone understands what the terms really mean. Before you can embark on the journey of achieving total document management, it's important that you have a good basic knowledge of the terms and concepts that go with it. Microsoft Great Plains international implementation ? USA / Mexico ? overview for consultant Microsoft Business Solutions Great Plains was purchased from Great Plains Software and Great Plains Software itself had strong international marketing plans and campaigns. If we look back to 1990th ? we'll see that GPS had Multilanguage support and Great Plains Dynamics / Dynamics C/S+ was localized and translated into multiple languages, including Spanish. Localization means not only the translation, but also adaptation to specific local country tax rules (Sales Tax versus Value Added Tax VAT, GST, specific payroll taxes, etc.). Let's consider typical case when we see international company with headquarters and distribution centers in the US and manufacturing and purchasing in Mexico How to Choose the BEST Charting Software I suggest that you do not spend a lot of money on charting software as most perform very similar functions. Often the price is inflated to capitalize on the mentality that expensive is better. A software package under $1000 will perform all of the tasks required by even the most advanced traders. RSS: Get Notified When Your Favorite Websites Are Updated RSS (Really Simple Syndication) is a way for a site to publish it's updates. RSS readers can read these notifications and display a listing of the updates to you, the user. Blind CC (Bcc): Master Its Use When E-Mailing If you use Microsoft Outlook (or similar applications) for e-mailing, then you are familiar with the fields at the top of a new mail message, right? Of course, in the "To..." field, you enter the name of one or more persons you intend to receive your message. Use the field labeled "Cc..." (for Carbon Copy - remember how they did it back in 1978 BC, "before computers"?) for anyone who needs to view your e-mail but is not the addressee. QuarkXpress Tips: How to Move Content Between Print and Web Layouts Since its release in 1987, QuarkXpress had made an immediate impact to computer enthusiasts. QuarkXPress introduced precision typography, layout and color control to the desktop computer, and delivered those features to designers at a fraction of the cost of proprietary typesetting systems. Quark software programs had been widely utilized to create, design and manage their documents such as books, catalogs, brochures, packaging, newspapers, magazines and online materials. RFID: Strengthen the Position for SAP; United States SAP Inc., a global leader in client/server enterprise application software that for years been the backbone to RFID application has seen a 1,000% spike year-over-year in customers, interested in RFID deployment. Acting as a link to RFID data and business applications SAP expects great things further and expedites toward new horizons. Software: What Suits Me? Almost all new and major brand of PCs come with bundled software packages that can handle both business and personal needs. An Introduction to .NET Framework .Net Framework is a platform or development environment to seamlessly create web-applications that are accessible through client machines from across the globe. These web-applications adopt open standards such as eXtensible Markup Language (XML), HyperText Transfer Protocol (HTTP), and Simple Object Access Protocol (SOAP) to interact with applications that are available in other platforms. Dont Choose Adobe When Working With PDF While Adobe is the most known maker of PDF tools, your business will be much better off, if you select third party tools to work with PDF documents. Windows x: Basic Windows ?Security? Issues Language development computer: Computer-based method for aiding language development seems like an interesting idea, the trick with this would be in getting the computer to take on part of the role of the human in the checking process. Crystal Reports for Microsoft Great Plains ? Overview for Developer Microsoft Great Plains is main accounting / ERP application from Microsoft Business Solutions, targeted to the US market.� It serves the whole of vertical and horizontal market: most of the industries and company sizes.� Crystal Reports on the other hand is the leader in the reporting software industry and Microsoft is willing to use Crystal as main reporting tool for Great Plains, Solomon, Microsoft CRM, .Net platform, etc. If you are developer who is asked: how do we extend Great Plains ReportWriter with somewhat more sophisticated ? read this and you will have the clues on where to look further. Great Plains Tables Structure ? first of all you need to know the tables to link.� Launch Great Plains and go to Tools->Resource Description->Tables.� Find the table in the proper series.� If you are looking for the customers ? it should be RM00101 ? customer master file.� If you need historical Sales Order Processing documents ? they are in SOP30200 ? Sales History Header file, etc. Create ODBC connection to GP Company database.� Use the same technique as when you create standard ODBC connection for GP workstation ? but change default database to targeted company database. Consider SQL Views ? if you don't want complex links in Crystal Report itself or if you need unionization from several companies ? SQL view is the answer. Consider SQL Stored Procedures.� Sometimes you can not pull the data in one view ? you need temporary tables to be created and the final query should be based on these temp tables ? this is when you need stored procedure. Call Crystal Report from GP Screens via VBA/Modifier ? if the user wants to call Crystal report for example - printing Invoices in GP and do it from SOP Entry window ? you can use Modifier and VBA to call Crystal Reports engine. Create SQL Query to probe the data ? we always recommend tuning your query and see that you are getting adequate results ? in any case ? Crystal Report is just a nice tool to show the results of your query. Happy customizing, querying and designing! if you want us to do the job - give us a call 1-866-528-0577! [email protected] Design a Web Album Using Adobe Photoshop- Part 2 So let's begin crunching down these 300 images using Adobe Photoshop from start to finish. When I say 'crunching', to some 300 images may seem like allot, but it's not. I have done jobs for clients that have 100,000 plus images. When you have that many images to produce there are other programs I use that are designed for this. We'll cover that another day. |
home | site map |
© 2005 |