This topic is locked

Defining field properties of similar views in only one place

7/14/2014 11:19:57 AM
PHPRunner General questions
D
drgregory author

Dear Sirs,
In this moment I am managing more than 20 PHPRunner projects (each of them representing an area of the Enterprise I am working for), the most of them with lots of options, personalized queries, etc. etc. All of these projects share a unique PostgreSQL database schema. As usual, several views and fields appear in more than one PHPRunner project. I have lots of PHPRunner views from these tables which I have to configure (field by field) each time. The process is even more tedious if the same view is used in two or more projects which are compiled separately.
Is there a way to define the properties (validation, input format, alignment) of a given field of one table or view only once (as if it was a data dictionary) in PHPRunner so as to centralize this task?
If so, please tell me from what version this feature is available.
Thank you in advance,

DrGregory

Sergey Kornilov admin 7/14/2014

You cannot share any settings between projects. Usually it makes more sense to keep the number of projects down restricting access to different areas of your project via user group permissions.
Another option - create a separate project that combines several common tables and views, setup fields and tables the way you need, save it as a template and then add this template to multiple projects. I have to add that this approach can be a real headache if you have to make more changes to those common tables and views.
More info on working with templates:

http://xlinesoft.com/phprunner/docs/working_with_projects.htm

D
drgregory author 7/15/2014

Dear Sirs,
It's OK what you say, it makes more sense for me just to unify in only one project the 27 ones I have by this moment. Take into account that this project will have hundreds of options, even making that each option appears only once. So, in order with your advice, I have two questions:

  1. How long would it take to PHPRunner to open this huge project? (even assuming it is stored in a local workstation just to make this process faster). The PostgreSQL database resides in the same VLAN, in a Linux virtual machine server. Do you think that PHPRunner 6 or 7 would perform such a huge opening task in a reasonable time?
  2. I am not alone in this job. Actually we are two people working on it. So, is it possible for both of us to work simultaneously over the same project (each one modifying different areas of it)? What about the impact on the .phpr file and/or the hole project, assuming that one save the changes after the other did? Does PHPRunner offer any kind of collaborative way of working?
    Thank you in advance.

    DrGregory
    Argentina

Sergey Kornilov admin 7/15/2014

I have no idea how long would it take to open your project. Download trial version and give it a try.
In regards to multiple developers working on the same project - check this article:

http://xlinesoft.com/blog/2011/06/08/best-practices-multiple-developers-working-on-the-same-project/