<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: KFM2 has begun. requesting ideas of sample plugins to develop</title>
	<atom:link href="http://verens.com/archives/2009/10/04/kfm2-has-begun-requesting-ideas-of-sample-plugins-to-develop/feed/" rel="self" type="application/rss+xml" />
	<link>http://verens.com/archives/2009/10/04/kfm2-has-begun-requesting-ideas-of-sample-plugins-to-develop/</link>
	<description>php, linux, ajax, javascript, kae verens</description>
	<lastBuildDate>Fri, 05 Mar 2010 01:53:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/archives/2009/10/04/kfm2-has-begun-requesting-ideas-of-sample-plugins-to-develop/comment-page-1/#comment-118720</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Thu, 03 Dec 2009 08:15:39 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=858#comment-118720</guid>
		<description>@mick - this request already exists in KFM1 (images can be kept to a certain maximum size, and when requesting the image through get.php, you can specify what size you want the image returned). but I will see if I can come up with an easy way to do it for KFM2. will be working on it this weekend.

@frederic - KFM2 will by default not use a database. it&#039;s a common request, and a database is only /really/ needed when searching for something or when thumbnails need to be related to each other. the &quot;look&quot; of it, I would not be good at fixing, but the plugin nature of the system will allow you to work on the design yourself. as for multiple sites using the same instance - that&#039;s already possible with KFM1 by specifying separate userdirs for each site and keeping the databases separate, but I&#039;ll see if it can be simplified further.</description>
		<content:encoded><![CDATA[<p>@mick &#8211; this request already exists in KFM1 (images can be kept to a certain maximum size, and when requesting the image through get.php, you can specify what size you want the image returned). but I will see if I can come up with an easy way to do it for KFM2. will be working on it this weekend.</p>
<p>@frederic &#8211; KFM2 will by default not use a database. it&#8217;s a common request, and a database is only /really/ needed when searching for something or when thumbnails need to be related to each other. the &#8220;look&#8221; of it, I would not be good at fixing, but the plugin nature of the system will allow you to work on the design yourself. as for multiple sites using the same instance &#8211; that&#8217;s already possible with KFM1 by specifying separate userdirs for each site and keeping the databases separate, but I&#8217;ll see if it can be simplified further.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mick</title>
		<link>http://verens.com/archives/2009/10/04/kfm2-has-begun-requesting-ideas-of-sample-plugins-to-develop/comment-page-1/#comment-118672</link>
		<dc:creator>mick</dc:creator>
		<pubDate>Wed, 02 Dec 2009 02:01:34 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=858#comment-118672</guid>
		<description>Hello Kae,
Thanks for a great Image Manager/Editor.
I like your idea of folder select for upload.
I would like to have an extension which uploads multiple files or folder with option to resize on upload (for multiple files), and second option to create versions at 1 or 2 other sizes. This extension would be useful for creating image galleries and product images.
regards
mick</description>
		<content:encoded><![CDATA[<p>Hello Kae,<br />
Thanks for a great Image Manager/Editor.<br />
I like your idea of folder select for upload.<br />
I would like to have an extension which uploads multiple files or folder with option to resize on upload (for multiple files), and second option to create versions at 1 or 2 other sizes. This extension would be useful for creating image galleries and product images.<br />
regards<br />
mick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frederic</title>
		<link>http://verens.com/archives/2009/10/04/kfm2-has-begun-requesting-ideas-of-sample-plugins-to-develop/comment-page-1/#comment-117431</link>
		<dc:creator>frederic</dc:creator>
		<pubDate>Wed, 14 Oct 2009 11:45:25 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=858#comment-117431</guid>
		<description>Hi Kae,
3 requests :
- It will be great if we can choose to run KFM with a database or not : in the case where no database is selected, you have only basic features (no search,...).
- Have the possibility to manage multiple websites with the same KFM instance (each website has his own filetree but same DB tables behind).
- More professionnal look, for instance JQuery UI aspects.
Many thanks for your work.
Frederic</description>
		<content:encoded><![CDATA[<p>Hi Kae,<br />
3 requests :<br />
- It will be great if we can choose to run KFM with a database or not : in the case where no database is selected, you have only basic features (no search,&#8230;).<br />
- Have the possibility to manage multiple websites with the same KFM instance (each website has his own filetree but same DB tables behind).<br />
- More professionnal look, for instance JQuery UI aspects.<br />
Many thanks for your work.<br />
Frederic</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alec</title>
		<link>http://verens.com/archives/2009/10/04/kfm2-has-begun-requesting-ideas-of-sample-plugins-to-develop/comment-page-1/#comment-117372</link>
		<dc:creator>Alec</dc:creator>
		<pubDate>Fri, 09 Oct 2009 03:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=858#comment-117372</guid>
		<description>Hi Kae,

We are definitely excited by the modular nature of KFM2, but we&#039;d like to see a useable core which doesn&#039;t require too much dressing up. I share Scott&#039;s interest in a tight codebase. Still, we are using Jquery in all our projects and hate loading a separate library so we are glad you&#039;ve chosen this one.

The original KFM was a gem and we are looking forward to helping you rebuild the best image manager in the world.

PS. You won&#039;t be able to address all the needs of every KFM user. We like you to focus on the core functionality and get the product out the door quickly. We wrote a lot of image insertion routines that we needed on top of your core code. Lighten your load and let the community code bells and whistles. It would be great to have a shared space where we could keep track of the external KFM code out there.

One caveat. Security is a big issue and we&#039;d like to see you keep a tight handle on that yourself to discourage unsafe routines and not to force users to use unsafe server settings just to make KFM run.</description>
		<content:encoded><![CDATA[<p>Hi Kae,</p>
<p>We are definitely excited by the modular nature of KFM2, but we&#8217;d like to see a useable core which doesn&#8217;t require too much dressing up. I share Scott&#8217;s interest in a tight codebase. Still, we are using Jquery in all our projects and hate loading a separate library so we are glad you&#8217;ve chosen this one.</p>
<p>The original KFM was a gem and we are looking forward to helping you rebuild the best image manager in the world.</p>
<p>PS. You won&#8217;t be able to address all the needs of every KFM user. We like you to focus on the core functionality and get the product out the door quickly. We wrote a lot of image insertion routines that we needed on top of your core code. Lighten your load and let the community code bells and whistles. It would be great to have a shared space where we could keep track of the external KFM code out there.</p>
<p>One caveat. Security is a big issue and we&#8217;d like to see you keep a tight handle on that yourself to discourage unsafe routines and not to force users to use unsafe server settings just to make KFM run.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/archives/2009/10/04/kfm2-has-begun-requesting-ideas-of-sample-plugins-to-develop/comment-page-1/#comment-117368</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Wed, 07 Oct 2009 14:34:44 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=858#comment-117368</guid>
		<description>wow, that&#039;s quite a lot, mickster! good stuff.

I think my next post will re-iterate the identified plugins, and I&#039;ll probably be able to give a time-line for their creation.

I&#039;ve also got email from the guys behind &lt;a href=&quot;http://foliovision.com/seo-tools/wordpress/plugins/wysiwyg/&quot; rel=&quot;nofollow&quot;&gt;Foliopress&lt;/a&gt;, who&#039;ve use a modified version of KFM in their product &lt;a href=&quot;http://foliovision.com/seo-tools/wordpress/plugins/wysiwyg/changelog/&quot; rel=&quot;nofollow&quot;&gt;since it was begun&lt;/a&gt;. They have some ideas for plugins as well, which I&#039;ll explain in the post.

As these articles expand over the next few months, I hope to address all the needs of every KFM user. KFM1 had a very specific target (FCKeditor), and yet was flexible enough to be used for other things. KFM2 does not have a specific target, and should be even easier to use for other things.

Alec has said that the Foliopress team is interested in keeping up a conversation through these articles, so we should be able to get a lot done in the next few months.

I hope that the first demo will show how easy it is to /start/ creating for this. Some things will not be immediately possible, but we&#039;ll address those as we come to them. My intention with the whole plugin nature of this is that programmers such as yourselves will see how easy it is, and will be able to jump right in and write your own plugins!</description>
		<content:encoded><![CDATA[<p>wow, that&#8217;s quite a lot, mickster! good stuff.</p>
<p>I think my next post will re-iterate the identified plugins, and I&#8217;ll probably be able to give a time-line for their creation.</p>
<p>I&#8217;ve also got email from the guys behind <a href="http://foliovision.com/seo-tools/wordpress/plugins/wysiwyg/" rel="nofollow">Foliopress</a>, who&#8217;ve use a modified version of KFM in their product <a href="http://foliovision.com/seo-tools/wordpress/plugins/wysiwyg/changelog/" rel="nofollow">since it was begun</a>. They have some ideas for plugins as well, which I&#8217;ll explain in the post.</p>
<p>As these articles expand over the next few months, I hope to address all the needs of every KFM user. KFM1 had a very specific target (FCKeditor), and yet was flexible enough to be used for other things. KFM2 does not have a specific target, and should be even easier to use for other things.</p>
<p>Alec has said that the Foliopress team is interested in keeping up a conversation through these articles, so we should be able to get a lot done in the next few months.</p>
<p>I hope that the first demo will show how easy it is to /start/ creating for this. Some things will not be immediately possible, but we&#8217;ll address those as we come to them. My intention with the whole plugin nature of this is that programmers such as yourselves will see how easy it is, and will be able to jump right in and write your own plugins!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mickster</title>
		<link>http://verens.com/archives/2009/10/04/kfm2-has-begun-requesting-ideas-of-sample-plugins-to-develop/comment-page-1/#comment-117367</link>
		<dc:creator>Mickster</dc:creator>
		<pubDate>Wed, 07 Oct 2009 14:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=858#comment-117367</guid>
		<description>Hi Kae,

I have modified KFM quite a bit - maybe telling you how I use it can give you some ideas for plugins.

Different users
I have different users using the same installation of KFM. To accomplish that, I just assign a different base folder for each user.
In addition I have modified the database so that every file uploaded also gets a user id saved in the table. I know(/think) that you double check database versus folder content so that&#039;s not really needed even when you have multiple users, but this enabled me to do my own flavors of the GUI. For example, I have an image selector, which only pulls the image files (from the database) that belong to user X.

That&#039;s probably a good idea for a plugin - an image selector, showing only images (types maybe configurable) from user X.

Paired with the image selector I have a file tree - for which I use a modified version of this plugin: http://abeautifulsite.net/notebook_files/58/demo/
With modified I mean that instead of checking the file system, it checks the KFM database for different folders and their files (I&#039;m only using the plugin to display the folders, the images are then shown as thumbs (altough received in the same AJAX-call, as JSON)).
It also doesn&#039;t make an AJAX call every time I click on a new folder, but first checks if we already got it (then show that content and hide everything else).

A file tree is also good for a plugin and from your blog post I take it that&#039;s what you are going to start with. Maybe it&#039;s wise to configure it so that the user can decide for himself what to use, everything or just folders, or thumbnails, or...
Maybe that can be achieved by sending the file and folder data back as JSON, like json[&#039;folders&#039;]=all folders json[&#039;folder_content&#039;]=the files in the folder or something like that. Then the user can just configure the callback and do whatever i want with the data.

Caching
I load all my files through a script, so that I can serve up different sizes of an image if needed. I.e i save the original image but most of the times I  make a cached copy of it in different sizes (I do this upon loading the image the first time, outside of KFM).
When I delete an image in KFM, KFM checks the cache folder if there are any cached versions of that file. If there is - all cached sizes are deleted (one part of the filename is a md5 of the path- and filename and the second part of the filename describes the item&#039;s size. This enables me to identify and delete all cached copies of an image).

Not sure how this would make a plugin, but a plugin or options for resizing images are always good. Maybe the user can configure if all images should be processed(resized) when uploaded.
The way you&#039;re planning to get the images through a script probably means you can implement all of the caching too quite easily, if desired.

Quota
Before uploading a file I check if the user&#039;s quota is full and if it is I display a message instead of a browse-button. What also would be good is to have a quota check also between files in a multi-upload. As of now, my users can circumvent my quota-check by just uploading many files at once.

Hmm I think that&#039;s it... Not very structured, but hopefully it gives you a good idea of how other people use your system!
Let me know if you have any questions!

Best regards and keep up the good work!
Mickster</description>
		<content:encoded><![CDATA[<p>Hi Kae,</p>
<p>I have modified KFM quite a bit &#8211; maybe telling you how I use it can give you some ideas for plugins.</p>
<p>Different users<br />
I have different users using the same installation of KFM. To accomplish that, I just assign a different base folder for each user.<br />
In addition I have modified the database so that every file uploaded also gets a user id saved in the table. I know(/think) that you double check database versus folder content so that&#8217;s not really needed even when you have multiple users, but this enabled me to do my own flavors of the GUI. For example, I have an image selector, which only pulls the image files (from the database) that belong to user X.</p>
<p>That&#8217;s probably a good idea for a plugin &#8211; an image selector, showing only images (types maybe configurable) from user X.</p>
<p>Paired with the image selector I have a file tree &#8211; for which I use a modified version of this plugin: <a href="http://abeautifulsite.net/notebook_files/58/demo/" rel="nofollow">http://abeautifulsite.net/notebook_files/58/demo/</a><br />
With modified I mean that instead of checking the file system, it checks the KFM database for different folders and their files (I&#8217;m only using the plugin to display the folders, the images are then shown as thumbs (altough received in the same AJAX-call, as JSON)).<br />
It also doesn&#8217;t make an AJAX call every time I click on a new folder, but first checks if we already got it (then show that content and hide everything else).</p>
<p>A file tree is also good for a plugin and from your blog post I take it that&#8217;s what you are going to start with. Maybe it&#8217;s wise to configure it so that the user can decide for himself what to use, everything or just folders, or thumbnails, or&#8230;<br />
Maybe that can be achieved by sending the file and folder data back as JSON, like json['folders']=all folders json['folder_content']=the files in the folder or something like that. Then the user can just configure the callback and do whatever i want with the data.</p>
<p>Caching<br />
I load all my files through a script, so that I can serve up different sizes of an image if needed. I.e i save the original image but most of the times I  make a cached copy of it in different sizes (I do this upon loading the image the first time, outside of KFM).<br />
When I delete an image in KFM, KFM checks the cache folder if there are any cached versions of that file. If there is &#8211; all cached sizes are deleted (one part of the filename is a md5 of the path- and filename and the second part of the filename describes the item&#8217;s size. This enables me to identify and delete all cached copies of an image).</p>
<p>Not sure how this would make a plugin, but a plugin or options for resizing images are always good. Maybe the user can configure if all images should be processed(resized) when uploaded.<br />
The way you&#8217;re planning to get the images through a script probably means you can implement all of the caching too quite easily, if desired.</p>
<p>Quota<br />
Before uploading a file I check if the user&#8217;s quota is full and if it is I display a message instead of a browse-button. What also would be good is to have a quota check also between files in a multi-upload. As of now, my users can circumvent my quota-check by just uploading many files at once.</p>
<p>Hmm I think that&#8217;s it&#8230; Not very structured, but hopefully it gives you a good idea of how other people use your system!<br />
Let me know if you have any questions!</p>
<p>Best regards and keep up the good work!<br />
Mickster</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/archives/2009/10/04/kfm2-has-begun-requesting-ideas-of-sample-plugins-to-develop/comment-page-1/#comment-117364</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Wed, 07 Oct 2009 09:44:42 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=858#comment-117364</guid>
		<description>Scott, it&#039;s grand. what I&#039;ll do is I&#039;ll write a new script which is just the multi-select code. Are you ok with jQuery? I&#039;d prefer to write this as a jQuery plugin. it would most likely end up much smaller than the original script.</description>
		<content:encoded><![CDATA[<p>Scott, it&#8217;s grand. what I&#8217;ll do is I&#8217;ll write a new script which is just the multi-select code. Are you ok with jQuery? I&#8217;d prefer to write this as a jQuery plugin. it would most likely end up much smaller than the original script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://verens.com/archives/2009/10/04/kfm2-has-begun-requesting-ideas-of-sample-plugins-to-develop/comment-page-1/#comment-117353</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Tue, 06 Oct 2009 17:18:42 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=858#comment-117353</guid>
		<description>I just took a look at it and have to say that I believe your original was much cooler.  There wasn&#039;t any reason to turn this into rocket science.  Yours was simple. Your code was 5k.  All of the jquery stuff is 64k.  Not that 64k is huge, but you get the idea.  Do you have any simple code samples of the inline multiselect?  I just don&#039;t have to time to mess with trying to copy the examples from the google site.  You can&#039;t just download a zip file.
Thanks again and again sorry for the posting in this area.</description>
		<content:encoded><![CDATA[<p>I just took a look at it and have to say that I believe your original was much cooler.  There wasn&#8217;t any reason to turn this into rocket science.  Yours was simple. Your code was 5k.  All of the jquery stuff is 64k.  Not that 64k is huge, but you get the idea.  Do you have any simple code samples of the inline multiselect?  I just don&#8217;t have to time to mess with trying to copy the examples from the google site.  You can&#8217;t just download a zip file.<br />
Thanks again and again sorry for the posting in this area.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/archives/2009/10/04/kfm2-has-begun-requesting-ideas-of-sample-plugins-to-develop/comment-page-1/#comment-117350</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Mon, 05 Oct 2009 22:15:10 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=858#comment-117350</guid>
		<description>Hi Scott, it&#039;s been /ages/ since I worked with that code. I&#039;d recommend you look at a more uptodate one, such as bjorsq&#039;s (Peter Edwards&#039;) &quot;inline multi-select&quot;, which I&#039;ve been using myself for some recent projects: http://code.google.com/p/inlinemultiselect/wiki/Introduction

If that doesn&#039;t scratch your itch, then I&#039;ll dig in and fix the original so that it works as it should.</description>
		<content:encoded><![CDATA[<p>Hi Scott, it&#8217;s been /ages/ since I worked with that code. I&#8217;d recommend you look at a more uptodate one, such as bjorsq&#8217;s (Peter Edwards&#8217;) &#8220;inline multi-select&#8221;, which I&#8217;ve been using myself for some recent projects: <a href="http://code.google.com/p/inlinemultiselect/wiki/Introduction" rel="nofollow">http://code.google.com/p/inlinemultiselect/wiki/Introduction</a></p>
<p>If that doesn&#8217;t scratch your itch, then I&#8217;ll dig in and fix the original so that it works as it should.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://verens.com/archives/2009/10/04/kfm2-has-begun-requesting-ideas-of-sample-plugins-to-develop/comment-page-1/#comment-117348</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 05 Oct 2009 19:39:09 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=858#comment-117348</guid>
		<description>Kae,
I know this is the wrong area for this but comments for your multi-select are closed and I could use a little help. I have the script and html all working great, thanks to your code, but my select options sometimes, and correctly, contain an ampersand since my data comes from a database table. When rendered I get the escaped &quot;&amp;&quot; sequence in its place but I need the text to display as is in my database table.  I&#039;ve tinkered with the script code but can&#039;t come up with a way to not escape this character.  Any ideas?</description>
		<content:encoded><![CDATA[<p>Kae,<br />
I know this is the wrong area for this but comments for your multi-select are closed and I could use a little help. I have the script and html all working great, thanks to your code, but my select options sometimes, and correctly, contain an ampersand since my data comes from a database table. When rendered I get the escaped &#8220;&amp;&#8221; sequence in its place but I need the text to display as is in my database table.  I&#8217;ve tinkered with the script code but can&#8217;t come up with a way to not escape this character.  Any ideas?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
