From: | Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com> |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | pgAdmin 4 commit: Data management within the properties dialog in Creat |
Date: | 2016-01-15 11:11:45 |
Message-ID: | E1aK2ID-0002Ei-Iv@gothos.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Ashesh Vashi | 2016-01-15 11:17:38 | pgAdmin 4 commit: Integrate the new mechanism for the data session mana |
Previous Message | Harshal Dhumal | 2016-01-15 09:32:51 | Privilege control with select2cell for user role section |