1.4.6 Build 488

visual editor for ORM frameworks

Pricing information Free download

ORM Designer External Tools

This article is about new ORM Designer feature 'External Tools'. This ability allows you to run external programs directly from ORM Designer application with specific arguments.

External tools allow you to configure list of executables which can be run directly from ORM Designer enviroment. This can help you to automate common tasks that are otherwise performed manually from various places in the system. This feature is available in ORM Designer version 1.2.2 and above.

As external tool can be used any executable, batch file, http/ftp web site or other service which is by default registered in your system. Each external tool is defined by its description, executable file or URI, the arguments which will be passed to stared file and working directory in which will be set to file or service.

Supported Variables

Currently ORM Designer supports variables which can be used in Command, Initial Dir or Arguments. These variables are translated to their values before external tool is launched.

Following variables are now supported :

Variable Name Description
PROJECT_NAME Return current project name
PROJECT_DIRECTORY Return directory where main project.ormdesigner file is located
PROJECT_MAIN_FILE Return file name with full path to project.ormdesigner file
ORM_NAME Return name of current project ORM framework
FRAMEWORK_NAME Return name of current project application framework

Usage Examples

Open command line in project directory

Title :      Command Line
Command:     cmd.exe
Arguments:
Initial Dir: %PROJECT_DIRECTORY%

Open concrete web site

Title :      Learn more about ORM Designer
Command:     http://www.orm-designer.com/web/how-to-examples
Arguments:
Initial Dir:

Open web site depending on project

Title :      Open Trac of current project
Command:     http://trac:8888/%PROJECT_NAME%
Arguments:
Initial Dir:

Run Symfony Doctrine tasks to generate model for current project

Title :      Build Symfony Doctrine model
Command:     php symfony doctrine:build --all
Arguments:
Initial Dir: %PROJECT_DIRECTORY%

Author: Ludek Vodicka

ORM Designer on Twitter

Feed from our blog

Missing field-type icons in ORM Designer

Propel ORM Behaviors support!

Propel ORM validators support!

How to change export format (schema.yml / schema.xml)

How to import model from MySql Workbench

New visual symbols for NULL/NOT NULL column types

Execute another application from ORM Designer import/export script

Forum topics

ORM Designer forum: http://forum.orm-designer.com/

About ORM Designer

ORM Designer is a tool for modelling entity relationship diagrams (ERD). The biggest advantage is full support of any ORM framework which has its definitions stored in a markup language or other structured file.

Currently supported ORMs are PHP Doctrine, PHP Propel and CakePHP frameworks, but more will be added in close future.

Inventic s.r.o. - PayPal verified

Real Time Web Analytics

Clicky

Legal notice: The name CakePHP and the cake icon are trademarks of the Cake Software Foundation Inc., and used with permission. "symfony" is a trademark of Fabien Potencier.

© 2009-2012 Inventic s.r.o. all rights reserved