<?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"
	>
<channel>
	<title>Comments on: Reduce the Size of Your WordPress Plugin Footprint</title>
	<atom:link href="http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/feed/" rel="self" type="application/rss+xml" />
	<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/</link>
	<description>Weblog Tools Blogging Tools Blog</description>
	<pubDate>Tue, 02 Dec 2008 01:44:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Aaron :: miLienzo.com</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1171905</link>
		<dc:creator>Aaron :: miLienzo.com</dc:creator>
		<pubDate>Tue, 09 Oct 2007 19:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1171905</guid>
		<description>Hi Ronald
I just release my first plugin (using a lot of your help from your Devlounge guide - thanks) and as you have shown above I included the code for my "Print Admin Page" function. However this doesnt seem to work with WordPress 2.3

The include works fine with an old instal I have (2.1.3 I think) but not with 2.3 - it just gives a blank admin page suggesting that the include is not including.

Have you noticed this with 2.3? Can you suggest any reasons why this might be happening?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Ronald<br />
I just release my first plugin (using a lot of your help from your Devlounge guide - thanks) and as you have shown above I included the code for my &#8220;Print Admin Page&#8221; function. However this doesnt seem to work with WordPress 2.3</p>
<p>The include works fine with an old instal I have (2.1.3 I think) but not with 2.3 - it just gives a blank admin page suggesting that the include is not including.</p>
<p>Have you noticed this with 2.3? Can you suggest any reasons why this might be happening?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald Huereca</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163805</link>
		<dc:creator>Ronald Huereca</dc:creator>
		<pubDate>Tue, 10 Jul 2007 23:39:01 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163805</guid>
		<description>brVinceFMS, 
This is something a plugin author would have to do.</description>
		<content:encoded><![CDATA[<p>brVinceFMS,<br />
This is something a plugin author would have to do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brVinceFMS</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163758</link>
		<dc:creator>brVinceFMS</dc:creator>
		<pubDate>Tue, 10 Jul 2007 06:05:05 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163758</guid>
		<description>This is a very nice idea, amazing, but for those who are not really good on PHP or whatever about codes like me, hmm, difficult to follow the instructions how to do it, is there any plug-in to make it simple? lazy just as I am to learn, lol! :D</description>
		<content:encoded><![CDATA[<p>This is a very nice idea, amazing, but for those who are not really good on PHP or whatever about codes like me, hmm, difficult to follow the instructions how to do it, is there any plug-in to make it simple? lazy just as I am to learn, lol! <img src='http://weblogtoolscollection.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ankur</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163748</link>
		<dc:creator>Ankur</dc:creator>
		<pubDate>Tue, 10 Jul 2007 02:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163748</guid>
		<description>With my Gregarious social bookmarking plugin, there were so many functions and features that I implemented a plugin system for the plugin! Basically, different "modules" provide the features and the user can choose which modules to load. If you want a Digg button, enable the Digg module. Want a "Share This" link? Activate it. In this way, the plugin saves a lot of bandwidth and is significantly faster than loading everything even if it's not being used.</description>
		<content:encoded><![CDATA[<p>With my Gregarious social bookmarking plugin, there were so many functions and features that I implemented a plugin system for the plugin! Basically, different &#8220;modules&#8221; provide the features and the user can choose which modules to load. If you want a Digg button, enable the Digg module. Want a &#8220;Share This&#8221; link? Activate it. In this way, the plugin saves a lot of bandwidth and is significantly faster than loading everything even if it&#8217;s not being used.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reduce the Size of Your WordPress Plugin Footprint &#187; D&#8217; Technology Weblog: Technology News &#38; Reviews</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163723</link>
		<dc:creator>Reduce the Size of Your WordPress Plugin Footprint &#187; D&#8217; Technology Weblog: Technology News &#38; Reviews</dc:creator>
		<pubDate>Mon, 09 Jul 2007 21:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163723</guid>
		<description>[...] Full Article [...]</description>
		<content:encoded><![CDATA[<p>[...] Full Article [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Bradley Blogging Tips</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163722</link>
		<dc:creator>David Bradley Blogging Tips</dc:creator>
		<pubDate>Mon, 09 Jul 2007 20:51:55 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163722</guid>
		<description>I did a site for a friend's company, set them up with nice blogging options, half a dozen plugins, the works. We eventually decided a blog wouldn't work for them, so I stripped it right back and created a conventional static site, pretty straightforward to do but here's the howto in case you'd like to know - http://www.sciencetext.com/hydroseeding-website.html

db</description>
		<content:encoded><![CDATA[<p>I did a site for a friend&#8217;s company, set them up with nice blogging options, half a dozen plugins, the works. We eventually decided a blog wouldn&#8217;t work for them, so I stripped it right back and created a conventional static site, pretty straightforward to do but here&#8217;s the howto in case you&#8217;d like to know - <a href="http://www.sciencetext.com/hydroseeding-website.html">http://www.sciencetext.com/hyd.....bsite.html</a></p>
<p>db</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald Huereca</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163717</link>
		<dc:creator>Ronald Huereca</dc:creator>
		<pubDate>Mon, 09 Jul 2007 16:38:29 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163717</guid>
		<description>w00kie, Jason, Scott,

Thanks for bringing the bandwidth issue to my attention.  Using conditional includes will help with server load, but doesn't have any effect on bandwidth unless code is being served to the user (such as CSS, JavaScript, or HTML).  Using conditional includes is still a good idea from a server-side standpoint though.  I've updated the post.  Thanks for your feedback.</description>
		<content:encoded><![CDATA[<p>w00kie, Jason, Scott,</p>
<p>Thanks for bringing the bandwidth issue to my attention.  Using conditional includes will help with server load, but doesn&#8217;t have any effect on bandwidth unless code is being served to the user (such as CSS, JavaScript, or HTML).  Using conditional includes is still a good idea from a server-side standpoint though.  I&#8217;ve updated the post.  Thanks for your feedback.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Truden</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163716</link>
		<dc:creator>Truden</dc:creator>
		<pubDate>Mon, 09 Jul 2007 15:53:25 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163716</guid>
		<description>Great post!
I think it could be a good lesson for the WordPress developer team as well.

The "beauty" of the WP code is sucking up the speed of the weblog.
Loading index.php to call wp-blog-header.php, which will call wp-config.php, then wp-settings.php and finally end up with more than dozen of files loaded, one of which is functions.php with 78 (seventy eight)(!) functions.

There are so many places where you can simply use the "hard code" instead of calling file which contains the needed function.

Many of the plugins are so simple that you can just include them in the theme (as I did with "Quick-tags" in "Collapsing Blue" wp-theme) without using the plugin hook, and the authors of such plugins must provide installation instructions for users who would like to have them implemented in the theme.

Separating the functions in different files and loading them only when neded is the first thing a wp-developer must have in mind before start coding.</description>
		<content:encoded><![CDATA[<p>Great post!<br />
I think it could be a good lesson for the WordPress developer team as well.</p>
<p>The &#8220;beauty&#8221; of the WP code is sucking up the speed of the weblog.<br />
Loading index.php to call wp-blog-header.php, which will call wp-config.php, then wp-settings.php and finally end up with more than dozen of files loaded, one of which is functions.php with 78 (seventy eight)(!) functions.</p>
<p>There are so many places where you can simply use the &#8220;hard code&#8221; instead of calling file which contains the needed function.</p>
<p>Many of the plugins are so simple that you can just include them in the theme (as I did with &#8220;Quick-tags&#8221; in &#8220;Collapsing Blue&#8221; wp-theme) without using the plugin hook, and the authors of such plugins must provide installation instructions for users who would like to have them implemented in the theme.</p>
<p>Separating the functions in different files and loading them only when neded is the first thing a wp-developer must have in mind before start coding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163715</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 09 Jul 2007 15:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163715</guid>
		<description>Put me down with wOOkie and Jason. Sure seems like the backend of plugin code is only seen by the server. Maybe you meant saving server load? Breaking it up into separate files would mean php didn't have to read in as much code but it doesn't seem like a few K are going to make any difference.</description>
		<content:encoded><![CDATA[<p>Put me down with wOOkie and Jason. Sure seems like the backend of plugin code is only seen by the server. Maybe you meant saving server load? Breaking it up into separate files would mean php didn&#8217;t have to read in as much code but it doesn&#8217;t seem like a few K are going to make any difference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163714</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 09 Jul 2007 15:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163714</guid>
		<description>I agree with w00kie.
Seperating files should have no effect on the speed of a plugin as the functions are all compiled server side.  Splitting files will make things easier to read for beginner and novice plugin developers, but that's about it.</description>
		<content:encoded><![CDATA[<p>I agree with w00kie.<br />
Seperating files should have no effect on the speed of a plugin as the functions are all compiled server side.  Splitting files will make things easier to read for beginner and novice plugin developers, but that&#8217;s about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: w00kie</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163713</link>
		<dc:creator>w00kie</dc:creator>
		<pubDate>Mon, 09 Jul 2007 15:06:18 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163713</guid>
		<description>how is separating files for conditional inclusion and bandwidth in any way related?
this is all server-side, there is NO impact on what is sent to the user

the only relevant part of this post is about loading or not an hypothetical JS bundle depending on which page calls the plugin</description>
		<content:encoded><![CDATA[<p>how is separating files for conditional inclusion and bandwidth in any way related?<br />
this is all server-side, there is NO impact on what is sent to the user</p>
<p>the only relevant part of this post is about loading or not an hypothetical JS bundle depending on which page calls the plugin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dougal Campbell</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163710</link>
		<dc:creator>Dougal Campbell</dc:creator>
		<pubDate>Mon, 09 Jul 2007 13:36:50 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163710</guid>
		<description>You might want to note, however, that when using this kind of include pattern, you have to pay extra attention to security. Make sure you do something to block attackers from browsing directly to these snippet files in a way that could cause side-effects. This is extra-super important if your php install has globals turned on (which, of course, it shouldn't, because it's bad for security).</description>
		<content:encoded><![CDATA[<p>You might want to note, however, that when using this kind of include pattern, you have to pay extra attention to security. Make sure you do something to block attackers from browsing directly to these snippet files in a way that could cause side-effects. This is extra-super important if your php install has globals turned on (which, of course, it shouldn&#8217;t, because it&#8217;s bad for security).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andy</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163709</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Mon, 09 Jul 2007 12:59:48 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163709</guid>
		<description>Thanks Ronald - that was my guess. Even though the codex doesn't detail usage, version would be useful to know in all these cases. I have a lot of users of my plugins on the V2.0 family.</description>
		<content:encoded><![CDATA[<p>Thanks Ronald - that was my guess. Even though the codex doesn&#8217;t detail usage, version would be useful to know in all these cases. I have a lot of users of my plugins on the V2.0 family.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald Huereca</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163706</link>
		<dc:creator>Ronald Huereca</dc:creator>
		<pubDate>Mon, 09 Jul 2007 12:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163706</guid>
		<description>David, 
Unfortunately it is the plugin author's responsibility.

andy,
I *think* they were added with 2.1.</description>
		<content:encoded><![CDATA[<p>David,<br />
Unfortunately it is the plugin author&#8217;s responsibility.</p>
<p>andy,<br />
I *think* they were added with 2.1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LcF</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163703</link>
		<dc:creator>LcF</dc:creator>
		<pubDate>Mon, 09 Jul 2007 11:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163703</guid>
		<description>thanks for the tips. going to hack the plugin I used now :)</description>
		<content:encoded><![CDATA[<p>thanks for the tips. going to hack the plugin I used now <img src='http://weblogtoolscollection.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chess Teaching</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163702</link>
		<dc:creator>Chess Teaching</dc:creator>
		<pubDate>Mon, 09 Jul 2007 11:03:41 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163702</guid>
		<description>Interesting post.
I'll try to keep these steps in mind during the development of my chess publishing related plugins.</description>
		<content:encoded><![CDATA[<p>Interesting post.<br />
I&#8217;ll try to keep these steps in mind during the development of my chess publishing related plugins.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andy</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163698</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Mon, 09 Jul 2007 10:54:41 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163698</guid>
		<description>Thanks for this. It raises one question for me that is not covered in the WP codex - and indeed the above JS loading functions are not covered in detail either. Do you by any chance know with which WP version the likes of 'admin_print_scripts', 'wp_print_scripts' and 'wp_enqueue_script' were added? More than once I have used a call only to discover that it wasn't avalable in (for example) 2.0...</description>
		<content:encoded><![CDATA[<p>Thanks for this. It raises one question for me that is not covered in the WP codex - and indeed the above JS loading functions are not covered in detail either. Do you by any chance know with which WP version the likes of &#8216;admin_print_scripts&#8217;, &#8216;wp_print_scripts&#8217; and &#8216;wp_enqueue_script&#8217; were added? More than once I have used a call only to discover that it wasn&#8217;t avalable in (for example) 2.0&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Bradley Blogging Tips</title>
		<link>http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163697</link>
		<dc:creator>David Bradley Blogging Tips</dc:creator>
		<pubDate>Mon, 09 Jul 2007 10:15:43 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2007/07/09/reduce-the-size-of-your-wordpress-plugin-footprint/#comment-1163697</guid>
		<description>Is there anything a lowly blogger can do to reduce plugin overheads on their blog? Other than disabling plugins, that is...

db</description>
		<content:encoded><![CDATA[<p>Is there anything a lowly blogger can do to reduce plugin overheads on their blog? Other than disabling plugins, that is&#8230;</p>
<p>db</p>
]]></content:encoded>
	</item>
</channel>
</rss>
