Good remark, indeed.
So maybe the app descriptor should list the sheets that are used by the
application?
2014-05-29 10:25 GMT+02:00 Marius Dumitru Florea <
mariusdumitru.florea(a)xwiki.com>gt;:
On Wed, May 28, 2014 at 3:16 PM, Guillaume
"Louis-Marie" Delhumeau
<gdelhumeau(a)xwiki.com> wrote:
I'm pushing this thread up since we probably
need an application
descriptor
to know what is the current application (probably
based on the current
space, but maybe not).
It's important because now we have an AppBar...
http://jira.xwiki.org/browse/XWIKI-10254
What I personally need:
- name of the application (already present as an UIX)
- icon of the application (already present as an UIX)
- list of pages of the application or a list of
spaces
The application descriptor won't list the pages that the user creates
nor the spaces where the user creates those pages. You can have for
instance multiple blogs on the same wiki and you can have panels in
various spaces, not just inside the Panels space. The EM won't give
you this list either. What you'll get is the list of pages that hold
the application code/UI, most of them being hidden anyway (see also
the discussion about the application code space). What's more
important is to know the "type" of the current document the user is
looking at and to determine the application that provides that "type".
The type is defined by an XClass, but since a document can have
multiple objects you need to know which one is "the most important".
The natural answer is "the object that triggers the sheet used to
display the document". So I would determine the current application
based on the sheet that has been applied to the current document. If
you create a plain wiki page in the Blog space it doesn't mean the
current application is Blog. Same, if you create a blog post in a
different space that happens to be associated with some application it
doesn't mean that application is the current one, IMO.
Hope this helps,
Marius
Do you have other things to add?
Thanks,
Guillaume
2014-04-15 16:23 GMT+02:00 Thomas Mortagne <thomas.mortagne(a)xwiki.com>om>:
> On Tue, Apr 15, 2014 at 4:19 PM, Thomas Mortagne
> <thomas.mortagne(a)xwiki.com> wrote:
> > On Tue, Apr 15, 2014 at 4:01 PM, Ecaterina Moraru (Valica)
> > <valicac(a)gmail.com> wrote:
> >> Hi,
> >>
> >> There have been some recently discussions about Application
Descriptors
> and
> >> their utility when generating content for XWiki features, like taking
> the
> >> icon field from the descriptor in order to generate the application
> panel
> >> for the AppBar, etc.
> >>
> >> I've gathered some use cases / needs on this page:
> >>
http://design.xwiki.org/xwiki/bin/view/Proposal/ApplicationDescriptor
> >>
> >> It would be nice to brainstorm a bit if we consider the 'Application
> >> Descriptor' concept to be needed in our future, especially since the
> >> Flamingo Skin is focused heavily on the Applications concept.
> >>
> >> I would be curious why this concept has been deprecated (Application
> >> Manager):
> >
> > It hasn't been deprecated, it just never been in XE.
>
> Except for a short period of time where the old wikimanager was moved
> to XE until it was replaced with the new wiki module.
>
> >
> >> * maybe the fields the descriptor contained are deprecated by the
> Extension
> >> Manager;
> >
> > There is no such thing as application descriptor in Extension Manager.
> >
> >> * maybe a bad usage;
> >> * etc.
> >>
> >> And also very important is what fields you consider should be needed
in
> the
> >> Application Descriptor and ways to make it easily extensible.
> >>
> >> Having an Application Descriptor would facilitate having an index
> >> containing all applications, called Application Index, in order to
help
the
> user navigate and manage the installed
applications outside the
Extension
> Manager (which is found in Administration).
I really don't see the point in having two indexes of extensions. This
is really not the main benefit we would get from an application
descriptor.
>
> Thanks,
> Caty & Louis-Marie
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne
--
Thomas Mortagne
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs