Plugin is function that will get content of the widget, process
it and then return the results, (like ob_ functions in php), maybe
better to name them filters.

Extension is php function or group of functions that will execute some
code and return the value that will be rendered inside the widget is
like widget (or group of widgets) written in php. More like library
that can be used in Aiki.

App is group of widgets and static files that are one entity and will
do something. Like Admin Panel. And it also can use his own extensions,
but when app install an extension it can be use in other apps and
normal widgets.

On Mon, 09 Jan 2012 16:31:22 -0000
rejon <j...@rejon.org> wrote:

> Ok, so what is the difference then between an app, an extension and a
> plugin?
> 
> App is ___
> 
> Extension is ____
> 
> Plugin is ____
> 
> And, how are they functionally different?
> 
> Jon
> 
> On Mon, Jan 9, 2012 at 11:41 PM, Jakub Jankiewicz
> <900...@bugs.launchpad.net> wrote:
> > We should not depend on id but use app_name instead because when
> > users install apps in different order it will all mess up.
> > There should be aiki_apps table
> > aiki_apps 1,0----------N aiki_widgets
> >
> > and select widgets for the app
> > SELECT aiki_widgets.id, widget_name FROM aiki_widgets, aiki_apps
> > WHERE app_id = aiki_apps.id AND app_name = '<app name>'
> >
> > Admin panel will be always installed as first app so it always will
> > have id == 1.
> >
> > And we should have function form installing and uninstalling an app.
> >
> > the idea is to have all packed in one php file with class the same
> > as filename.
> >
> > class Translation {
> >
> >   function install() {
> >   }
> >
> >   function uninstall() {
> >   }
> > }
> >
> > And the file will be Translation-0.1.php
> >
> > On Mon, 09 Jan 2012 14:45:51 -0000
> > rejon <j...@rejon.org> wrote:
> >
> >> Ok how do we keep a registry of app ids? Or should we keep some
> >> has or register by name?
> >>
> >> j...@fabricatorz.com
> >> http://fabricatorz.com
> >> +1.415.830.3884
> >> +86.187.1003.9974
> >> On Jan 9, 2012 10:00 PM, "Bassel Safadi" <bassel.saf...@gmail.com>
> >> wrote:
> >>
> >> > yes right, fixed, now not all admin widgets have app_id = 1
> >> > this is easy to fix by adding app_id to them
> >> >
> >> > ** Changed in: aikiframework
> >> >       Status: Confirmed => Fix Released
> >> >
> >> > ** Changed in: aikiframework
> >> >     Assignee: (unassigned) => Bassel Safadi (bassel)
> >> >
> >> > --
> >> > You received this bug notification because you are subscribed to
> >> > aikiframework.
> >> > https://bugs.launchpad.net/bugs/900996
> >> >
> >> > Title:
> >> >  Widgets break if widget have url that start with admin
> >> >
> >> > To manage notifications about this bug go to:
> >> > https://bugs.launchpad.net/aikiframework/+bug/900996/+subscriptions
> >> >
> >>
> >
> > --
> > Jakub Jankiewicz
> > twitter: @jcubic
> > www: http://jcubic.pl
> >
> > --
> > You received this bug notification because you are subscribed to
> > aikiframework.
> > https://bugs.launchpad.net/bugs/900996
> >
> > Title:
> >  Widgets break if widget have url that start with admin
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/aikiframework/+bug/900996/+subscriptions
> 
> 

-- 
Jakub Jankiewicz
twitter: @jcubic
www: http://jcubic.pl

-- 
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/900996

Title:
  Widgets break if widget have url that start with admin

Status in Aiki Framework:
  Fix Released

Bug description:
  If url of widget that is a father contain "admin" - more likely that
  one of the urls start with "admin", then you can't set it father of
  the widget in Admin Panel there is no that father in Father Widget
  select.

  posible reason for this is bug: "Aiki display widget if only a part of url 
match" 
  https://bugs.launchpad.net/aikiframework/+bug/892295

  because there are already admin_tools in Admin Panel.

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/900996/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to     : aikiframework.admins@lists.launchpad.net
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help   : https://help.launchpad.net/ListHelp

Reply via email to