<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web development blog of SimpleMediaCode.com &#187; web applications</title>
	<atom:link href="http://simplemediacode.info/tag/web-applications/feed/" rel="self" type="application/rss+xml" />
	<link>http://simplemediacode.info</link>
	<description>Internet marketing, web development and maintenance of online communication</description>
	<lastBuildDate>Sat, 04 Feb 2012 13:04:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>WordPress theme feature vs. WordPress plugin. What is best?</title>
		<link>http://simplemediacode.info/wordpress-theme-feature-vs-wordpress-plugin-what-is-best-choice/</link>
		<comments>http://simplemediacode.info/wordpress-theme-feature-vs-wordpress-plugin-what-is-best-choice/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 12:20:43 +0000</pubDate>
		<dc:creator>Rolands Umbrovskis</dc:creator>
				<category><![CDATA[Coding web page]]></category>
		<category><![CDATA[Social network applications and plugins]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress plugin]]></category>
		<category><![CDATA[WordPress widget]]></category>

		<guid isPermaLink="false">http://simplemediacode.info/?p=197</guid>
		<description><![CDATA[<p>As WordPress developer I came to point where I have to decide: make some functions as WordPress theme features or make them more optional and theme independent as WordPress plugins. Both options have pros and cons.... <a href="http://simplemediacode.info/wordpress-theme-feature-vs-wordpress-plugin-what-is-best-choice/"><strong class="readmore">WordPress theme feature vs. WordPress plugin. What is best?</strong></a></p><p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></description>
			<content:encoded><![CDATA[<p>As WordPress developer at SimpleMediaCode.com I came to point where I have to decide: <strong>make some functions as WordPress theme features</strong> or <strong>make them more optional and theme independent as <a target="_blank" title="custom WordPress plugin development" href="http://simplemediacode.com/wordpress/" target="_blank">WordPress plugins</a></strong>.</p>
<h2>WordPress plugin coding</h2>
<p>If I create plugin for WordPress theme, I am hardening that, so that this function will make sure, that futures are theme independent, if for some reason someone would like to change WordPress theme. In this case, if function is displaying content for private reading (for membership pages), it will still available in other themes as well.</p>
<p><strong>Pluses by developing WordPress plugin:</strong></p>
<ul>
<li>WordPress theme theme independent,</li>
<li>cross theme usage,</li>
<li>more freedom to turn on and off.</li>
</ul>
<p><strong>Minus(es):</strong></p>
<ul>
<li>harder to implement in theme</li>
</ul>
<h2>WordPress theme feature coding</h2>
<p>But if You are using only one theme for site (custom design for site), I&#8217;m sure You can make functions as features for WordPress theme. This is good for specific placement of information, like sidebars or footer information.</p>
<p><strong>WP theme feature pluses:</strong></p>
<ul>
<li>good support of WordPress theme  hacks and hooks,</li>
<li>compatible with WordPress theme.</li>
</ul>
<p><strong>Minus(es):</strong></p>
<ul>
<li>sometimes theme administrations panel can come with too much options</li>
</ul>
<p>So, before creating WordPress theme options page, think about plugin replacements!</p>
<p>There are many more pros and cons&#8230; <span style="text-decoration: underline;">What&#8217;s Yours?</span></p>
<p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></content:encoded>
			<wfw:commentRss>http://simplemediacode.info/wordpress-theme-feature-vs-wordpress-plugin-what-is-best-choice/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Removing WWW from URI (or domain) with PHP</title>
		<link>http://simplemediacode.info/removing-www-from-uri-or-domain-with-php/</link>
		<comments>http://simplemediacode.info/removing-www-from-uri-or-domain-with-php/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 13:40:13 +0000</pubDate>
		<dc:creator>Rolands Umbrovskis</dc:creator>
				<category><![CDATA[Coding web page]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[duplicate content]]></category>
		<category><![CDATA[non-www site]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[www prefix]]></category>

		<guid isPermaLink="false">http://simplemediacode.info/?p=136</guid>
		<description><![CDATA[<p>Few weeks ago I wrote how to remove WWW from domain with .htaccess. In some cases or hosting plans it's not possible to view or use .htaccess file (e.g. some low cost or free hosting providers). Solution is PHP code which redirects all www requests to non www page.... <a href="http://simplemediacode.info/removing-www-from-uri-or-domain-with-php/"><strong class="readmore">Removing WWW from URI (or domain) with PHP</strong></a></p><p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></description>
			<content:encoded><![CDATA[<p>Few weeks ago I wrote <strong><a target="_blank" title="how to remove WWW from domain with .htaccess" href="http://mediabox.lv/en/remove-www-from-domain-with-htaccess/">how to remove WWW from domain with .htaccess</a></strong>. In some cases or hosting plans it&#8217;s not possible to view or use .htaccess file (e.g. some low cost or free hosting providers).</p>
<p><strong>Solution is PHP code</strong> which redirects all www requests to non www page. Since You are (should) use some general configuration or header file in Your web application, you can include this PHP code (very top of php page):</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php // Removing WWW from URI with PHP http://mediabox.lv/en/?p=136
if ('mediabox.lv' !== $_SERVER['HTTP_HOST']) {
header('Location: http://mediabox.lv' . $_SERVER['REQUEST_URI'], null, 301);
}
?&gt;
</pre>
<p>It use build-in <a target="_blank" href="http://php.net/manual/en/function.header.php">PHP header() function</a> to redirect all requests to another page, in this case: non-www domain.</p>
<p>Simple!</p>
<p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></content:encoded>
			<wfw:commentRss>http://simplemediacode.info/removing-www-from-uri-or-domain-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Final cut for my first WordPress plugin</title>
		<link>http://simplemediacode.info/final-cut-for-my-first-wordpress-plugin/</link>
		<comments>http://simplemediacode.info/final-cut-for-my-first-wordpress-plugin/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 13:17:37 +0000</pubDate>
		<dc:creator>Rolands Umbrovskis</dc:creator>
				<category><![CDATA[Facebook.com applications and pages]]></category>
		<category><![CDATA[Social network applications and plugins]]></category>
		<category><![CDATA[WordPress plugins and widgets]]></category>
		<category><![CDATA[draugiem.lv]]></category>
		<category><![CDATA[Extending Social networks]]></category>
		<category><![CDATA[FaceBook.com application]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WordPress plugin]]></category>
		<category><![CDATA[WordPress widget]]></category>

		<guid isPermaLink="false">http://simplemediacode.info/?p=112</guid>
		<description><![CDATA[<p>More than one month ago I published my first WordPress plugin "Draugiem.lv/lapas fan page" for social network in Latvia draugiem.lv (FRYPE.COM). And now I want to make final cut with version 1.0 (0.1.5) and upgrade it.... <a href="http://simplemediacode.info/final-cut-for-my-first-wordpress-plugin/"><strong class="readmore">Final cut for my first WordPress plugin</strong></a></p><p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></description>
			<content:encoded><![CDATA[<p>More than one month ago I published my first WordPress plugin &#8220;<a target="_blank" title="Draugiem.lv/lapas Fan page, WordPress Plugin on MediaBox.lv" href="http://mediabox.lv/en/wordpress-plugins/draugiem-lv-lapas-fan-page/">Draugiem.lv/lapas fan page</a>&#8221; for social network in Latvia draugiem.lv (FRYPE.COM). And now I want to make final cut with version 1.0 (0.1.5) and upgrade it.</p>
<p>For now on my To-Do list:</p>
<ol>
<li>make for widget separate administration page,</li>
<li>rewrite <strong>JSON </strong>parsing script from <strong>Javascript </strong>to <strong>PHP</strong>,</li>
<li>and remove counter* and make it optional.</li>
</ol>
<p>*counter reads ONLY clicks on profile and page links, nothing more</p>
<h2>Next on list</h2>
<p>An <strong>FaceBook.com application for pages and profiles</strong>. Now testing.</p>
<p>Download page for WordPress plugin on WordPress.org <a target="_blank" title="Draugiem.lv/lapas Fan page, WordPress Plugins" href="http://wordpress.org/extend/plugins/draugiemlvlapas-fan-page/">http://wordpress.org/extend/plugins/draugiemlvlapas-fan-page/</a></p>
<p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></content:encoded>
			<wfw:commentRss>http://simplemediacode.info/final-cut-for-my-first-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove index.html and/or index.php from the URL</title>
		<link>http://simplemediacode.info/remove-index-html-andor-index-php-from-the-url/</link>
		<comments>http://simplemediacode.info/remove-index-html-andor-index-php-from-the-url/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 17:56:40 +0000</pubDate>
		<dc:creator>Rolands Umbrovskis</dc:creator>
				<category><![CDATA[Coding web page]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[duplicate content]]></category>
		<category><![CDATA[RegEx]]></category>
		<category><![CDATA[RegExp]]></category>
		<category><![CDATA[regular expressions]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://simplemediacode.info/?p=8</guid>
		<description><![CDATA[<p>Inspired by my discussion with Kaspars on his homepage konstruktors.com  how to better remove index file. So I'll post both versions, because they use different methods: with and with out RewriteEngine On.... <a href="http://simplemediacode.info/remove-index-html-andor-index-php-from-the-url/"><strong class="readmore">Remove index.html and/or index.php from the URL</strong></a></p><p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></description>
			<content:encoded><![CDATA[<p>Inspired by my discussion with Kaspars on his homepage <a target="_blank" title="Konstruktors" href="http://konstruktors.com/blog/web-design/2036-remove-index-html-from-the-url/">konstruktors.com</a> how to better <strong>remove index file</strong>. So I&#8217;ll post both versions, because they use different methods: <span style="text-decoration: underline">with</span> and <span style="text-decoration: underline">with out</span> <strong>RewriteEngine On</strong>.</p>
<p>Here is mine with <strong>RewriteEngine On</strong> (works on this hosting and both versions of GoDaddy hosting plans <em>example1.com</em> and <em>example1.com</em>/<em>example2.com</em>):</p>
<pre class="brush: bash; title: ; notranslate">
# This will remove index.html AND index.php from URL
RewriteCond %{THE_REQUEST} \/index\.(php|html)\ HTTP [NC]
RewriteRule (.*)index\.(php|html)$ /$1 [R=301,L]
</pre>
<p>And Kaspar&#8217;s method without <strong>RewriteEngine On</strong>:</p>
<pre class="brush: bash; title: ; notranslate">
RewriteEngine On # remove this, if you have it already
RewriteCond %{REQUEST_URI} index\.html
RewriteRule ^(.*)index\.html$ /$1/ [R=301,L]
</pre>
<p>Purpose of this is to remove <strong>duplicate content</strong> from Internet.</p>
<p>[<strong>Update</strong> on 2010.03.30]</p>
<p>Please keep in mind that some <strong>web applications</strong> still need <strong>index.php</strong> file for <span style="text-decoration: underline">installation scripts</span> as referrers. So it&#8217;s good to keep it in mind and comment these line during installation process if it fails.</p>
<pre class="brush: bash; title: ; notranslate">
# This will remove index.html AND index.php from URL
# RewriteCond %{THE_REQUEST} \/index\.(php|html)\ HTTP [NC]
# RewriteRule (.*)index\.(php|html)$ /$1 [R=301,L]
</pre>
<p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></content:encoded>
			<wfw:commentRss>http://simplemediacode.info/remove-index-html-andor-index-php-from-the-url/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

