<?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"
	>

<channel>
	<title>Utah PHP Users Group &#187; Richard K Miller</title>
	<atom:link href="http://uphpu.org/author/richardkmiller/feed/" rel="self" type="application/rss+xml" />
	<link>http://uphpu.org</link>
	<description>PHP application development and support</description>
	<pubDate>Thu, 21 Aug 2008 16:23:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Book Review: MediaWiki Administrators&#8217; Tutorial Guide</title>
		<link>http://uphpu.org/2007/12/26/book-review-mediawiki-administrators-tutorial-guide/</link>
		<comments>http://uphpu.org/2007/12/26/book-review-mediawiki-administrators-tutorial-guide/#comments</comments>
		<pubDate>Thu, 27 Dec 2007 05:25:39 +0000</pubDate>
		<dc:creator>Richard K Miller</dc:creator>
		
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://uphpu.org/2007/12/26/book-review-mediawiki-administrators-tutorial-guide/</guid>
		<description><![CDATA[Packt Publishing sent me a copy of MediaWiki Administrators&#8217; Tutorial Guide for review. MediaWiki is the open source wiki software that powers Wikipedia.org. Many organizations, including mine, use MediaWiki to power their own wikis. The book is a bit incoherent at times and needs polishing, but it had some good sections and introduced me to [...]]]></description>
			<content:encoded><![CDATA[<p>Packt Publishing sent me a copy of <a href="http://www.amazon.com/MediaWiki-Administrators-Tutorial-Guide-installation/dp/1904811590">MediaWiki Administrators&#8217; Tutorial Guide</a> for review. MediaWiki is the open source wiki software that powers Wikipedia.org. Many organizations, including mine, use MediaWiki to power their own wikis. The book is a bit incoherent at times and needs polishing, but it had some good sections and introduced me to several new features of MediaWiki.</p>
<p>The title is a misnomer since the first half of the book addresses MediaWiki basics, topics with which an &#8220;administrator&#8221; should already be familiar. Besides chapter 2, which covers installation, it&#8217;s not until Chapter 7 (&#8221;Administrating MediaWiki&#8221;) that the book really begins to address administrative topics. In a few places the book even suggests that you &#8220;request an administrator&#8221; (sic) to complete a certain task. (Wait, I thought I was the administrator?) The book might more aptly be called &#8220;The MediaWiki User and Administrator&#8217;s Guide.&#8221;</p>
<p>These are the chapters:</p>
<ul>
<li>Chapter 1 - About MediaWiki</li>
<li>Chapter 2 - Installing MediaWiki</li>
<li>Chapter 3 - Starting MediaWiki</li>
<li>Chapter 4 - Advanced Formatting</li>
<li>Chapter 5 - Organizing Content</li>
<li>Chapter 6 - MediaWiki in a Multi-User Environment</li>
<li>Chapter 7 - Administrating MediaWiki</li>
<li>Chapter 8 - Customizing MediaWiki</li>
<li>Chapter 9 - Hacking MediaWiki</li>
<li>Chapter 10 - MediaWiki Maintenance</li>
<li>Chapter 11 - Cool Hacks</li>
</ul>
<p>There were a few instances of gushing praise for wiki software that seemed untempered and unsubstantiated. These weakened the book, as if the book were fighting for legitimacy. For example, the introduction states, &#8220;If we think a forum, blog, and CMS are easy solutions for this, then a wiki will be an even easier solution for the problem.&#8221; (p. 9) Not a line you&#8217;d use to sell MediaWiki door to door. After explaining how to edit a page (again, is that necessary for an administrator?) it reads, &#8220;Can editing be simpler than that? I don&#8217;t think so.&#8221; (p. 15) An administrator&#8217;s guide doesn&#8217;t need to preach the virtues of the software &#8212; administrators are already sold &#8212; but if it attempts this, the claims should be specific and backed by evidence, not sweeping and general. If the book were to explain that &#8220;X percentage of users prefer wiki software because of Y and Z&#8221; or &#8220;wiki software isn&#8217;t right for every situation, but it&#8217;s great for A and B,&#8221; the administrator might actually have some ammunition with which to sell wiki software to users and decision makers.</p>
<p>Chapter 6 addresses using MediaWiki in a multi-user environment. I think this should be assumed from the beginning. Again, wiki software is not universally superior to all other blogging or CMS packages. It should be assumed that MediaWiki will be used for multi-user collaboration since that&#8217;s where it excels. It shouldn&#8217;t be an afterthought.</p>
<p>I found several typos and awkwardly written sentences. The editing team should have done another pass over the book.</p>
<p>The book taught me several new things about MediaWiki, including the following:</p>
<ul>
<li>Interwiki links, page 61 &#8212; &#8220;Using interwiki links, we can create links to other sites on the Internet. This gives users the option to avoid pasting in entire URLs (as for regular web pages) and instead use shorthand by adding a prefix to another wiki.&#8221;</li>
<li>External images, page 67 &#8212; Use $wgAllowExternalImages = true; then write something like this: [http://www.packtpub.com http://www.packtpub.com/images/PacktLogoSmall.png]</li>
<li>Definition Lists, page 75 &#8212; &#8220;To indicate a definition term, use a semi colon at the beginning of the line. To indicate the definition, use a colon&#8230;.&#8221;</li>
<li>Creating a gallery, page 100 &#8212; You can create pages with four columns of image thumbnails.</li>
<li>Magic Words, page 107 &#8212; &#8220;Magic words [like NOTOC or NOEDITSECTION] are a few reserved words that are used for special purposes in MediaWiki. They are used to create special types of formatting.&#8221;</li>
<li>Using Sort Keys to Sort Category Listings, page 121 &#8212; Category listings are sorted alphabetically by first letter. With sort keys you can cause specific categories to appear out of the usual order.</li>
</ul>
<p>Administrators and developers will like the sections on how to use templates (p. 122), how to create a new skin (p. 208), and how to write MediaWiki extensions (p. 226).</p>
<p>I would have liked more information on these topics:</p>
<ul>
<li>Subversion (SVN) usage and best practices</li>
<li>Database internals</li>
<li>Memcached</li>
<li>Administering multiple installations of MediaWiki (wiki farms)</li>
</ul>
<p>This book could conceivably be two. After being thoroughly proofread and polished to match the audience, the first half of the book could be a great resource for MediaWiki users. The second half,  expanded to include the above topics, would be well suited for a MediaWiki administrator.</p>
]]></content:encoded>
			<wfw:commentRss>http://uphpu.org/2007/12/26/book-review-mediawiki-administrators-tutorial-guide/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Yahoo releases Security Best Practices resource</title>
		<link>http://uphpu.org/2006/09/07/yahoo-releases-security-best-practices-resource/</link>
		<comments>http://uphpu.org/2006/09/07/yahoo-releases-security-best-practices-resource/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 20:45:25 +0000</pubDate>
		<dc:creator>Richard K Miller</dc:creator>
		
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://uphpu.org/2006/09/07/yahoo-releases-security-best-practices-resource/</guid>
		<description><![CDATA[Yahoo Developer Network has just released a page dedicated to security best practices.  There are resources for protecting your server, your network, and your application.  It&#8217;s just one page right now, but there are links to other resources.
Yahoo Developer Security Best Practices
]]></description>
			<content:encoded><![CDATA[<p>Yahoo Developer Network has just released a page dedicated to security best practices.  There are resources for protecting your server, your network, and your application.  It&#8217;s just one page right now, but there are links to other resources.</p>
<p><a href="http://developer.yahoo.com/security/">Yahoo Developer Security Best Practices</a></p>
]]></content:encoded>
			<wfw:commentRss>http://uphpu.org/2006/09/07/yahoo-releases-security-best-practices-resource/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Essential PHP Security</title>
		<link>http://uphpu.org/2006/08/17/essential-php-security/</link>
		<comments>http://uphpu.org/2006/08/17/essential-php-security/#comments</comments>
		<pubDate>Thu, 17 Aug 2006 10:41:00 +0000</pubDate>
		<dc:creator>Richard K Miller</dc:creator>
		
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://phlyte.uphpu.org/?p=5</guid>
		<description><![CDATA[I recently finished reading Essential PHP Security by Chris Shiflett (O&#8217;Reilly).  It was a good, quick read, and for me it was mostly a review of principles I had previously read on Chris&#8217;s blog. The main principles are filter input and escape output.  Using separate arrays for each kind of data is a [...]]]></description>
			<content:encoded><![CDATA[<p>I recently finished reading <a href="http://www.amazon.com/gp/product/059600656X/">Essential PHP Security</a> by Chris Shiflett (O&#8217;Reilly).  It was a good, quick read, and for me it was mostly a review of principles I had previously read on <a href="http://shiflett.org/">Chris&#8217;s blog</a>. The main principles are <b>filter input</b> and <b>escape output</b>.  Using separate arrays for each kind of data is a best practice:</p>
<pre class="code">
// <b>filter input and assign it to the &#8220;$clean&#8221; array</b>
if (ctype_alnum($_POST[&#8217;name&#8217;]))
    $clean[&#8217;name&#8217;] = $_POST[&#8217;name&#8217;];

// <b>escape HTML output with htmlentities()</b>
$html[&#8217;name&#8217;] = htmlentities($clean[&#8217;name&#8217;], ENT_QUOTES);
echo &#8220;You entered the name $html[name].&#8221;;

// <b>escape MySQL output with mysql_real_escape_string()</b>
$mysql[&#8217;name&#8217;] = mysql_real_escape_string($clean[&#8217;name&#8217;]);
mysql_query(&#8221;INSERT INTO table (name) VALUES (&#8217;$mysql[name]&#8217;)&#8221;);
</pre>
<p>After reading the book I was only left with one question: is HTTP Authentication over SSL fairly secure?  (I assumed it would be.)  I emailed Chris with my question and he responded quickly in the affirmative.  Thanks, Chris.</p>
]]></content:encoded>
			<wfw:commentRss>http://uphpu.org/2006/08/17/essential-php-security/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Notes from PHP Hacker Night</title>
		<link>http://uphpu.org/2006/06/06/notes-from-php-hacker-night/</link>
		<comments>http://uphpu.org/2006/06/06/notes-from-php-hacker-night/#comments</comments>
		<pubDate>Tue, 06 Jun 2006 23:38:00 +0000</pubDate>
		<dc:creator>Richard K Miller</dc:creator>
		
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://phlyte.uphpu.org/?p=13</guid>
		<description><![CDATA[The PHP Hacker Night last Thursday was excellent.  John, Jonathan, Alvaro and I got together to talk PHP over dinner and dessert.  My notes from the evening are on my blog if anyone is interesting.  I learned some really cool things and was glad I went:
http://www.richardkmiller.com/blog/archives/2006/06/report-on-php-hacker-night
]]></description>
			<content:encoded><![CDATA[<p>The PHP Hacker Night last Thursday was excellent.  John, Jonathan, Alvaro and I got together to talk PHP over dinner and dessert.  My notes from the evening are on my blog if anyone is interesting.  I learned some really cool things and was glad I went:</p>
<p><a href="http://www.richardkmiller.com/blog/archives/2006/06/report-on-php-hacker-night">http://www.richardkmiller.com/blog/archives/2006/06/report-on-php-hacker-night</a></p>
]]></content:encoded>
			<wfw:commentRss>http://uphpu.org/2006/06/06/notes-from-php-hacker-night/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP Hacker night to hold you over until the next UPHPU meeting</title>
		<link>http://uphpu.org/2006/05/30/quotphp-hacker-nightquot-to-hold-you-over-until-the-next-uphpu-meeting/</link>
		<comments>http://uphpu.org/2006/05/30/quotphp-hacker-nightquot-to-hold-you-over-until-the-next-uphpu-meeting/#comments</comments>
		<pubDate>Wed, 31 May 2006 01:02:00 +0000</pubDate>
		<dc:creator>Richard K Miller</dc:creator>
		
		<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://phlyte.uphpu.org/?p=15</guid>
		<description><![CDATA[This Thursday evening John Taber and I are holding a &#8220;PHP hacker night&#8221; in Provo and we&#8217;d like to invite everyone to come.  It will be really informal; we&#8217;ll look at PHP frameworks, code generators, mashups, the latest tech news, etc &#8212; whatever comes to mind.  There won&#8217;t be any agenda.  We&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>This Thursday evening John Taber and I are holding a &#8220;PHP hacker night&#8221; in Provo and we&#8217;d like to invite everyone to come.  It will be really informal; we&#8217;ll look at PHP frameworks, code generators, mashups, the latest tech news, etc &#8212; whatever comes to mind.  There won&#8217;t be any agenda.  We&#8217;ll basically just talk PHP and programming while eating dinner and dessert.<br />
Here&#8217;s the plan:</p>
<p>Thursday, June 1st<br />
7:30 - Dinner at Las Tarascas Mexican restaurant (map: <a href="http://tinyurl.com/n5ncn">http://tinyurl.com/n5ncn</a>)<br />
8:30 or 9:00 - We&#8217;ll walk over to Pudding On The Rice (<a href="http://www.puddingontherice.com">www.puddingontherice.com</a>) for dessert</p>
<p>Las Tarascas and Pudding on the Rice are located almost next door to each other in the Albertson&#8217;s shopping center on University Pkwy.  (From I-15 take the University Pkwy exit and head east.  They are on the right-hand side as you come down the hill into Provo &#8212; across the street from the dollar theater.)  Both locations have free Internet access.</p>
<p>By the way, if you haven&#8217;t tried Pudding on the Rice, it&#8217;s pretty cool.  They serve rice pudding in a variety of flavors, and they have LCD screens on the walls, the decor is all white, the tables hang from the ceiling, and the menu is projected.  It&#8217;s really futuristic looking.  If you have a white iBook you&#8217;ll blend right in.</p>
<p>Feel free to come to just dinner or dessert if you can&#8217;t come to both.  John and I will be there the whole time.  I think it will be a fun and productive evening.  (And you should try the toffee rice pudding.)</p>
<p>Richard</p>
]]></content:encoded>
			<wfw:commentRss>http://uphpu.org/2006/05/30/quotphp-hacker-nightquot-to-hold-you-over-until-the-next-uphpu-meeting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Southern California Linux Expo</title>
		<link>http://uphpu.org/2006/02/06/southern-california-linux-expo/</link>
		<comments>http://uphpu.org/2006/02/06/southern-california-linux-expo/#comments</comments>
		<pubDate>Mon, 06 Feb 2006 13:17:00 +0000</pubDate>
		<dc:creator>Richard K Miller</dc:creator>
		
		<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://phlyte.uphpu.org/?p=39</guid>
		<description><![CDATA[See Andi Gutmans introduce the new Zend framework this weekend at the Southern California Linux Expo.
Announcing the Southern California Linux Expo this weekend (Feb 11-12!).  John Taber of Trafmetrics in Heber is going and has secured a discount rate for local group members who are interested in going.  Use the code &#8220;UPUG&#8221; or [...]]]></description>
			<content:encoded><![CDATA[<p>See Andi Gutmans introduce the new Zend framework this weekend at the Southern California Linux Expo.<br />
Announcing the Southern California Linux Expo this weekend (Feb 11-12!).  John Taber of Trafmetrics in Heber is going and has secured a discount rate for local group members who are interested in going.  Use the code &#8220;UPUG&#8221; or &#8220;PRLUG&#8221; to get 50% off the rate for a full access pass.  See Andi Gutman announce the new Zend framework and enjoy the warm weather (And if you&#8217;re looking for accommodations, the Radisson Inn is offering $99/night to SCALE attendees.)</p>
<p>See <a href="http://www.socallinuxexpo.org/">http://www.socallinuxexpo.org/</a> for more info.</p>
]]></content:encoded>
			<wfw:commentRss>http://uphpu.org/2006/02/06/southern-california-linux-expo/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
