190 likes | 341 Views
Bigger Toolbox part 2. Michael F. King PVX Plus Technologies. Topics. Version control Integrated Toolkit (*it reborn) Debugger tools Windows INITTAB On Wrapup Object Local program cache Command line utilities Visual Dictionary Web News delivery. Development.
E N D
Bigger Toolboxpart 2 Michael F. King PVX Plus Technologies
Topics • Version control • Integrated Toolkit (*it reborn) • Debugger tools • Windows INITTAB • On Wrapup Object • Local program cache • Command line utilities • Visual Dictionary • Web News delivery
Development • Built in version control • System has concept of Major/Minor and Interim versions • Version number format: 1.234.0001 • Major/Minor with optional 4 digit interim number • SAVE automatically maintains ‘Interim’ versions • ‘+R’ parameter controls number of interim versions • VER command shows/edits versions • RECALL to recall versions to prior states • *IT provides built in support including version compares
Development • An enhanced version of *IT that includes • Undo capability (CTRL-Z and Menu/Tool bars) • More programs (9 Pre-V10, 10 or more for V10) • Error reporting on bottom line • Intelligent Line break • SVN integration • “Intellisense” for functions Version 10
Development • PxPlus IT Enhancements • Enhanced UI layout • Built in debug facility • Program version tracking • Program Synopsis explorer • Workspace manager • Library interfaces for Nomads, program libraries, and macros
Development • Program Synopsis assists in development • Direct access to • Functions • Statement labels • Variables • Methods • Highlight capabilities • Intelligent rename • Only change name ofvariable and/or label • Real time error display • Statement errors shown instatus bar as you type
Development • Library interfaces built into IT • Nomads library • Direct access to utilities • Ability to concurrently edit multiple panels • Program library • Ability to extract and updateprogram library • Drag and drop from WindowsExplorer to load library • Macro library • Dynamic macro generation, code insertion or customprogram execution.
Development • Program Version Control • Automatic versioning integrated with SAVE command • Access to versions • Extract/Recall version • Compare versions • Command line tools • Simple release preparation • Works without an external source control server • Ideal for tracking changes at customer’s site.
Debugging • Built in debug facility • Allows debugging of background processes • Source code tracking • Breakpoint, watch values, call stack, file information and much more • Process display facility • Allows easy connection and control of external PxPlus processes
Development • A true IDE experience with Enhanced UI • Multi-part screen layout • Sizer controls allow userto adjust layout • Detachable windows • Multi-monitor support • Multi-tasking interface • Windows can be left active providing ongoing access tolibraries and other tools.
Text mode Debugger Accessed by entering DBG from command mode Simple text mode interface suitable for text and/or graphical applications Basic commands Connect procidList [from [to]] Disconnect Kill Tasks Print xxxx Halt Files Go Stack Execute xxxxWhere Quit Allows user to control remote tasks Provides access to current state including variables and program code
Windows INITTAB service Replacement for Unix/Linux INITTAB functionality Process launching based on control file (*plus/winutl/inittab) Sample Inittab file contents:test1 oncepxplus **test2 respawnpxplus *ftest3 once notepad c:\pvxsrc\temp.txt Automatically restarts failed tasks Log file tracks all process starts and stops on inittab.log A single service on Windows will run multiple processes Can be configured by running “*plus/winutl/service” Works on Unix/Linux if desired
Wrap-up Interface Syntax:X = NEW(“*plus/obj/wrapup”, “logic_to_run”, “param” FOR…) Allows assignment of code to various events Closure of files Closure of a window or deletion of a control Deletion of an object or Exiting a program Defines program/label statement to execute on wrapup User supplied string parameter can be provided If no program specified, parameter is command to EXECUTE
System PxPlus PxPlus PxPlus Network Prog1 Anti-Virus Performance • External Program Cache Manager Without the Cache Manager Prog1 Prog1 Prog2 Prog2 Prog2
System PxPlus PxPlus PxPlus Pxpcache Network Prog1 Anti-Virus Performance • External Program Cache Manager With the Cache Manager Prog1 Prog2 Prog2
Performance • External Program Cache Manager • Designed for use in production systems • Loads & maintains copy of programs in common memory • Cache external to process memory • Eliminates disk and network traffic • Avoids repeated virus scans on program loads • Reduces overall memory requirements • All processes on the server share single copy of program • Maintains missing file list • Speeds up processing of PREFIX rules Tutorial available on the web
Command Line Utilities Additional console commands include CP - Copy files KILL - Provides a simple kill command given process id LS – Directory listing (optional mask/pathname) PASSWORD - Provides a hidden prompt to enter password PWD - Print current directory SVN – Interface to SVN (Source control) TASKS – show active tasks (and files) USERS – show processes and terminate if allowed WDW xxxxx - Resize command mode window Parameter can be new window size (eg. 80x25) or Auto AUTO will track container window size No parameter sets size to match container WINDX - command to launch WindX Many based on Linux/Unix commands
Visual Dictionary • Easily create data dictionary for files • Simple view and click interface • Data presented in spreadsheet style • User defines column contents • Update to Data Dictionary files provided (ProvideX.ddf/dde)
End of Presentation Thank you for attending Draw and Dinner