pgAdmin 4 commit: Data management within the properties dialog in Creat - Mailing list pgadmin-hackers

From Ashesh Vashi
Subject pgAdmin 4 commit: Data management within the properties dialog in Creat
Date
Msg-id E1aK2ID-0002Ei-Iv@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Data management within the properties dialog in Create/Edit mode is not
done using the Backbone event management.

Emitting 'pgadmin-session:*' for different operations, when we
create/modify the data within the properties dialog.

We will keep track of each child node using the handler object within
the Model, and Collection objects, also - provides them the name of the
attribute, it represents. It will be used to identify the invalid nested
objects within the existing object.

Also, provide the array of modified variables, which were modified in
the validation function to avoid checking each, and every thing in the
validation function. We will need to validate that particular and the
dependent attributes only.

Also - avoid multiple validation operations from the parent object to
improve performance. And, depends on the event based operations for
validation, instead of integrate the data operation and view operation
within one operation. We do maintain the invalid objects, and validate
them only from the collection objects, which also helps improve the
performance during validation.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=586b81b16271b1e60863cc12f37b189ea1ab8679

Modified Files
--------------
web/pgadmin/browser/templates/browser/js/node.js | 567 ++++++++++++++++++-----
1 file changed, 445 insertions(+), 122 deletions(-)


pgadmin-hackers by date:

Previous
From: Harshal Dhumal
Date:
Subject: Privilege control with select2cell for user role section
Next
From: Ashesh Vashi
Date:
Subject: pgAdmin 4 commit: Integrate the new mechanism for the data session mana