From: Honza M. <hon...@ec...> - 2002-12-27 22:10:02
|
I also like the idea of named views. Also, it should be quite easy to implement. Honza On P=E1, 2002-12-27 at 19:12, Michael de Beer wrote: > On Fri, 27 Dec 2002 15:31:17 +0100, "Jakub Adamek" > <jak...@se...> said: > > There is a simpler way: Generate vid by random. The function must pro= ove > > the vid generated does not yet exist and if it does than generate > > another one.=20 > > It is not 100% perfect, because there is a chance another installatio= n > > generated the same id, but it is very simple. And who can be sure the > > name is unique? >=20 > I like Mitra's idea of Named views better than > Jakub's idea of random ids. I like 'Names' better because they are > human readable. >=20 > I wrote a script misc/txt2fields/ which is a sort of slice=20 > structure export utility that is more human readable/human editable. =20 > I think human-editable is quite useful. >=20 > However, there is the problem of "Will the Name 'News' be unique?" >=20 > Would my idea below work -- when a view is created, you can try to give > it a 'name'? >=20 > If a view with that name already exists > AND you have permission to overwrite the view, > Then you are asked if you want to overwrite the named view with your > view. >=20 > If a view with that name does NOT already exist, > then you are allowed to give it that name. >=20 > In import utilities there could be a flag that either allows or warns a= nd > denies=20 > overwrites of views. >=20 > Michael >=20 > >=20 > > Jakub > >=20 > > > -----Original Message----- > > > From: apc...@li...=20 > > > [mailto:apc...@li...] On Behalf Of Mit= ra > > > Sent: Thursday, December 26, 2002 2:51 AM > > > To: apc...@so... > > > Subject: [Apc-aa-coders] Named views > > >=20 > > >=20 > > > Has anyone considered adding NAMES to views, so that a vid could be= =20 > > > either a name or a number? > > >=20 > > > The reason I want to do this is that I'd like to develop a site on = my=20 > > > laptop macintosh (which has working apc-aa on it) , the problem is= =20 > > > that if I export site structure it will have view numbers - which=20 > > > will not be usable on the other machine. > > >=20 > > > If noone has done this - and you think its a good idea - then I mig= ht=20 > > > be willing to make the changes. (by adding an optional name field t= o=20 > > > views, and having everywhere that vid=3D is recognized understand i= t? ) > > >=20 > > > - Mitra > > >=20 > > > --=20 > > > Mitra Technology Consulting - www.mitra.biz - mi...@mi... > > > 02-6684-8096 or 0414-648-0722 > > >=20 > > > Life is a Mystery to be Lived, not a Problem to be Solved > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Apc-aa-coders mailing list > > > Apc...@li... > > > https://lists.sourceforge.net/lists/listinfo/apc-aa-coders > > >=20 > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Apc-aa-coders mailing list > > Apc...@li... > > https://lists.sourceforge.net/lists/listinfo/apc-aa-coders > >=20 > =20 > Michael de Beer > mi...@de... >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Apc-aa-coders mailing list > Apc...@li... > https://lists.sourceforge.net/lists/listinfo/apc-aa-coders >=20 |