23
Overview What is Database Analysis Benefits of Database Analysis How to do a DB Code Analysis in FileMaker Use of BaseElements tool in FileMaker Database Analysis

FileMaker BaseElements Tool

Embed Size (px)

DESCRIPTION

BaseElements is a tool to assist FileMaker Pro developers, and make development easier and efficient. It is a FileMaker Developer Tool for analyzing FileMaker Pro solutions.

Citation preview

Page 1: FileMaker BaseElements Tool

Overview

➢What is Database Analysis

➢Benefits of Database Analysis

➢How to do a DB Code Analysis in FileMaker

➢Use of BaseElements tool in FileMaker Database Analysis

Page 2: FileMaker BaseElements Tool

What is Database Analysis

➢Data Analysis

➢Database Code Analysis

Page 3: FileMaker BaseElements Tool

Benefits of Database Analysis

● You can eliminate potential design and naming problems and avoid performance pitfalls by analyzing your database code.● The concepts are very similar to performing static analysis to detect and correct defects in managed code. ● You configure which analysis rules you want to apply to your database code, analyze the code, and then correct or ignore the issues that you identify. ● Before you can analyze your database code, you must first import your database schema into a database project.

Page 4: FileMaker BaseElements Tool

Benefits of Database Analysis

By performing static analysis, you can identify problems that fall into the following categories:

➢Design Issues

➢Naming Issues

➢Performance Issues

➢Unused database objects that needs to be cleaned up

Page 5: FileMaker BaseElements Tool

Database Analysis Tools

There are several tools available for FileMaker Database Analysis. Some of them are:

● BaseElements● Inspector Pro● MetadataMagic● Brushfire

We will discuss about BaseElements tool in detail.

Page 6: FileMaker BaseElements Tool

What is BaseElements?

● BaseElements is a tool to assist FileMaker Pro developers, and make development easier and efficient.

● It is a FileMaker Developer Tool for analyzing FileMaker Pro solutions.

● It is a database for databases. It imports the Database Design Report (DDR) generated from FileMaker Pro to give you a complete cross-reference of every element in your solution. From fields to script steps, layouts to custom functions. Everything is included, everything is cross-referenced.

Page 7: FileMaker BaseElements Tool

It's a database for your database.● Have you ever wanted to see list of all of the layouts in your entire solution?

● Want to find all the scripts that do ImportRecords[] script steps?

● Want to find every button on a layout that's calling a particular script, and list all of the layouts?

● Want to know what are the plug-ins used in the application?

● Want to know the places where a Global Variable is used in your solution?

Page 8: FileMaker BaseElements Tool

Know Your Solution● If you've ever taken over someone else's solution, and don't known where to start, or work on a system that is too big to keep in your head all at once, BaseElements is the answer. It knows everything about your solution without you having to know.

● BaseElements gives you the ability to see all of the elements in your database solution, and will tell you what is being used and where and what is broken or not being used at all.

● BaseElements can make your development easier by identifying problems before they cause issues by alerting you to broken elements in your solution.

Page 9: FileMaker BaseElements Tool

Know Your Solution

● It can speed up your solution by allowing you to analyze and remove elements that are no longer being used, hence reduce your database file size, minimize your effort on maintaining sections in the solution that don't need to be maintained.

● Plus you can use BaseElements to check where your solution is being slow and why by tracing fields and scripts through their dependencies and optimizing them for the best outcomes.

Page 10: FileMaker BaseElements Tool

Preempt the bug reports.

● BaseElements lists all of the items in your system that have errors or that are unreferenced. So you can know in advance when you introduce that next new version, that it isn't full of bugs, and that it's not overloaded with wasted space.

● BaseElements has 3 Important Abbreviations.● Unreferenced (U)● Error Count● Warning Count

ErrorWarning

Unreferenced

Page 11: FileMaker BaseElements Tool

Preempt the bug reports.

● Unreferenced Check BoxIt has has 3 states:● Unchecked - The element is in use by other elements in the

solution.● Checked - The element is completely unreferenced.● Dash - The item is unreferenced, but is either showing in a menu

( for scripts or layouts ) or your solution is using Indirection and may be referring to this element by name.

Page 12: FileMaker BaseElements Tool

Preempt the bug reports.

● Error CountThe Error Count field is a number, and when zero the field is empty. You can always tell when you're looking at the error field as it's highlighted in red and bold.

● Warning CountThe Warning Count field operates in much the same way as Errors, but refers to the no. of warnings on this object. If there is any warning then this field value is highlighted in orange.

Page 13: FileMaker BaseElements Tool

BaseElements Analysis Reports

● BaseElements is designed to work within the data structure of your actual data, so the reports available are deliberately setup for functions you can't get directly from the data. There are four reports as of version 3.x and 4.0:

● Comparison Report● Consolidation Report● Error and Unreferenced Report● FileMaker Go Compatibility Report

Page 14: FileMaker BaseElements Tool

Generate DDR report for BaseElement

Select DDR

Save it in a folder Save DDR as XML format

Page 15: FileMaker BaseElements Tool

How do I import the DDR?

Page 16: FileMaker BaseElements Tool

After Import Your DDR

Page 17: FileMaker BaseElements Tool

Individual File Detail Report

Page 18: FileMaker BaseElements Tool

Script Details

Page 19: FileMaker BaseElements Tool

● It's a standard set of FileMaker Pro databases, that imports the Database Design Report. Nothing is locked down, you have everything except development access to the files. So you can do as many searches and put up as many new windows as you want.

● In short, there is nothing to stop you getting the most out of your own solutions.

So what do you get?

Page 20: FileMaker BaseElements Tool

● It is the most accurate, feature packed and simple to use system around.

● It's ability to link every element with each other.● Providing a Smart Find feature to limit your search

found set within the last viewed Analysis Report.● It allows you to have many different solutions or many

different versions of the one solution or even both, all within the one copy of BE and to only be working on a single Analysis at a time.

Why BaseElements?

Page 21: FileMaker BaseElements Tool

● It's super fast at importing your solution and searching within your recent Analysis.

● It allows you to analyze and know about the Plug-ins, variables used in the solution.

● And because it doesn't dictate how you should use the system, it's designed to give maximum productivity to it's target audience : FileMaker Pro Developers.

Why BaseElements?

Page 22: FileMaker BaseElements Tool

● Developers may try BaseElements completely unlocked for 30 days using the registration code available on the website.

● Goya Pty Ltd: http://www.goya.com.au● BaseElements: http://www.goya.com.au/baseelements● Download BaseElements:

http://www.goya.com.au/download● Purchase BaseElements:

http://www.goya.com.au/purchase

BaseElements download and website?

Page 23: FileMaker BaseElements Tool

THANK YOU