On Tue, Jan 10, 2012 at 1:57 AM, Jakub Jankiewicz
<[email protected]> wrote:
> 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.

Plugins are also per site and are deactivated by default. The idea is
more controllable per-site, right?

Do these operate on one or more sites? Are these equivalent to
wordpress plugins or wordpress filters? or both?

> 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.

Extensions are on by default, and function across the entire aiki
installation.

How about: Extensions are on-disk extensions to the aiki core codebase
that are loaded at runtime and operate across the entire aiki
installation on one or more sites.

How is this comparable to wordpress?

> 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.

I still want to have a clearly defined spec/api for this, with
versioning, and more.

Apps are a functionality bundle that operate on specific URLs?

How about: Apps are: on-disk files, extensions, and installable SQL
that operate on a specific registered set of URLs on one or more
sites?

I still think the differences should be more clear. Please correct me
if others have more clear definition.

Jon

>
> On Mon, 09 Jan 2012 16:31:22 -0000
> rejon <[email protected]> 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
>> <[email protected]> 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 <[email protected]> wrote:
>> >
>> >> Ok how do we keep a registry of app ids? Or should we keep some
>> >> has or register by name?
>> >>
>> >> [email protected]
>> >> http://fabricatorz.com
>> >> +1.415.830.3884
>> >> +86.187.1003.9974
>> >> On Jan 9, 2012 10:00 PM, "Bassel Safadi" <[email protected]>
>> >> 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 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


-- 
Jon Phillips 王✳爻气 http://fabricatorz.com ✳ skype: kidproto ✳ irc: rejon
+1.415.830.3884 (global) ✳ +86-187-1003-9974 (beijing)

-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help   : https://help.launchpad.net/ListHelp

Reply via email to