Click Project button and select one of the option from the drop down list to create new project, open or save an existing one, define project settings.
To create new project, click Project button and select New Project. When you create a new project you have two options:
•Create a new project from scratch by selecting Blank application.
•Create a project from the template.
For more information about templates that are shipped with PHPRunner, see What are templates.
With PHPRunner, you can save all your settings in a single project file and do not have to go through individual files if you simply need to change a single label or field format.
Each project in PHPRunner saves to its own directory, which contains the following subdirectories:
•visual - Contains modified visual templates.
•tmp - Temporary storage of visual templates and other files. tmp\backup directory stores backup copies of your project. Project backup name (i.e. Project4.2011-11-09 10_08_00.w.zip) contains date and time of when backup was created.
•output - Directory with output files. You can point output directory to another folder on Output directory screen.
•source - contains additional files to be included in the build process.
•styles - contains project styles and color schemes
The Default directory for a new project is C:\Users\<username>\Documents\PHPRunnerProjects\project_name. The Project file will be saved in the project directory as project_name.phpr.
When you open a project created with PHPRunner 4.x or older, you are prompted to choose a project directory. After you select a directory, your project file is copied to it. Then the next time you open your project it will be from the folder you selected, not from the original location.
If you upload files to the Web server using third party FTP client software, you must upload the entire contents of the output directory.
When you make a backup of your project, you should include all files in the project directory together with all subdirectories. At a minimum, you should backup the project file itself along with all files in the visual directory.
To open existing project, select Open project.
If you want to save the current project under a different name - for example, development purposes or to create a backup - select Save Project As option. A new project directory will be created and all necessary project files will be copied to it.
Note: PHPRunner creates a new project automatically upon startup.
You can save your project as a template.
In this case, your database along with your project file and all files you have edited with the Editor will be saved.
Note: Save Project As Template option is available only in MySql projects.
While saving Project As Template you need to type in the template name you wish your project to be saved under. The template will be saved in the Business Templates Directory (by default in C:\Users\<username>\Documents\PHPRunnerTemplats\project_name).
Note: After your template is saved, you can add files that are not generated by PHPRunner to the template directory.
After that saved Template will be available on the list of templates when you create a new project.
You can also add a thumbnail image to the template that will be displayed on templates list. Place an image named preview.gif (JPG and PNG formats are supported also) to template folder. Image size should be 130x97.
You can create new project using two templates or add a template to existing project. To avoid replacing template tables with existing all PHPRunner business templates (tables and files) have prefix.
If you have added several templates to the project you can choose one to inherit security settings from in Security template dropdown box.
If you add more than one template to the project you can get some errors trying to run your project right after that.
This what you need to do in order to add two or more templates to the same project.
•Create a temporary test project using second template
•Proceed to AfterAppInit event and copy all code there. Close temporary project without saving.
•Go to your original project and paste this code to the end of AfterAppInit event.
•Use Create human-readable labels for the database fields option to convert field names into the more human readable format. For example, if this option is enabled, the field name id will be displayed as Id, last_name as Last Name, FirstName as First Name etc.
•Use Synchronize the database on each project load option to enable/disable automatic database synchronization. We recommend to use this option for small or local databases. For more information about database synchronization, see Datasource tables: Synchronize database.
•To increase or decrease the files upload speed, change the number of FTP upload connections.
•Enable Autocomplete option enables Intellisense that provides autocomplete popups and function calltips in Event Editor.
•Exclude system tables option excludes system tables from the list of tables for Users table, Lookup tables etc.
•Use Always add database wrappers option to add wrappers to all names of fields and tables. When this option is disabled, database wrappers will be added only to the field names containing spaces and service field names.
•After you enabled Lock pages modified in Editor automatically option, all pages that you manually modify will be locked from further automatic modifications. You can still modify locked pages manually.
•Revision history limit defines the number of page revisions to be saved in Editor.
•Use Format HTML code option to auto-format HTML code of pages in Editor.