Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Martin
Experienced
Topic Author
Posts: 651
Joined: 30 Jan 2011, 23:24

Why are iv-admin and iv-includes seperated?

24 Mar 2011, 00:54

Hi,

I keep wondering what the advantages are that iv-admin and iv-includes are seperated from each other.
I understood that some people wanted to rename the iv-admin directory, but I do not see what could be the use of that...

please enlighten me :)

martin
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Why are iv-admin and iv-includes seperated?

24 Mar 2011, 03:27

iv-admin is strictly for accessing the admin, and the folder can be renamed for branding reasons. This folder can actually be deleted (although that would server little purpose), and the gallery will still work. This is how and why the admin-folder is entirely segregated for functional and aesthetic reasons.

iv-includes are all the Imagevue core files, scripts, templates and assets which makes the entire Imagevue ecosystem tick. This folder should normally never be touched.
 
User avatar
Martin
Experienced
Topic Author
Posts: 651
Joined: 30 Jan 2011, 23:24

Re: Why are iv-admin and iv-includes seperated?

24 Mar 2011, 04:04

I can understand the segregation for functional reasons.
This way it is possible to develop a gallery for a third-party and deliver only the gallery without the admin... so nothing can be broken...

The branding and the aesthetic reasons still elude me.
Except, perhaps, when one develops for a third party and one does deliver the admin that this admin-directory needs a fancier name...

The reason for my questioning is that I want to have a temporary test-gallery on my site.
I thought that this test-gallery and the production-gallery would have to share the same iv-includes directory.
But this is not the case, they both have a copy of the iv-includes directory on their own locations.

martin
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Why are iv-admin and iv-includes seperated?

25 Mar 2011, 05:58

mabro wrote:The branding and the aesthetic reasons still elude me.
Except, perhaps, when one develops for a third party and one does deliver the admin that this admin-directory needs a fancier name...
Some licensed users are setting up galleries for photographers, and they wish to have the white-label the Imagevue admin. In the old Imageuve X2, you could not rename the "imagevue" folder. Now, we renamed it to "iv-admin" by default, and you can simply rename it from FTP without any complications. If we did not separate iv-includes from this folder, users would not be able to rename the folder because there are dozens of paths to JS, css, php, swf, img files in the iv-includes folder (which can not be renamed). Therefore they are separated.

Also, we hope to be able to provide new entirely separate frontend galleries in the future. These may be developed by us, or by 3rd parties. In the case of 3rd parties, they will be able to use the API to create the gallery/website frontend, and the admin can be used to manage the gallery. It may be a benefit to be able to white-brand the admin from this perspective.
mabro wrote:The reason for my questioning is that I want to have a temporary test-gallery on my site.
I thought that this test-gallery and the production-gallery would have to share the same iv-includes directory.
But this is not the case, they both have a copy of the iv-includes directory on their own locations.
I don't know why you thought they would have to share the same iv-includes directory. Even if they could, what would be the benefit of this? just like wordpress, when you install it in a separate folder, it is a separate entity with separate files. It's not like the files take a lot of disk space anyway, and they are not to be edited. I don't really see any problem ...
 
User avatar
Martin
Experienced
Topic Author
Posts: 651
Joined: 30 Jan 2011, 23:24

Re: Why are iv-admin and iv-includes seperated?

25 Mar 2011, 09:37

mjau-mjau wrote:Some licensed users are setting up galleries for photographers, and they wish to have the white-label the Imagevue admin.
Thanks for the explanation.... that and some searching on google gave me insight in the use of branding a white-label product. Was new to me...
mjau-mjau wrote:I don't know why you thought they would have to share the same iv-includes directory....
I did not understand the branding issue, so I figured that the segregation had to do something with using iv-includes for more than one installation...
I got it now :idea:

martin
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Why are iv-admin and iv-includes seperated?

25 Mar 2011, 14:48

We're moving towards iv-config folder where all user changes will be stored.
So updates will be as painless as possible, just overwrite iv-admin/includes and you're set.
firedev.com
 
User avatar
Martin
Experienced
Topic Author
Posts: 651
Joined: 30 Jan 2011, 23:24

Re: Why are iv-admin and iv-includes seperated?

25 Mar 2011, 16:59

pain wrote:We're moving towards iv-config folder where all user changes will be stored.
So updates will be as painless as possible, just overwrite iv-admin/includes and you're set.
That's great.
Making user settings independent from the code.

martin