On Sun, Jan 29, 2012 at 7:11 PM, Jakub Jankiewicz <[email protected]> wrote: > > > On Sun, 29 Jan 2012 12:58:35 +0800 > Jon Phillips <[email protected]> wrote: > >> Bassel, please help us! Don't fight us! Still Aiki has so many >> features kept in your brain, and that is not good. >> >> http://aikiframework.org/wiki/Apps >> >> I agree with Jakub, image_viewer.php needs this: >> >> 1.) move image_viewer.php to image_viewer/image_viewer.php > > image_viewer.php should be in extensions folder and can be in Aiki by > default. And image viewer should accessed from widget. like other > stuff, there should not be exceptions like this in Aiki.
The reason that files should be in folders is for version control. Its easier to use git submodule or svn:externals when files are in folders, and it keeps things tidy is the point. This is necessary for assets to live in real production environments. Make sense? I was thinking about moving the assets to /sites/default/assets so we could have /sites/somesite.com/assets, but think this puts too much complexity in for now, and users can define this. However, we should keep aiki as a good citizen in its assets department. The /assets/images/*.* that ship with aiki should also be in a folder so they aren't overwritten by local installations, and yes, this also has impact if using bazaar and/or git to control revisions on a site. Make sense? > > There should be not bare php files in Aiki except update/install/aiki > tools. Aiki sites and user may use them if they want but Aiki should be > clean. But, aren't you saying update/install/aikitools are exceptions? Where should they live then? > > Maybe instead of Apps we should have generic packages so extension > could be installed like apps from Admin Panel and remove as well. Or > extension will be an app, but simply with one file in it (in most > cases). Sure, I think we should look at the html5 packaging of chrome and mozilla to see how we can be compatible honestly. Longer term, I want to see aiki become more self-contained. With the cool html5 features, we could actually make aiki its own html5 package! But, that will require a lot of work, but is my devious plan for aiki ;) <snip /> Jon -- Jon Phillips 王✳爻气 http://fabricatorz.com ✳ skype: kidproto ✳ irc: rejon +1.415.830.3884 (global) ✳ +86-187-1003-9974 (beijing) _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : [email protected] Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp

