remove storage of column order from db

View: New views
6 Messages — Rating Filter:   Alert me  

remove storage of column order from db

by Benny Malengier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

All,

I'd like to remove the storage of view column orders from the database
and put it in the ini file.

Consequence: all family trees have the same column order as set in the
ini file.

Reason:
1/ I intend to make views plugins, but then we will have several
person views possible. Only one can have columns saved in database
with the present method.
2/ is is not better to have how the interface behaves the same for all
family trees
3/ Another upgrade issue

Comments? People against?

Benny

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gramps-devel mailing list
Gramps-devel@...
https://lists.sourceforge.net/lists/listinfo/gramps-devel

Re: remove storage of column order from db

by Gerald Britton-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I never could quite grasp why column orders were in the database. Now
I see it is to give different trees different orders.  Not sure how
useful that is or how many realize that it is a feature.  It seems to
be mixing presentation with data, which just feels wrong to me.

+1 from me.  Even with upgrade issues.

On 11/7/09, Benny Malengier <benny.malengier@...> wrote:

> All,
>
> I'd like to remove the storage of view column orders from the database
> and put it in the ini file.
>
> Consequence: all family trees have the same column order as set in the
> ini file.
>
> Reason:
> 1/ I intend to make views plugins, but then we will have several
> person views possible. Only one can have columns saved in database
> with the present method.
> 2/ is is not better to have how the interface behaves the same for all
> family trees
> 3/ Another upgrade issue
>
> Comments? People against?
>
> Benny
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Gramps-devel mailing list
> Gramps-devel@...
> https://lists.sourceforge.net/lists/listinfo/gramps-devel
>


--
Gerald Britton

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gramps-devel mailing list
Gramps-devel@...
https://lists.sourceforge.net/lists/listinfo/gramps-devel

Re: remove storage of column order from db

by Nick Hall-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think that it would be better if we stored a separate column
configuration for each type of view rather than one configuration for
all views of the same type.

In general, I would like configuration changes of this type to affect
all family trees.

So, yes, I agree with the change.

Nick.

Benny Malengier wrote:

> All,
>
> I'd like to remove the storage of view column orders from the database
> and put it in the ini file.
>
> Consequence: all family trees have the same column order as set in the
> ini file.
>
> Reason:
> 1/ I intend to make views plugins, but then we will have several
> person views possible. Only one can have columns saved in database
> with the present method.
> 2/ is is not better to have how the interface behaves the same for all
> family trees
> 3/ Another upgrade issue
>
> Comments? People against?
>
> Benny
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Gramps-devel mailing list
> Gramps-devel@...
> https://lists.sourceforge.net/lists/listinfo/gramps-devel
>
>
>  

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gramps-devel mailing list
Gramps-devel@...
https://lists.sourceforge.net/lists/listinfo/gramps-devel

Re: remove storage of column order from db

by Doug Blank-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Nov 7, 2009 at 10:52 AM, Benny Malengier
<benny.malengier@...> wrote:

> All,
>
> I'd like to remove the storage of view column orders from the database
> and put it in the ini file.
>
> Consequence: all family trees have the same column order as set in the
> ini file.
>
> Reason:
> 1/ I intend to make views plugins, but then we will have several
> person views possible. Only one can have columns saved in database
> with the present method.
> 2/ is is not better to have how the interface behaves the same for all
> family trees
> 3/ Another upgrade issue
>
> Comments? People against?

+1 (mentioned in the other thread) I think we should take this
opportunity to do a clean sweep of the database. What else is in there
that shouldn't be?

-Doug

> Benny
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Gramps-devel mailing list
> Gramps-devel@...
> https://lists.sourceforge.net/lists/listinfo/gramps-devel
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gramps-devel mailing list
Gramps-devel@...
https://lists.sourceforge.net/lists/listinfo/gramps-devel

Re: remove storage of column order from db

by Rob Healey-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greetings:

On Sat, Nov 7, 2009 at 7:52 AM, Benny Malengier <benny.malengier@...> wrote:
All,

I'd like to remove the storage of view column orders from the database
and put it in the ini file.

I think that it is a good idea to remove the excess stuff from the database that does not deal with data as the database should be... as Gerald mentioned...

Consequence: all family trees have the same column order as set in the
ini file.

I do not see that being such a huge problem.  as stated later in this thread, I didn't even know it was a feature of Gramps.  I would like to see it be a feature of each different view though as Nick stated...

Reason:
1/ I intend to make views plugins, but then we will have several
person views possible. Only one can have columns saved in database
with the present method.
2/ is is not better to have how the interface behaves the same for all
family trees
3/ Another upgrade issue

How drastic of an update issue would it be?

Sincerely yours,
Rob G. Healey
 

Comments? People against?

Benny

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gramps-devel mailing list
Gramps-devel@...
https://lists.sourceforge.net/lists/listinfo/gramps-devel


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gramps-devel mailing list
Gramps-devel@...
https://lists.sourceforge.net/lists/listinfo/gramps-devel

Re: remove storage of column order from db

by Brian Matherly :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> All,
>
> I'd like to remove the storage of view column orders from
> the database
> and put it in the ini file.
>
> Consequence: all family trees have the same column order as
> set in the
> ini file.
>
> Reason:
> 1/ I intend to make views plugins, but then we will have
> several
> person views possible. Only one can have columns saved in
> database
> with the present method.
> 2/ is is not better to have how the interface behaves the
> same for all
> family trees
> 3/ Another upgrade issue
>
> Comments? People against?

I fully support this. I see no reason to transfer the settings from the database to the ini file when the user upgrades. For the few people who use this feature, it won't kill them to re-order their columns when they upgrade Gramps.

~BM

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gramps-devel mailing list
Gramps-devel@...
https://lists.sourceforge.net/lists/listinfo/gramps-devel