<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Site Roller</title>
	<atom:link href="http://siteroller.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://siteroller.wordpress.com</link>
	<description>The up and comings at the worlds easiest CMS</description>
	<lastBuildDate>Thu, 29 Jan 2009 11:15:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='siteroller.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Site Roller</title>
		<link>http://siteroller.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://siteroller.wordpress.com/osd.xml" title="Site Roller" />
	<atom:link rel='hub' href='http://siteroller.wordpress.com/?pushpress=hub'/>
		<item>
		<title></title>
		<link>http://siteroller.wordpress.com/2009/01/29/21/</link>
		<comments>http://siteroller.wordpress.com/2009/01/29/21/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 10:56:23 +0000</pubDate>
		<dc:creator>betshean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://siteroller.wordpress.com/?p=21</guid>
		<description><![CDATA[A week or two ago I was chatting with one of the hot-shots at Apple Israel, and we got to discussing the future of the mobile web. The following is an outline of my thoughts, concluding with what it means to us CMS developers.  It definitely is a bit off topic. The iPhone is unquestionably [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=siteroller.wordpress.com&amp;blog=6155852&amp;post=21&amp;subd=siteroller&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A week or two ago I was chatting with one of the hot-shots at Apple Israel, and we got to discussing the future of the mobile web.<br />
The following is an outline of my thoughts, concluding with what it means to us CMS developers.  It definitely is a bit off topic.</p>
<p>The iPhone is unquestionably the hot kid on the block, and stands to dominate the entire industry.<br />
But unlike their entry and dominance of the mp3/mp4 player market, the other cell phone vendors plan on giving Apple a run for their money.</p>
<p>What we call a &#8220;smart phone&#8221; is more accurately a handheld computer with phone capabilities.  In the case of the iPhone, it runs a variant of Unix (similar to Apple&#8217;s OSX).   Dell has a similar phone that runs Windows, and there are no shortage of Linux and other vendors.  [Despite BeOS's recent change of ownership though, there are no BeOS smartphones yet.  Have faith.]</p>
<p>In order<br />
In a post on <a href="//www.crunchgear.com/2009/01/14/apple-after-steve">Techgear</a>, Scott Merrill refers to the &#8220;smartphone triumvirate&#8221; of the iPhone, Palm Pre, and Android.  He&#8217;s wrong.  While those two definitely require a closer look, the other players will outsell the iPhone alone.  Lets look at them all.</p>
<p>(In the bid for success, a phone needs users to buy the phones, and developers to make the applications that make the phone worthy of being bought.  A sign for how seriously Apple takes the competition is that it now allows for apps to be written in multiple programming languages.  At launch, they required Cocoa &#8211; the Apple scripting language.)</p>
<p>Palm has bet their company on the Pre, and it shows &#8211; it bests the iPhone on every front in all reviews I&#8217;ve read.  Palm still has a strong brand, and in its history has twice been the &#8220;must have&#8221; device for years on end (The original and the Treo).  They now have Apple designers on board as well [which has engendered a lawsuit from Apple], and are owned in large part by media outlets that will promote the brand. It runs a version of Linux dubbed WebOS, and allows app programming in the languages most used around the world (HTML/JS/PHP).</p>
<p>Android is not a phone &#8211; it is an operating system funded by Google and dozenss of partners.  It is VERY feature complete, and will be hawked by vendors from Sony to Motorola.  At least one of them [read: Samsung] is going to produce a device that will blow everyone away in style, price, battery, etc.  And being a branch of Linux, the developers for the apps already exist, and the barrier of entry are low.</p>
<p>Nokia makes up almost 50% of all cell phones sold worldwide.  They develop a operating system called Symbian, which is now open source and finding other uses besides cellphones.  While we haven&#8217;t seen any killer phones yet this year, they definitely have something up their sleeve.  And even older offerings like the E71 are <a href="http://www.joelonsoftware.com/items/2008/08/22.html">prefered by people as  popular as Joel</a>.</p>
<p>Blackberry is weak outside of the US, but to ignore manufacturer Research In Motion is plain dumb.  Verizon has sold over <a href="http://ca.reuters.com/article/businessNews/idCATRE50R6XT20090128">1 million Blackberrys</a> since November, and they claim over 50% of all phones sold in the US.  Their App store is larger and more accessible than Apple&#8217;s, and the furor <a href="http://www.google.com/hostednews/ap/article/ALeqM5j36Z_wftanVf3Lm0SyuOK9HaalpgD95SG2L82">the fuhror has made over keeping his</a> has provided some very positive press.</p>
<p>Windows is still around, and they have indicated that they are not about to throw in the towel.  While we do not expect any real value from a Dell/Windows phone, Microsoft is not know for competing in the value department.  But compete it does, and very well at that.</p>
<p>And who knows what <a href="http://www.engadget.com/2009/01/29/hitachi-h001-with-3d-display-leads-up-kddi-aus-spring-2009-line/">to expect from left field</a>?!</p>
<p>All but the last two use the web browser by default &#8211; the Apple Safari.  [Actually, they use "Webkit", of which Safari is just one branch.  Other branches are the Nokia S61, Google Chrome, and Linux Konquerer.]  The new Opera browser is available for all phones except the iPhone which doesn&#8217;t support it.  But it requires a separate download that most users will not do.</p>
<p><a href="http://www.no-margin-for-errors.com/2009/01/08/how-to-make-the-mobile-web-better-for-everyone/">S. Caron</a> points out that it is important that mobile browsers speak the same css as desktop browsers.  More importantly, it cannot be underestimated the importance of minimizing variables with new technologies.  There is so much for us to stomache about the mobile web and about cloud computing, let us at least have one constant.</p>
<p>Even Microsoft&#8217;s monopoly was good for a time &#8211; had there not been one standard then, we never would have had the world of computing that now exists &#8211; I remember the days of the Commodore and Atari.</p>
<p>A few last points.</p>
<p>1. The concept of cloud computing will take some strain off of the devices that connect, and add others, we have to see how that will play out.</p>
<p>2. There is a chance all of these devices will paly into the hands of Adobe, Sun, and Google who create runtime environments that are meant to be platform agnostic (Air, Java, and Gears, respectively.  There are others, but not for this post.)</p>
<p>3. Every computer has a chip [called a CPU] to do its regular processing, and another [called a GPU] to do its graphic work.  The graphic chip is exponentially more powerful, but that power is generally not useful for everyday tasks.<br />
A few weeks ago NVidia announced a milestone in its initiative to make an architecture for using the GPU for everyday use.  These changes are already being rolled out in &#8220;Snow Leopard&#8221;, the latest version of Apple&#8217;s OSX.  AMD claims to be not far behind on their own initative.<br />
As this plays out, we will see incredibly powerful supercomputers (such as one by NVIDIA that is 100x faster than anything else its size), and we will see much more power in little devices.  The ones who will be affected are the netbooks, and the cellphones.  Expect the advances in cellphones to outpace Moore&#8217;s law.</p>
<p>So what does this mean for us?  It means that we will have to add support for mobile devices, but only for Safari for the time being.  If a CMS is able to automate this task, it is another reason to use on and not just build from scratch.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/siteroller.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/siteroller.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/siteroller.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/siteroller.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/siteroller.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/siteroller.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/siteroller.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/siteroller.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/siteroller.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/siteroller.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/siteroller.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/siteroller.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/siteroller.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/siteroller.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=siteroller.wordpress.com&amp;blog=6155852&amp;post=21&amp;subd=siteroller&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://siteroller.wordpress.com/2009/01/29/21/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/339bcbe66f513cd15c244538c3cc75dd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">betshean</media:title>
		</media:content>
	</item>
		<item>
		<title>Building a better WYSIWYG editor</title>
		<link>http://siteroller.wordpress.com/2009/01/20/building-a-better-wysiwyg-editor/</link>
		<comments>http://siteroller.wordpress.com/2009/01/20/building-a-better-wysiwyg-editor/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 22:50:06 +0000</pubDate>
		<dc:creator>betshean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://siteroller.wordpress.com/?p=19</guid>
		<description><![CDATA[We built our own WYSIWYG editor, because we wanted one small, extensible and stable, that can edit inline, and that does not rely on a iFrame.  We could not find it, though we do use one by Cheeaun as our reference.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=siteroller.wordpress.com&amp;blog=6155852&amp;post=19&amp;subd=siteroller&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Been a busy week, a short update till we have a chance to write up the other happenings:</p>
<p>We rely very heavily on a WYSIWYG editor  ["What you see is what you get"] to edit the actual webpages &#8211; the client needs to edit the page without understanding the code that is modified by his changes.</p>
<p>This WYSIWYG was written by us about two months ago, and modified heavily last month.  This week, we finally sat down to rewrite from scratch to handle all of the improvements we wanted to shove into it.  It is quite a bit shorter and more complete now, and we hope to have it out the door by the end of the week.</p>
<p>A note to explain why we decided to write our own, especially considering our policy of trying to use third party code whenever possible :</p>
<p>There are many hundreds of WYSIWYG editors out there on the web, ranging from open source to thousands of dollars.  By far, the two most popular are <a href="http://tinymce.moxiecode.com">TinyMCE</a> and one called <a href="http://www.fckeditor.net">FCKEditor</a> (by Fred Knabben of course).  Both are open source, huge bulky beasts that will slow down any site that relies on them.  For all their weight, neither has essential features such as image upload.</p>
<p>A ways back, a fellow Mootooler named Cheeaun posted a really tiny editor (&lt;10k) for Mootools that was designed from the ground up to be small, simple, and cross platform.  He called it <a href="http://http://groups.google.com/group/mooeditable">MooEditable</a>, and he did a really great job.<br />
Except, he wanted it simple, and some important stuff was missing.<br />
Except, he didn&#8217;t want code from others, and ignored corrections and design enhancements made by the other devs.<br />
Except, he really doesn&#8217;t have the time to develop it himself.</p>
<p>This has created a fair amount of frustration, and I know of at least four forks to his project, and I haven&#8217;t gone looking.  [We started from the ground up, but have used his code for inspiration and to find gotchas].</p>
<p>Also, there is also one really, really annoying issue that has grated on me heavily, and I really thought it should be corrected.  Evry single one of the editors I have looked at (including MooEditable) loads the text to be edited into an iframe.  An iFrame is essentially a tiny browser window that sits within your web page, into which other pages can be loaded.</p>
<p>Since the early days of the internet, this has been necessary, since it was not possible for the browser to give you control over just one small section of the page, and the site managers didn&#8217;t want you editing the whole page, so iFrame it was.</p>
<p>The problem is that when you load one section into an iFrame, you lose all formatting for that section, and when you try to port it back into the page it doesn&#8217;t look like what you thought it would, so you don&#8217;t really get WYS.</p>
<p>It is no longer the early days of the internet.  Nowadays, not only is page manipulation possible without an iFrame on all modern browsers, it is even supported by Internet Explorer.  [OK, their implementation is very different, but it still mostly works.]  And while there are still bugs going around, it is far better than editing the page within a frame.</p>
<p>So, there was no choice but to build our own.  I am hoping we can get some of the other forks to look at our work and get them to help us develop it.  Because, as always, we welcome and encourage your help.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/siteroller.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/siteroller.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/siteroller.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/siteroller.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/siteroller.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/siteroller.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/siteroller.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/siteroller.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/siteroller.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/siteroller.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/siteroller.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/siteroller.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/siteroller.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/siteroller.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=siteroller.wordpress.com&amp;blog=6155852&amp;post=19&amp;subd=siteroller&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://siteroller.wordpress.com/2009/01/20/building-a-better-wysiwyg-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/339bcbe66f513cd15c244538c3cc75dd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">betshean</media:title>
		</media:content>
	</item>
		<item>
		<title>Git vs. SVN</title>
		<link>http://siteroller.wordpress.com/2009/01/16/git-vs-svn/</link>
		<comments>http://siteroller.wordpress.com/2009/01/16/git-vs-svn/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 10:38:46 +0000</pubDate>
		<dc:creator>betshean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://siteroller.wordpress.com/?p=16</guid>
		<description><![CDATA[Like all similarly sized projects, we need a way to collaborate on code, to handle bug reports, and to make the latest version available for testiung. After Yahoo&#8217;s anouncement to use startup GitHub&#8217;s services to manage their code, (GitHub is powered by troubled startup EngineYard, but that&#8217;s another issue) I decided that they&#8217;ve reachjed maturity [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=siteroller.wordpress.com&amp;blog=6155852&amp;post=16&amp;subd=siteroller&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Like all similarly sized projects, we need a way to collaborate on code, to handle bug reports, and to make the latest version available for testiung.</p>
<p>After Yahoo&#8217;s anouncement to use startup GitHub&#8217;s services to manage their code, (GitHub is powered by troubled startup EngineYard, but that&#8217;s another issue) I decided that they&#8217;ve reachjed maturity enough to move there.<br />
JQuery and Moo both use GIT, let us git going ourselves.</p>
<p>Little did I know how hard it is to move to git.  And I must be missing something, as I don&#8217;t see even basic error reporting for non git users.  [Lighthouse?]</p>
<p>Unfortunately, Google code is not an option, as they don&#8217;t host projects that are licensed under the OSI (we have a modified OSI license).</p>
<p>I have no desire to tie myself to Sourceforge, and have not yet found a collaboration CMS to  our liking to host it locally.  So, we are still in need of good ideas, at least until I learn GITHub more thoroughly.</p>
<p>Anybody have ideas?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/siteroller.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/siteroller.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/siteroller.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/siteroller.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/siteroller.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/siteroller.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/siteroller.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/siteroller.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/siteroller.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/siteroller.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/siteroller.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/siteroller.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/siteroller.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/siteroller.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=siteroller.wordpress.com&amp;blog=6155852&amp;post=16&amp;subd=siteroller&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://siteroller.wordpress.com/2009/01/16/git-vs-svn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/339bcbe66f513cd15c244538c3cc75dd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">betshean</media:title>
		</media:content>
	</item>
		<item>
		<title>More on SQLite</title>
		<link>http://siteroller.wordpress.com/2009/01/14/more-on-sqlite/</link>
		<comments>http://siteroller.wordpress.com/2009/01/14/more-on-sqlite/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 21:01:25 +0000</pubDate>
		<dc:creator>betshean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://siteroller.wordpress.com/?p=10</guid>
		<description><![CDATA[Had a rough day due to a permissions problem, which I must speak about in another post. Thought I&#8217;d post a few useful links regarding SQLite as they are bound to be useful for others. 1) Software - I mentioned in the last post the wonderful HeidiSQL, which is probably the best remote database tool [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=siteroller.wordpress.com&amp;blog=6155852&amp;post=10&amp;subd=siteroller&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Had a rough day due to a permissions problem, which I must speak about in another post.</p>
<p>Thought I&#8217;d post a few useful links regarding SQLite as they are bound to be useful for others.</p>
<p>1) Software -<br />
I mentioned in the last post the wonderful <a href="http://www.heidisql.com">HeidiSQL</a>, which is probably the best remote database tool I&#8217;ve used.  Our office purchased both <a href="http://sqlmanager.net/products/mysql/manager">EMS MySQL</a> manager and Heidi (while it was still proprietary).  Since than, HeidiSQL got into a fight with the guys at MySQL that resulted in them open sourcing the project, and I daresay that it has surpassed the much more sophisticated EMS in a number of ways.  [Though even EMS's free version has many more options than Heidi, and is an excellent program.]</p>
<p>It turns out there are a number of initiatives to write software for SQLite, including the following open source tools:</p>
<ul>
<li><a href="http://sqliteadmin.orbmu2k.de">SQLiteAdmin</a> &#8211; Windows tool, good reviews.<a href="http://sqliteadmin.orbmu2k.de"><br />
</a></li>
<li><a href="http://code.google.com/p/sqlite-manager/">SQLite manager</a> &#8211; <a href="https://addons.mozilla.org/en-US/firefox/addon/5817">A Firefox Plugin</a>.</li>
<li><a href="http://www.scottwickham.com/sqlitedm">SQLiteDM</a> &#8211; Web based, simple, works well.</li>
<li><a href="http://sourceforge.net/projects/sqlitemanager">SQLiteManager</a> &#8211; Web based. Looks solid, similar to phpMyAdmin, but hasn&#8217;t had updates in a few years.</li>
<li><a href="http://phpsqliteadmin.sourceforge.net/">phpSQLiteAdmin</a> &#8211; Young, but alive.  Haven&#8217;t looked much at it.</li>
</ul>
<p>2) Tutorials:<br />
SQLite can be accessed via bash over Telnet (using Putty, or even WinSCP), or using PHP.  Beware the permissions issue! Some of the better tutorials I&#8217;ve come across, for absolute beginners:</p>
<ul>
<li><a href="http://www.switchonthecode.com/tutorials/php-tutorial-creating-and-modifying-sqlite-databases">http://www.switchonthecode.com/tutorials/php-tutorial-creating-and-modifying-sqlite-databases</a></li>
<li><a href="http://devzone.zend.com/node/view/id/644">http://devzone.zend.com/node/view/id/644</a></li>
<li><a href="http://www.litewebsite.com/?c=49">http://www.litewebsite.com/?c=49</a></li>
</ul>
<p>And the official docs, at sqlite.org and PHP:</p>
<ul>
<li>http://www.sqlite.org/docs.html</li>
<li>http://www.php.net/manual/en/book.sqlite3.php</li>
</ul>
<p>3)<br />
For the record, it is not at all clear how SQLite stacks up to MySQL.  Many good comparisons such as <a href="http://stackoverflow.com/questions/3630/sqlite-vs-mysql">this</a> would have you believe that no serious site would be SQLite.  Others would say that SQLIte is better in one way or another, but less efficient [eg. more expensive if you are on NFS which charges according to use],  The official SQLite site claims that it trounces MySQL in every way including speed, and only gives the full databases the advantage of arcane query support.<br />
I doubt that either is correct.  On most hosts, even VPSs, the databses are stored on separate servers which can be more or less responsive that using the local db files generated by SQLite.  Dreamhost suffers from a terrible reputation when it comes to database response time [though overalll they sound fine], whereas NFS has a blazing fast cluster  [they should, considering that most of their clients pay 3x as much for the database as they do for the hosting].</p>
<p>3) Flat files<br />
In case any of you has a need to use flat files, the best beginners tutorials I have seen are <a href="http://www.spoono.com/php/tutorials/tutorial.php?id=32">here</a> and <a href="http://www.xentrik.net/php/flatfile.php">here</a>.  This article at <a href="http://www.albinoblacksheep.com/tutorial/flat">AlbinoBlackSheep</a> is also good, spending more time on the presentation than the code.  It is curious to me that only this <a href="http://php.about.com/od/learnphp/qt/php_flat_file.htm">About.com</a> article refers to the feof() and other basic functions.  Good luck.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/siteroller.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/siteroller.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/siteroller.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/siteroller.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/siteroller.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/siteroller.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/siteroller.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/siteroller.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/siteroller.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/siteroller.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/siteroller.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/siteroller.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/siteroller.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/siteroller.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=siteroller.wordpress.com&amp;blog=6155852&amp;post=10&amp;subd=siteroller&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://siteroller.wordpress.com/2009/01/14/more-on-sqlite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/339bcbe66f513cd15c244538c3cc75dd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">betshean</media:title>
		</media:content>
	</item>
		<item>
		<title>Moving to SQLite</title>
		<link>http://siteroller.wordpress.com/2009/01/13/default-database-change/</link>
		<comments>http://siteroller.wordpress.com/2009/01/13/default-database-change/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 12:25:25 +0000</pubDate>
		<dc:creator>betshean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[As much as we love mySQL (and we do love mySQL), we have decided not to use it by default for SiteRoller, and it will not even show on the auto installer.  (It will be available in the advanced install dialogue, and can be turned on from the admin page.) Our decision was based on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=siteroller.wordpress.com&amp;blog=6155852&amp;post=1&amp;subd=siteroller&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As much as we love mySQL (and we do love mySQL), we have decided not to use it by default for SiteRoller, and it will not even show on the auto installer.  (It will be available in the advanced install dialogue, and can be turned on from the admin page.)</p>
<p>Our decision was based on our own experiences with shared hosting.  Most hosts have ridiculous or inconsistent database implementations, and even once the database is setup, the user can&#8217;t access the data through managers without the painful phpMyAdmin or variations (the buggy FlashMyAdmin?).  Hosts with a robust MySQL that allow connections from the likes of Heidi are just to few and far between.  [Even our current host, NearlyFreeSpeech.net requires the DB to be setup and paid for separately - not good for most of our clientelle.]  We try hard not to alienate the non techies from our framework.</p>
<p>So, we had plans to use flat files, accessing the data through classes such as the one at <a title="Flatfile manager" href="http://lukeplant.me.uk/resources/flatfile" target="_blank">http://lukeplant.me.uk/resources/flatfile</a>.  These have the advantages of definitely being available everywhere php is, and the data can be stored and edited easily.   Huge advantages!</p>
<p>However, it would mean that any third party class that relies on mySQL would not work.  Since the bulk of 3rd party classes rely on mySQL, and one of our ideologies is to use third party classes, we had a problem.  Contacting each class vendor to ask them to modify their class, or writing a sql wrapper, sounds awful.</p>
<p>The final decision is to use SQLite.  SQLite is a php5 module that allows the creation and querying of flat files with SQL.  It is available on every host we&#8217;ve checked out, and doesn&#8217;t require any special permissions or passwords.  True, Heidi may not be able to speak to it (though perhaps such a client could and should be created), and we won&#8217;t have the ubiquity of pure php.  And we may yet have to write a wrapper for it.  But it still seems safer than any other solution.</p>
<p>For the end user.  This means nothing.  For the big thousand page site, you should switch to mysql in the admin page anyways.  For developers, know what to expect.</p>
<p>And now, back to coding.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/siteroller.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/siteroller.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/siteroller.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/siteroller.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/siteroller.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/siteroller.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/siteroller.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/siteroller.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/siteroller.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/siteroller.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/siteroller.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/siteroller.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/siteroller.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/siteroller.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=siteroller.wordpress.com&amp;blog=6155852&amp;post=1&amp;subd=siteroller&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://siteroller.wordpress.com/2009/01/13/default-database-change/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/339bcbe66f513cd15c244538c3cc75dd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">betshean</media:title>
		</media:content>
	</item>
	</channel>
</rss>
