<?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>Geek Gumbo</title>
	<atom:link href="http://www.geekgumbo.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekgumbo.com</link>
	<description>A potpourri of Web Development, Linux, and Windows tips, tidbits, and observations</description>
	<lastBuildDate>Thu, 10 May 2012 21:12:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>The Windows Snipping Tool</title>
		<link>http://www.geekgumbo.com/2012/05/10/the-windows-snipping-tool/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-windows-snipping-tool</link>
		<comments>http://www.geekgumbo.com/2012/05/10/the-windows-snipping-tool/#comments</comments>
		<pubDate>Thu, 10 May 2012 21:10:03 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=4563</guid>
		<description><![CDATA[Blog authors out there and anyone writing tutorials all have a need to capture screen images.  For a number of years this need has been filled by a number of commercial and open source screen capture tools. All of these &#8230; <a class="more-link" href="http://www.geekgumbo.com/2012/05/10/the-windows-snipping-tool/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.geekgumbo.com/wp-content/uploads/2012/05/snip3.png"><img class="alignleft size-full wp-image-4564" title="snip3" src="http://www.geekgumbo.com/wp-content/uploads/2012/05/snip3.png" alt="" width="301" height="146" /></a>Blog authors out there and anyone writing tutorials all have a need to capture screen images.  For a number of years this need has been filled by a number of commercial and open source screen capture tools.<br />
All of these tools will capture anything on your screen, whether its an Internet site, or an application running on your computer.</p>
<p>Some of the more popular screen capture tools for Windows are: <a title="Snagit" href="http://www.techsmith.com/snagit.html">Snagit</a> ($50), <a title="Faststone Capture" href="http://www.faststone.org/FSCaptureDetail.htmhttp://">FastStone Capture</a> ($20), <a title="Jing" href="http://www.techsmith.com/jing.html">Jing</a> (free), and <a title="Greenshot" href="http://getgreenshot.org/">Greenshot</a> (free).  Snagit and Jing also work on a Mac.  All these tools will take an image of your screen, or piece of your screen, and then give you an editor with the captured image so you can add features to the screenshot.  The image then can be saved in a file, placed in an email, attached to the email, or used in your blog article or tutorial.</p>
<p>I have personally used Snagit, FastStone, and Greenshot.  I've been using Greenshot for this blog for a number of years.  Each of these tools have there feature set and there ease of use.  Snagit was the most feature rich, but it also was the hardest to use.  I found FastStone and Greenshot easy to use, press the Print Screen button, outline your image, and the image editor appears with the image in the editor.  FastStone has more features than Greenshot.  Greenshot is a light weight simple screen capture with limited features, which is all I need most of the time, since I usually bring up Gimp to edit the image.</p>
<p>A friend of mine at work has been dropping screen shots into his email, so I asked him what he used.  He said the Microsoft Snipping Tool.  Microsoft has included this tool with their operating system since Vista, but you can also <a title="download Snipping Tool for XP" href="http://xpsnipping.codeplex.com/releases/view/69679">download it for XP SP2</a>.  I'm amazed that I just found out about the Snipping Tool after all these years, and I thought my readers may not know about it either.</p>
<p>To start off, from using the other screen capture tools, I can say that the Microsoft Snipping Tool is lightweight with limited features.  For example, if you wanted to type some text, or a title, directly on your image before saving it, you couldn't do that with the Snipping Tool.  You'd have to use one of the above tools.  If you want to freehand write or use a yellow transparent marker, you can do that, but that's the extent of the Snipping Tool's extra editor functionality.</p>
<p>Why use the Windows Snippet Tool?  Well, like the other tools it brings up an editor window, and at the same time it drops your selection into the clipboard, which means you can directly paste your images into your email.  Greenshot does this also.  Probably the reason you most want to use it is it comes with Windows, so you don't have to download and install screen capture software.</p>
<div id="attachment_4565" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/05/snip15.png"><img class="size-full wp-image-4565" title="snip15" src="http://www.geekgumbo.com/wp-content/uploads/2012/05/snip15.png" alt="" width="600" height="898" /></a><p class="wp-caption-text">Bringing up the Snipping Tool from the Menu Search</p></div>
<p>&nbsp;</p>
<p>You can bring up the snipping tool by going to your start menu and typing "sn" and clicking on Snipping Tool.  The entire screen will gray out.  If you just want to use a rectangular snip, the most common snip, you can just click the mouse down and outline the screen image area you want to capture.  The area of the screen you outline will un-grey, which will be the image you capture.  Let go of the mouse button and presto the image is in your clipboard.  You can also save it to file.  In addition to the Rectangular capture, you can capture a free-form snip, which means you draw around the image you want saved, just your application Window, or a Full-screen capture which would include your menus with the main window.</p>
<div id="attachment_4566" class="wp-caption aligncenter" style="width: 260px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/05/Snip25.png"><img class="size-full wp-image-4566" title="Snip25" src="http://www.geekgumbo.com/wp-content/uploads/2012/05/Snip25.png" alt="" width="250" height="148" /></a><p class="wp-caption-text">Different Types of Captures You Can Do</p></div>
<p>&nbsp;</p>
<p>Once you have your image captured in your Clipboard, open up your email and paste it in to your message. Wahlah, you now have images included with your emails.  You can easily try this out by doing a test email to yourself to see how it works.  If your email does not take the image, make sure you set your emails to be formatted in HTML in your email program.  That's about it.  Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2012/05/10/the-windows-snipping-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chrome &#8211; the Most Popular Browser?</title>
		<link>http://www.geekgumbo.com/2012/04/25/chrome-the-most-popular-browser/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=chrome-the-most-popular-browser</link>
		<comments>http://www.geekgumbo.com/2012/04/25/chrome-the-most-popular-browser/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 02:58:01 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Browsers]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=4540</guid>
		<description><![CDATA[Well, it finally happen!  Chrome is now the most popular browser surpassing Firefox.  This happen in March.   This is the first month that Chrome passed Firefox.   Of course, I'm not surprised since every time you do a Google search you &#8230; <a class="more-link" href="http://www.geekgumbo.com/2012/04/25/chrome-the-most-popular-browser/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.geekgumbo.com/wp-content/uploads/2012/04/browse05.png"><img class="alignleft size-full wp-image-4543" title="browse05" src="http://www.geekgumbo.com/wp-content/uploads/2012/04/browse05.png" alt="" width="250" height="178" /></a></p>
<p>Well, it finally happen!  Chrome is now the most popular browser surpassing Firefox.  This happen in March.   This is the first month that Chrome passed Firefox.   Of course, I'm not surprised since every time you do a Google search you see the Chrome download button.</p>
<p>I remember a developer friend of mine that fell in love with Chrome when it first came out, and couldn't stop gushing about it, yes, I'm referring to you, imperialWicket.  He claimed Chrome's development tools matched Firefox.  I'm not so sure.</p>
<p>The March Statistics for Browser Usage as reported by <a title="W3schools.com" href="http://www.w3schools.com/browsers/browsers_stats.asp">W3Schools</a> in percentage of users was:</p>
<p>Chrome  37.3%,<br />
Firefox  36.3%,<br />
Internet Explorer  18.9%<br />
Safari  4.4%<br />
Opera  2.3%</p>
<p>There is a perception that Firefox is slower.  Let's take a look at some performance specs.  These specs were generated by <a title="lifehacker.com" href="http://lifehacker.com/browser-speed-tests/">lifehacker.com</a>.    The numbers are approximate, as I interpreted them from lifehacker's graphs.</p>
<p>Which browser loads from scratch the fastest</p>
<p>Chrome  17                 2.0 seconds<br />
Internet Explorer     3.5 seconds<br />
Opera 11.61               4.0 seconds<br />
Firefox 10                  4.25 seconds</p>
<p>Which browser loads tab pages the fastest?  In a test of loading 9 tab pages linked to different URLs.</p>
<p>Opera                        6 seconds<br />
Internet Explorer   16 seconds<br />
Firefox                     17 seconds<br />
Chrome                   21 seconds</p>
<p>In loading a new URL from scratch when you hit the enter button.</p>
<p>Chrome                      0.25 seconds<br />
Internet Explorer     0.65 seconds<br />
Firefox                       1.35 seconds<br />
Opera                         1.35 seconds</p>
<p>JavaScript performance in number of runs per second with the higher being better</p>
<p>Chrome                      1200<br />
Firefox                         800<br />
Internet Explorer      650<br />
Opera                           610</p>
<p>In DOM/CSS performance, i.e. how fast can the browser format the page in runs per second and load the DOM, the higher the better.</p>
<p>Opera                         7200<br />
Firefox                       2700<br />
Chrome                      2500<br />
Internet Explorer    1900</p>
<p>Finally, let's look at memory usage with 9 tabs open, the smaller number at the top is better</p>
<p>Firefox                       220,000<br />
Opera                        260,000<br />
Chrome                     330,000<br />
Internet Explorer    350 000</p>
<p>Base Memory Usage</p>
<p>Chrome                      42 MB of RAM<br />
Opera                         48 MB<br />
Firefox                       63 MB<br />
Internet Explorer    63 MB</p>
<p>Memory Usage with extensions added with 9 tabs and 5 extensions</p>
<p>Firefox                300,000<br />
Opera                  500,000<br />
Chrome               650,000</p>
<p>Let's put this all in English.  Chrome is the faster when first starting up and loading the first page or a new URL, but if there are many tabs pages to load Chrome is slower than other browsers.  As a developer, you usually have many tab pages open at any time.  Opera is fastest in reloading tabs, or previous content.</p>
<p>All these specs are well and good, and one would think that its time to make the switch to Chrome from  Firefox.  But hold on here, what prompted this article is a little problem, I've run into at work with Chrome.</p>
<p>We have a fairly complex web app that loads four drop downs using Ajax.  The first drop down is a very long list of company data, about 2000 records, for the user to select from, and then after the selection, the information is processed to populate the next drop down, and so fourth until all the drop downs are populated without reloading the page.  The application runs perfectly in Firefox, but when I select the drop down button in Chrome, only half of the first list loads.  Firefox loads the entire list.</p>
<p>No biggee, right, it works in Firefox, so it must be a memory or cache issue.  I'll just configure the Chrome browser and give it some more memory.  Wrong.  And here's we start to see some real differences between Firefox and Chrome.</p>
<p>To configure almost everything in Firefox, all you do is type about:config in the URL space and you can change memory size and cache size, or most any browser parameter there is in Firefox.</p>
<p>Chrome has no way to configure memory or anything under the hood.  It has a very limited settings menu, and I mean limited, by clicking on the wrench and going to settings, that's it.  In looking at the above specs, Chrome uses the most memory especially with many tabs in use.</p>
<p>Now, look at the memory set aside by each browser on initial download .</p>
<p>Private Memory: Chrome: 40,820K    Firefox: 337,012K<br />
Shared Memory:  Chrome: 10,728K    Firefox:  62,880K<br />
Total Memory:    Chrome: 51,548K       Firefox: 399,892K</p>
<p>Virtual Memory<br />
Private Memory:  Chrome: 32,704K    Firefox: 327,760K<br />
Mapped Memory:   Chrome: 59,998K    Firefox: 184,412K</p>
<p>OK, who cares Chrome loads fast, right.  But one would think that there may be some applications where it might be helpful to give Chrome a little more memory, like the one above.   Chrome has the smallest amount of memory, that is not configurable, yet uses the most memory.   C'mon Google.</p>
<p>What do you say to your boss who tells you to fix Chrome, when everything works in Firefox.  It's not like IE, where you need to just change some CSS.  Google won't let configure Chrome.  Big hint Google!  Allow us to configure your browser, and like with Firefox, we'll promise, to be careful.</p>
<p>And one more gripe.  Despite the protestations of my colleague, imperialWicket, I don't find the development tools in Chrome near as easy to use as the tools in Firefox.  If you load the Web Development toolbar in Firefox, everything is one click away.  I'm not saying Chrome doesn't have these tools, but to me, Firefox's tools are easier to work with and are laid out much better.</p>
<p>To me, Firefox is suffering from old man on the block syndrome, which is unjustified, and quite frankly has very little advertising compared to Chrome.  Google has pushed Chrome onto the masses on every search they do.  With that type of advertising, you knew eventually Google would get Chrome to number one.</p>
<p>Fast loading, is not everything in a browser, there are other features that weigh heavier in my mind, so sorry, Goggle, but I'm staying with Firefox for web development.</p>
<p style="text-align: center;"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/04/browse35.jpg"><img class="aligncenter  wp-image-4544" title="browse35" src="http://www.geekgumbo.com/wp-content/uploads/2012/04/browse35.jpg" alt="" width="315" height="236" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2012/04/25/chrome-the-most-popular-browser/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>From Legacy Code to Space an Exploration</title>
		<link>http://www.geekgumbo.com/2012/03/28/from-legacy-code-to-space-an-exploration/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=from-legacy-code-to-space-an-exploration</link>
		<comments>http://www.geekgumbo.com/2012/03/28/from-legacy-code-to-space-an-exploration/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 19:10:13 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Editorials]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=4521</guid>
		<description><![CDATA[From my perspective, there are two types of developers, those who are employed by companies and get a steady pay check, and those who are not, who are freelancers or contractors, who work on new web sites and applications as &#8230; <a class="more-link" href="http://www.geekgumbo.com/2012/03/28/from-legacy-code-to-space-an-exploration/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.geekgumbo.com/wp-content/uploads/2012/03/explorespace.jpg"><img class="alignleft size-full wp-image-4528" title="explorespace" src="http://www.geekgumbo.com/wp-content/uploads/2012/03/explorespace.jpg" alt="" width="256" height="197" /></a>From my perspective, there are two types of developers, those who are employed by companies and get a steady pay check, and those who are not, who are freelancers or contractors, who work on new web sites and applications as hired guns.  There are basically two types of software engineering jobs.  One is to maintain and add new features to legacy code, and the other is to develop a new code and web sites.</p>
<p>I've been on both sides, in my current job I maintain legacy code, fixing bugs, and adding small features.  In my previous job I was a contractor writing a completely new sofware Intranet application.  Just so you know up front, my preference is to develop something new.  It's the difference of getting a brand new car, or riding in a used car, of course, the pays better with the legacy code.</p>
<p>When you work for a company on legacy code you don't have a lot of choices.  The system exists and by George, that's the system you learn.  For example, my current company uses Drupal, Zencart, Moodle and a home grown licensing system all interlinked together on one web site.  Naturally, I will be working with Drupal, Zencart, and Moodle in my work.</p>
<p>On the other hand, when you freelance you could run into a multitude of different systems, and if you develop something new from scratch you get to select from a multitude of open source applications.  That can be a thorny problem.  It adds to the dilemma of a freelancer.  Which package to use?</p>
<p>I know when I first started out I jumped around to many CMS systems trying to find the perfect one.  I've developed sites using Drupal, TextPattern, Simple CMS, WordPress, and Joomla.  I'm, at this stage, very flexible.  What it did is train me in what to look for in a CMS system, and generally how they are put together.  You pay attention to forums, and other developers opinions as you jump around.  You do a lot of Internet research.  When you run into snags using an application, if you can't solve a problem easily, or it takes too long to figure something out, or there's a lack of documentation, you tend to drop one application and move to another.  I think this is a natural part of the learning curve in becoming a better developer.</p>
<p>You reach a point in time, when you grow tired of the research, the research of which is the best system to use, and start to like an application, you grow accustomed to its quirks and understand them.  You start to gravitate toward using a certain CMS, for example, for a particular application.  You use the same shopping cart, or the same CMS, or the same PHP framework.  Why, because you don't have time for the research, you want to get paid, and its the fastest way to get the job done.  You don't want to constantly be learning new systems.</p>
<p>One of the problems in the open source community is the multitude of choices you have to get a job done.  Too many, in my mind, everyone wants to build a better mousetrap. It adds considerably to a developers learning curve.</p>
<p>What I have noticed in the last year or so is the start of a consolidation.  Developers don't want that many choices.  They would love to have a reduced selection to one or two in each application category, and I believe, the community is moving in that direction.  It's getting tougher to come out with a new application category that is not out there, and entrenched.  For example, if you developed a new CMS system it would be tough to get past the current top three CMS systems: Drupal, Joomla, and WordPress, unless you had some radically new idea or feature, and even then, in a short time, developers in one of the entrenched CMS systems would have a plug-in for the new feature.  It is a sign that the PHP community is maturing.  Why waste time on a new system, we'll just add to the defacto standard system, less time and trouble.</p>
<p>This maturing has its pluses and minuses.  On the plus side, it lowers the cost of entry into becoming a developer, you don't have to experiment with a lot of systems, just learn one or two.  The minus and the sad part is creativity suffers.  PHP developers are not as well rounded.  PHP development is less fun, and becomes more work, 9-5, and go home.  No more late night, round the clock, marathons, which is an experience, that is worth experiencing at least once, especially if your working with a team of developers.</p>
<p>It becomes more difficult to do something new without using a standard application helper.  I'm reminded of Hamburger Helper, its still code, but its different.  Who wants to develop all that code when I can plug an application or snippet of code into the program, and work around it.  If you need a new feature, let's see which open-source application we can include that does that feature.</p>
<p>Are we as programmers saying the age of the Internet is maturing, that everything that is worth doing on web sites has been done?  It seems that way.  Where is the next breakthrough?  Ajax has come and been adopted.</p>
<p>It used to be faster and faster chips.  Do we need more blazing speed from our computers, unless your doing a lot of intense calculations, probably not.  Then it was disk space.  Disk space is now cheap and the computers support the bigger disks.  Do we need more disk space from our laptop drives, probably not.  Then it was graphic cards to support virtual reality.  Are graphic cards there now, probably.  And so computers become a commodity.  Where do the new things come from?</p>
<p>Well, someone took an idea that others had previously tried without success, and made it new and refreshing, the iPad, which is just another tablet computer repackaged.  What made it was apps.  Certainly, eReaders hit the market big, old technology repackaged.  There will always be room for different types of products.</p>
<p>The latest craze is the smartphone with apps.  It now behooves programmers to become app familiar, which means learning another language, Objective C, at least for Apple.  Smartphones are the new toy, yes, they use the Internet, but more than that, they have changed the way we behave socially.  How many of you have gone out to a restaurant and have not seen someone at another table, fiddling with their smartphone, very few.  It's awful.  What happen to talking with one another?  I digress.</p>
<p>The days of Internet glory seems to me to be wrapping up.  We're on the right side of the bell curve.  The computer has moved from its beginning where it was housed in huge cabinets, in a huge air conditioned and filtered rooms, to the Digital mini-computers for small work groups, to the personal computer, to laptops, to tablets, to the Smartphone, quite a journey.</p>
<p>Software too has progressed from assembly code to operating systems, to multiple programming languages, to application utilities, to object oriented, to design patterns, to apps.  It's kept pace with the computer's history, after all, they are linked.</p>
<p>What does the future have to offer?  As the world becomes over populated, and an Indian programmer can do the same work as a Chinese programmer, or an American programmer.</p>
<p>Not counting the wars that will result from a country not being able to feed its growing population, or provide oil to its people.  We will become more aware of our planet, as the planet starts to consolidate.  Perhaps one world government, an interesting concept.  Does everyone in the world get one vote.  They could with universal communications.  We now have universal Internet.</p>
<p>What's left in a united world? Oh, there's still some technology improvements needed here on earth like better use of wind and solar energy, and the development of ocean technologies to recover what will be our only source of non-depleted resources.  Remember the fish are supposed to be gone by 2050, fish farming could be big.  In the end, individually, we end up paying attention to more and more minute details in our work, there will be individual creativity in small corners and niches, and the entertainment industry will always thrive to occupy our time, otherwise we become Orwell's "1984," a sad thought.   Some would say we're already there.</p>
<p>Consolidation into one world government, with the world's technologies becoming commodities, can only lead to one thing, exploration of outer space, the last great, endless  frontier.  And to end on this thought, what a glorious pursuit of the unknown it will be.  If space travel can be made safe, and technology can gradually invent warp speed, what a fun time it would be to be alive.  Beam me up, Scotty.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2012/03/28/from-legacy-code-to-space-an-exploration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using PHP Template Languages</title>
		<link>http://www.geekgumbo.com/2012/03/25/using-php-template-languages/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-php-template-languages</link>
		<comments>http://www.geekgumbo.com/2012/03/25/using-php-template-languages/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 15:27:47 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=4503</guid>
		<description><![CDATA[One of the battles that seems to go on forever in the PHP community is whether to use a template language, in addition to, the PHP language. The argument most heard is PHP is already a template language, why do &#8230; <a class="more-link" href="http://www.geekgumbo.com/2012/03/25/using-php-template-languages/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the battles that seems to go on forever in the PHP community is whether to use a template language, in addition to, the PHP language.</p>
<p>The argument most heard is PHP is already a template language, why do I need another language?  And thus the debate begins.</p>
<p>The debate, I find, is one-sided.  Every comment I see of this nature is from PHP developers, and I suspect,  good PHP developers that develop entire web sites for their clients.  What I mean is they develop the entire site themselves.  If this is the case, why do you want a template language.  I agree.  The PHP developer develops the views, and everything behind it.  They understand PHP, so to put PHP in a view is a no-brainer.  They don't need a template language.</p>
<p>The problem with all the comments against template languages is that the only people reading articles on template languages are PHP developers.  And they're the one's making the comments.  Graphic designers don't read these articles or comments.  They read articles like how to resize a background image in an elastic web layout.</p>
<p>But, and here's where we start the other side, but if a graphic designer, or a team of graphic designers, is involved in developing a web site, then a template language makes some sense.</p>
<p>The company I'm working at has a team of graphic designers.  My impressions of graphic designers is they are interested in aestheic design, not PHP code.  Their personalities, are for the line of the art work, not a line of code. They like CSS.  They like moving an image 10 pixels to the right to line the image up with another image.  It gives them satisfaction.</p>
<p>That's why they're graphic designers.  They have an aversion for wanting to learn code.  You mention a line of code and their eyes glaze.</p>
<p>They like neat things, and neat looking HTML in their views.  Putting PHP in their views messes up their neatness.  PHP code in a view looks messy.  They stumble when trying to figure out what the line of code is doing, and how to test that in their design.</p>
<p>It seems to me that here is where a template language is desired, and why template languages for PHP are useful.</p>
<p><span style="color: blue;">What makes for a good template language?</span></p>
<p>Let's start with the graphic designer's side.  It has to be easy to understand by graphic designers.  Simple concise  commands with very little template coding is needed.  PHP is not that.</p>
<p>It has to make their page look neat and orderly.  It should have HTML like tags with short concise syntax.  PHP is much more verbose, and sometimes takes many lines which messes up neatness.</p>
<p>The ability to test the design, without the real data using lorem ipsum blocks of text, for example. It should have a test mode to test designs before going live on the web site without necessarily having to have the PHP code in place.</p>
<p>It should support the creation of reusable templates.  It should allow a base template with small blocks of text templates throughout the site.</p>
<p>For the PHP developer side, a little more is needed from their template language.</p>
<p>It must be secure.  For PHP programmers to know a template language by default compiles secure code gives them peace of mind and saves time.  A web designer may know nothing about security when designing a page.</p>
<p>It must separate the developer from the designer.  The designer wants to change the page design without worrying about the code. The developer wants to change the code without worrying about messing up the designer's page.</p>
<p>It should support modern PHP programming, that is PHP 5 and  object oriented code.</p>
<p>It should be fast.  Your putting another layer on with a template language.  If the template language slows the site down, developers will want to go direct.</p>
<p>Finally, it should by easy to understand and learn.  The problem with template languages is they use another syntax, which has to be learned by both developers and graphic designers.  Interestingly, PHP developers balk at this.  I'm not sure why?  If the template is easy to learn both developers and designers won't mind using it.</p>
<p><span style="color: blue;">What PHP template languages come closest to the above criteria?</span></p>
<p>The template engines that come closest to the above criteria, at this point in time, are: <a title="Smarty" href="http://www.smarty.net/">Smarty3</a>,  <a title="Dwoo" href="http://dwoo.org/">Dwoo</a>,  <a title="PHPTAL" href="http://phptal.org/">PHPTAL</a>, and  <a title="Twig" href="http://twig.sensiolabs.org/">Twig</a>.</p>
<p>I will close with one other consideration.  Many developers use PHP frameworks when they develop.  Frameworks like: Symfony2, Kohana3 and Yii support reusable templates and reusable sub templates within views.  This speeds up the development of views and view files.  That doesn't mean that this precludes the use of a separate template language with the PHP framework.</p>
<p>It does sort of bring the debate to full circle though.  If I have the ability to have templates with a PHP framework, do I still want to use a template language for my graphic designers?   I think yes for the graphic designers in the crowd, but hey, if I'm a PHP developer, I might answer no.  What do you think?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2012/03/25/using-php-template-languages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MultiMarkdown</title>
		<link>http://www.geekgumbo.com/2012/03/01/markdown-and-multimarkdown/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=markdown-and-multimarkdown</link>
		<comments>http://www.geekgumbo.com/2012/03/01/markdown-and-multimarkdown/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 13:39:22 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=4462</guid>
		<description><![CDATA[Some concerns that computer users may have after writing a document are: 1. Will they be able to read the document they wrote years from now with today's application, for example, one version of MS Word to another? 2. Will &#8230; <a class="more-link" href="http://www.geekgumbo.com/2012/03/01/markdown-and-multimarkdown/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/mmd5.png"><img class="alignleft size-full wp-image-4489" title="mmd5" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/mmd5.png" alt="" width="200" height="200" /></a>Some concerns that computer users may have after writing a document are:</p>
<p>1. Will they be able to read the document they wrote years from now with today's application, for example, one version of MS Word to another?</p>
<p>2. Will they be able to read the document they wrote in one program with a different vendor's program, if they want to switch vendors, for example, read an MS Word document in LibreOffice, or Word Perfect?</p>
<p>3. Will they be able to read the document used for one purpose in another program used for another purpose, for example, read a HTML web page in MS Word?</p>
<p>4. Will they be able to reformat a document easily if needed for another project, for example, HTML formatting to make it visible in a browser window?</p>
<p>5. Will a document written with an application in one operating system,  Windows, be able to move to another operating system, Linux?</p>
<p>All of these concerns deal with formatting text.  You want the finished document to have a special font and bold highlighting, for example.  Companies, like  Microsoft and Adobe, know this, and have used proprietary formatting for years to keep their customers buying new versions of their products, instead of switching to another vendor's product.</p>
<p>There have been many bridge programs written to go from one formatted document to another, and many application programs have added the ability to read multiple formats to make it easier, mostly to get MS Word documents into their program.</p>
<p>There is one common element in all of these specially formatted programs, the bare text itself.  The only changes to the text from one application to another is the way the text is formatted.  If this is the case, it seems logical to create a program that will format any text to any format you want, independent of any particular vendor's program, or what the program does.</p>
<p>This may sound logical, but it's harder than you think.  How do you tell a document to underline a word, or make a title bold.  There has to be some formatting, enter Markdown.  Say What?</p>
<p>Markdown is a text formatting conversion program invented by John Gruber.  John got tired of writing HTML formatting tags when writing web page content, and wrote Markdown, a Perl based program that takes specially marked text files, and changes them into W3C compliant HTML.</p>
<p>What makes Markdown different than any of these other programs?</p>
<p>John had two goals in mind.  Since he had to add some formatting to be able convert the text to HTML, he wanted Markdown text to be easy to write, and easy to read.  HTML documents are neither easy to write, nor easy to read.  Markdown is both.</p>
<p><a title="Markdown" href="http://daringfireball.net/projects/markdown/">Markdown is a free open-source program</a> that first came out in 2004.   The open-source community picked up on the program, and has improved the program.  Michael Fortin added some additional formatting in <a title="PHP Markdown" href="http://michelf.com/projects/php-markdown/">PHP Markdown</a>.  A WordPress plugin that reads Markdown was created.  John MacFarlane rewrote the program in C making it faster.  Fletcher Penney wrote <a title="MultiMarkdown" href="http://fletcherpenney.net/multimarkdown/">MultiMarkdown</a>, a superset of Markdown, that included the above variations, and much more formatting.  The constant in these efforts is John Gruber's original Markdown syntax.</p>
<p>I became aware of the program when I was contemplating writing some Kohana 3 documentation, and the Kohana 3 team moved to, and requested, contributors to use Markdown for writing documentation.</p>
<p>The general flow in using the Markdown program is to write your text with Markdown formatting, then run the Markdown program inputting the text file, and out comes a W3C compliant HTML document.</p>
<p>Don't groan when I talk about adding Markdown formatting to your text, we're not talking HTML tags here.</p>
<p>For example, to make a paragraph with Markdown, or MultiMarkdown, you leave a blank line between your paragraphs.  How's that for formatting, easy to read and easy to write.</p>
<p>Let's take a look at some more examples of other Markdown formatting.</p>
<p><span style="color: #3366ff;">_make italic_</span><br />
<span style="color: #3366ff;"> __make bold__</span></p>
<p><span style="color: #3366ff;">#This is an &lt;h1&gt; header in HTML</span><br />
<span style="color: #3366ff;"> ##This is an &lt;h2&gt; header in HTML</span><br />
<span style="color: #3366ff;"> ###This is an &lt;h3&gt; header</span></p>
<p>Here's an ordered list<br />
<span style="color: #3366ff;"> 1. Cat</span><br />
<span style="color: #3366ff;"> 2. Dog</span><br />
<span style="color: #3366ff;"> 3. Parrot</span></p>
<p><span style="color: #000000;">Here's an unordered list</span><br />
<span style="color: #3366ff;"> * Cat</span><br />
<span style="color: #3366ff;"> * Dog</span><br />
<span style="color: #3366ff;"> * Cow</span></p>
<p><span style="color: #3366ff;">&gt; a block quote</span><br />
<span style="color: #3366ff;"> &gt;</span></p>
<p>These examples show you the simplicity of the formatting.  When you run the above text through the MultiMarkdown program it outputs perfect HTML with opening and closing tags, easy to use and easy to read.   As you can see, the syntax is not hard to learn, start with the <a title="Markdown syntax" href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a>,  and then move up to <a title="MultiMarkdown pdf" href="http://fletcher.github.com/peg-multimarkdown/mmd-manual.pdf">MultiMarkdown syntax</a>.</p>
<p>So what is the difference between Markdown and MultiMarkdown?  The basic syntax is the same, since MultiMarkdown is a superset of Markdown.  Learning the syntax is easy, start with the <a title="Markdown syntax" href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a>,  and then move up to <a title="MultiMarkdown pdf" href="http://fletcher.github.com/peg-multimarkdown/mmd-manual.pdf">MultiMarkdown syntax</a>.</p>
<p>Multimarkdown allows you to output in more formats: XHTML, LaTeX, OpenDocument, OPML, and from these formats you can go to Microsoft Word, and many other word processing formats.  MultiMarkdown has additional formatting for footnotes, tables, math support, citations and bibliography, smart typography, table and image captions, and definition lists, which weren't in the original Markdown.  Like Markdown it runs on all operating systems.</p>
<div id="attachment_4486" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/markdown551.png"><img class="size-full wp-image-4486" title="markdown55" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/markdown551.png" alt="" width="600" height="388" /></a><p class="wp-caption-text">Converting MultiMarkdown, MMD, formatted text</p></div>
<p>&nbsp;</p>
<p>Why spend the time to load the program on your computer, and learn the basic syntax of MultiMarkdown?</p>
<p>The MultiMarkdown formatting is simplistic compared to the opening and closing tags of HTML, and formatting text using MultiMarkdown is easier to type.   Using MultiMarkdown makes formatting text easy, its fast, and makes reading the text after your finished like your reading an unformatted document, plus you can change the finished text to any format you want at a later date.  MultiMarkdown makes writing HTML web content a breeze.  What's not to like.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2012/03/01/markdown-and-multimarkdown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress EZPZ Backup</title>
		<link>http://www.geekgumbo.com/2012/02/27/wordpress-ezpz-backup/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-ezpz-backup</link>
		<comments>http://www.geekgumbo.com/2012/02/27/wordpress-ezpz-backup/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 13:18:51 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=4385</guid>
		<description><![CDATA[I was backing up GeekGumbo over the weekend. I went to the WordPress admin panel, brought up EZPZ Backup, and did what I always do, clicked the mouse one time... Back ups are not one of my favorite things to &#8230; <a class="more-link" href="http://www.geekgumbo.com/2012/02/27/wordpress-ezpz-backup/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was backing up GeekGumbo over the weekend. I went to the WordPress admin panel, brought up EZPZ Backup, and did what I always do, clicked the mouse one time...</p>
<p><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/ezpz65.png"><img class="aligncenter size-full wp-image-4388" title="ezpz65" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/ezpz65.png" alt="" width="600" height="123" /></a></p>
<p>Back ups are not one of my favorite things to do. They always take time, if you do back ups manually, like I do, you end up sitting, watching the screen, as the status bar indicator slowly creeps across the landscape, that is if you have a status bar. Then comes the download of a rather large file. It's not my favorite thing to do, because it takes time, dead time.</p>
<p>The other concern I always have with backups is you always wonder if, the worse thing possible happens, and your site gets corrupted, or gets a virus, or crashes, will the backup really work, and restore the site to its last backup pristineness.</p>
<p>So while I was sitting there in that dead time backing up my site, I realized what a pleasure EZPZ Backup has made backups.</p>
<p>EZPZ Backup is a WordPress plugin. Yes, it only works with WordPress, but lets stop a second. There are now over 18,000 WordPress plugins, that's right 18,000. You can do pretty much anything you want with a WordPress installation.</p>
<p>On the WordPress plugin site, I searched on the word "backup" and got some 60 pages listed, and I stopped counting at 30 back up programs, most of them in one way, or another, claimed they were easy, or simple, or instant. You get the idea.</p>
<p>How would any one know which program was better than another?  You're certainly not going to test 30 back up programs. Each of these programs, or plugins, take a developer's time and effort to write, test, and keep up to date. Forgive me if I miscounted, but since I've been using EZPZ backup, the plugin has been updated four or five times, all on the author's time and energy. Kudos to all the WordPress plugin authors. Here, Here!</p>
<div id="attachment_4390" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/ezpz45.png"><img class="size-full wp-image-4390" title="ezpz45" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/ezpz45.png" alt="" width="600" height="454" /></a><p class="wp-caption-text">EZPZ One Click Backup Status Screen</p></div>
<p>&nbsp;</p>
<p>I used another backup program before EZPZ. Why do you look for another back up program? We'll, the back up takes to long, or it doesn't tell you what it's backing up, or your not sure if there's a way to restore the back up, or there's no status bar. It's either it takes to long, or there's a lack of information about what is going on, or what is in the back up. In short, you lose trust in the program.</p>
<p>And that's the bottom line on backup programs. Why am I spending all this dead time backing up my web site, if I don't trust that my site is 100% protected. It's about trust.</p>
<p>I went looking for another back up program and luckily, pure luckily, came up with EZPZ. I've been using it for about two years now, and I'm still thoroughly happy with the program, and trust the program. Why?</p>
<p>Because it is a one click backup, you can schedule backups if you prefer, it has a status screen that tells you exactly what it is doing every step of the way, it has a status bar showing you how far it's gotten with each part of the back up process. The information screen walks you through the program as it is working, and most important, it's fast. It backs up the growing GeekGumbo site faster than I can download the compressed backup file to my computer. That's fast.</p>
<div id="attachment_4395" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/ezpz75.png"><img class="size-full wp-image-4395" title="ezpz75" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/ezpz75.png" alt="" width="600" height="368" /></a><p class="wp-caption-text">EZPZ Backup Options Menu</p></div>
<p>&nbsp;</p>
<p>Considering it is open-source and free software, that I've been using for a couple of years now, I thought EZPZ deserved a plug. If you have a WordPress web site, and there are over 71 million WordPress web sites out there, and you want to back up your site with some peace of mind that you're protected if all your hard work goes up in an instance of chaos, I highly recommend EZPZ One Click Backup.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2012/02/27/wordpress-ezpz-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla 1.5, 1.7, 2.5: Customizing search results</title>
		<link>http://www.geekgumbo.com/2012/02/21/joomla-1-5-1-7-2-5-customizing-search-results/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=joomla-1-5-1-7-2-5-customizing-search-results</link>
		<comments>http://www.geekgumbo.com/2012/02/21/joomla-1-5-1-7-2-5-customizing-search-results/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 03:14:28 +0000</pubDate>
		<dc:creator>imperialWicket</dc:creator>
				<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=4448</guid>
		<description><![CDATA[Joomla includes component view overrides in templates. This is the ideal technique for restyling and rearranging your search results in Joomla. If you are not familiar with the output overrides, they are explained well in an old post on the &#8230; <a class="more-link" href="http://www.geekgumbo.com/2012/02/21/joomla-1-5-1-7-2-5-customizing-search-results/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Joomla includes component view overrides in templates. This is the ideal technique for restyling and rearranging your search results in Joomla. If you are not familiar with the output overrides, they are explained well in <a href="http://docs.joomla.org/Understanding_Output_Overrides">an old post on the Joomla Documentation site</a>. That post discusses Joomla 1.5 explicitly, but the template overrides have changed very little (if at all) between 1.5 and 2.5.</p>
<p>Custom search results require two steps. The first step is to copy the file "default_results.php" from the search component to our template. By positioning it appropriately in the template directory, Joomla will use the template override instead of the component view. Using this technique assures us that a Joomla core update will never replace the updated file. To spell this out, if we make the update to the default_results.php file in the core search component, and Joomla releases an update that affects that very file, the update will overwrite our changes. Since Joomla does not update your custom template directories, you can be certain that your changes will never be overwritten by a Joomla core update. An administrator could still change templates, or remove your file, but that is a whole other issue.</p>
<h3>Override the default_results in your template</h3>
<p>Specifically, we need to copy the original /components/com_search/views/search/tmpl/default_results.php file to the active template directory /templates/myTemplate/html/com_search/search/default_results.php. For reference, I am using Joomla 1.7.3 (this also works in 2.5) with Phoca Gallery 3.1.5 and Phoca Gallery Search Plugin 3.0.1; the line numbers may be different in 2.5.</p>
<p>I am going to use <a href="https://gist.github.com/1880603">this Gist</a> at github for these updates. The original revision is the default_results.php file that comes with Joomla. That link is the final, and if you have search results that return with a $result->catid value (like some <a href="http://www.phoca.cz/">Phoca</a> components do...), it will display a custom output for those results. </p>
<h3>Edit the default_results in your template</h3>
<p>In order to test that our template view override is working, try adding a simple header to the top of the results.  Update line 13 of default_results.php to include some custom header text (<a href="https://gist.github.com/1880603/504e7e6cd8f61bd36f37e902d56703e0db7ffdcb">like so</a>). Now execute another search and notice your custom header immediately before the search results display. </p>
<p>Technically, we have a custom search results display. However, that is a pretty worthless customization. I want to make a couple of other updates. First, I want to address what I consider to be a bug. If you keep the Search - Categories plugin enabled, you will notice that category search results feature a nice bottom line that reads, "Created on" with no date. This may be user error, or configuration issues with access control; I have not investigated thoroughly. Either way, it is possible to get this behavior, and I think it is safer to check that a value is available before displaying a string in front of it. To that end, I want to add a couple checks to validate that the '$result->created' value is both set, and not equal to '' (<a href="https://gist.github.com/1880603/13cebbafb2261eb2ad075052fce6b2dfcb8695eb">line 36 here</a>).</p>
<p>Running a new search with Category results should display a category result with no "Created on" text. And in fact, any search result without an available created on date, will avoid displaying said text.</p>
<h3>Customize results output based on the type of result</h3>
<p>Another update I want to make is to customize one type of search result. To do this, I first want to explain that you can achieve this in two different ways. The first technique is to change the plugin, which you achieve by knowing that the view file we are editing outputs specific values ($result->title, $result->section, $result->text, etc.); you simply change those values in the plugin. This is accomplished in a /plugins/search/COMPONENT/COMPONENT.php file - where 'COMPONENT' is something like 'content', 'newsfeeds', or some custom search plugin. A second technique is to add checks in the default_results.php file to determine what kind of search result you have, and disply it uniquely. Each of these techniques has merits depending on the situation. Generally speaking, I would encourage the first technique (changing the plugin.php file) if you only want to achieve changes for a particular type of search result, and if you want more global changes (like removing category, or placing category on the same line as the search result) you should make the change in the template.</p>
<p>For now, we are going to stick with the default_restults.php file, and make an update there. To find a good way to distinguish a type of search result, let us use a good old print_r in our results loop (<a href="https://gist.github.com/1880603/5782b40088f4ce9e7002803fbcb11e1dc1b32e84">like this</a>). Now execute a search with multiple types of results (contacts, content, categories, etc.). It gets a little tricky here, you will need to determine an appropriate check for your content. It could be that your content always has the same $result->section value, that the $result->section value always starts/ends with some string, or that your 3rd party component result always has a value $result->someOtherValue - and when that is present you want to do something else.</p>
<p>No matter what your conditional check requires, the code update will be similar. Our code needs to add a conditional to the results loop, that outputs one bit of code for one condition, and another bit of code for all other conditions. I added a conditional check for a $result->catid value <a href="https://gist.github.com/1880603/992e8a2e545f11e53b3cd6aaa1c845dd2667aa21">here</a>, with a simple placeholder heading. The h2 value in the Gist is really just to confirm that your conditional is working properly. For your actual change, I would start by copying the original result code, and editing it to meet the needs of your update. The actual PHP and html edits are beyond the scope of what I wanted to achieve here, but some ideas would be changing the class for a particular type, so that you can alter the background color, or perhaps removing the section output for some results.</p>
<p>Related to this update, if you simply decide that you want to heavily restyle the search results, you can simply make edits to the default_results.php file in your template, and not worry about any conditionals. For reference, the final version of the <a href="https://gist.github.com/1880603">custom search results Gist</a> has the print_r removed, and displays only the title and a hardcoded string for search results that meet the condition. </p>
<p>For those of you who do not like to click on links, here is the final revision:</p>
<p><script src="https://gist.github.com/1880603.js"></script></p>
<p>In my next article, we will update search results using the alternate technique, changing the PLUGIN.php file so that it provides alternative data to your view.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2012/02/21/joomla-1-5-1-7-2-5-customizing-search-results/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Will Color E-Ink replace LCD Displays?</title>
		<link>http://www.geekgumbo.com/2012/02/16/will-color-e-ink-replace-lcd-displays/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=will-color-e-ink-replace-lcd-displays</link>
		<comments>http://www.geekgumbo.com/2012/02/16/will-color-e-ink-replace-lcd-displays/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 22:04:25 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[eReaders]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=4406</guid>
		<description><![CDATA[Last summer, I wrote an article on the coming color E-Ink eReaders, and I predicted that they would be here in the first quarter of this year.  It's time to take another look at the market, because it doesn't look &#8230; <a class="more-link" href="http://www.geekgumbo.com/2012/02/16/will-color-e-ink-replace-lcd-displays/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_4411" class="wp-caption alignleft" style="width: 264px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/eink6.jpg"><img class="size-full wp-image-4411" title="eink6" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/eink6.jpg" alt="" width="254" height="198" /></a><p class="wp-caption-text">Apple&#39;s IPad2</p></div>
<p>Last summer, I wrote an article on the coming color E-Ink eReaders, and I predicted that they would be here in the first quarter of this year.  It's time to take another look at the market, because it doesn't look like color E-Ink eReaders is going to make my forecast.  What's wrong with those folks anyway?</p>
<p>What's wrong was the coming of the Apple IPad.  The market has changed.  No one ever thought that yet another tablet, the IPad, would have the revolutionary effect it has had on the market.  The rise of the IPad, and the gradual increase in size of some eReader's has the two markets overlapping with each other.  The difference between the tablet computer and the eReader is starting to merge into one market in the consumer's mind.</p>
<p>The tablet computer has started to replace both the laptop and the eReader.  In a November survey, Price Grabber, as reported in USA Today,  found that 79% of consumers would rather have a tablet then a laptop, and 72% said they thought that tablets would replace eReaders.  Wow, all this in less than a year.</p>
<div id="attachment_4414" class="wp-caption alignleft" style="width: 264px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/eink25.jpg"><img class="size-full wp-image-4414" title="eink25" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/eink25.jpg" alt="" width="254" height="401" /></a><p class="wp-caption-text">Nook tablet</p></div>
<p>What factors are in play here.  Certainly the size of the display is a small factor, but it's not the real reason.  The real reason is that consumers want, and are use to, having color movies and video on their devices.  Entertainment sites offering video over the Internet like Hula, Netflix, and You Tube have made video over the Internet a want in the consumer's mind.  It's starting to be normal for Internet sites to have a video window showing some sort of entertainment, or advertising.</p>
<p>The eReader market between Barnes and Noble, and Amazon fighting the good fight, was under a lot of pressure to provide color eReaders, because of the IPad color tablet.  Since color E-Ink technology was not quite ready yet, both companies came out with color LCD displays.  Amazon with the Kindle Fire for $199 and Barnes and Noble with the Nook Color for $199, and the Nook Tablet for $249.  The lead feature for these devices is access to movies.  Amazon claims over 19 Million movies and TV shows available, and Barnes and Nobles claims movies and TV shows with access to Netflix.</p>
<div id="attachment_4415" class="wp-caption alignleft" style="width: 264px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/eink35.jpg"><img class="size-full wp-image-4415" title="eink35" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/eink35.jpg" alt="" width="254" height="332" /></a><p class="wp-caption-text">Kindle Fire</p></div>
<p>Forgive me for my digression, but let's say you live 80 years, or 700,800 hours.  Your average movie runs 2 hours, I know that's high, but let's be conservative.  That means the most movies you could possibly watch in a lifetime given your watching 24 hours a day is 350,400 movies.  OK, let's say you only watch 6 hours a day, or 87,600 movies.  Who cares if I can have access to 19 Million movies?  Let's get real folks, the most you could possible see in a lifetime is a mere 0.4% of all the media out there.  Pretty unbelievable that there are that many movies in the world.</p>
<p>The eReader market is drying up.  Why? Because who wants black and white, if you can get color, and who wants to just have a color eReader, when they can get a color eReader with movies.  So now the choice is to buy a larger IPad2 for $499, a smaller Nook Tablet that fits into your pocket for $249, or a smaller color eReader for $199.  The capabilities of the tablet and eReader are gradually merging to become the tablet computer, which also is an eReader.</p>
<p>But wait a minute folks, what happen to those features that made the eReader take off, that made people want an eReader over a computer?   Certainly size and weight were in the eReader's favor, but the big feature was the ability to read your eReader at the beach in direct sunlight, and the fact that reading a book on the eReader was easier on the eyes than that bright backlit LCD display.</p>
<div id="attachment_4413" class="wp-caption alignleft" style="width: 264px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/eink15.png"><img class="size-full wp-image-4413" title="eink15" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/eink15.png" alt="" width="254" height="366" /></a><p class="wp-caption-text">Qualcomm&#39;s Mirasol display</p></div>
<p>Are these valid?  I reckon I'm on a computer about 16 hours a day.  That means I'm staring at an LCD display 16 hours a day.  I don't often think about eye strain.  It's like I don't have a choice, I want to look at the computer display.  Now I admit I do take measures to ease the bright white, glaring, background.  For example, the editor I'm writing this article with, and all my editors, have a blue-black background with lime font color.  That stops that bright white background glaring at me all day.  Is eye strain now a non-factor?  I think so.  I can adjust my color displays for my desired colors and brightness level.</p>
<p>What's wrong with color E-Ink?  Simple, no video, and until video is available color E-Ink will never be bigger than the LCD display.  Yes, color E-Ink will be easier on the eyes, and yes, you'll be able to read color E-Ink in direct sunlight, which is a problem for LCD displays, but without the video, it will not be the consumer's favorite display.</p>
<p>&nbsp;</p>
<div id="attachment_4412" class="wp-caption alignleft" style="width: 264px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/eink55.jpg"><img class="size-full wp-image-4412" title="eink55" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/eink55.jpg" alt="" width="254" height="176" /></a><p class="wp-caption-text">Samsung&#39;s Liquavista</p></div>
<p>The question is when will color E-Ink be able to show movies?  At this time, the color E-Ink displays are not quite ready to refresh their screens fast enough to show video.</p>
<p>There are three main competitors trying to become the first with Color E-Ink that can show movies.  E Ink the company which makes the current Kindle black and white display makes a Triton color display.  Qualcomm's Mirasol technology all ready is in some eReaders, and Samsung's Liquavista technology is in some mobile devices.  These companies are working hard at overcoming the video problem along with a slew of lesser companies working on related technology.</p>
<div id="attachment_4416" class="wp-caption alignleft" style="width: 263px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/eink45.jpg"><img class="size-full wp-image-4416" title="eink45" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/eink45.jpg" alt="" width="253" height="306" /></a><p class="wp-caption-text">Triton E Ink Display</p></div>
<p>There is a huge market for color E-Ink displays, and if color E-Ink with movies happens, some company is going to make a lot of money.  The company that's first to market, or the company with significant better image quality, that can view movies with a color E-Ink display will replace all of the LCD displays on the market.  Why?  Two reasons, back to the origin of the eReader market, the display will be easily viewed in sunlight, something that is not available with  LCD  technology, but more important, color E-Ink displays will use considerably less power than the LCD displays.  Instead of 10 hours on your tablet's battery, you'll get a month with color E-Ink displays, a big plus.  That alone will make people switch to the devices with the newer displays.</p>
<p>We're not quite in a Beta versus VHS battle, because both of those formats matured at the same time and released a lot of product before the battle was won, nor are we in a Blu-ray vs HD DVD battle, which was solved by the HD DVD supporters giving up.  I think this is different, this is new technology trying to unseat entrenched technology.  Not quite a battle yet, but the stage is set, it's certainly going to be entertaining.  Any one for some popcorn?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2012/02/16/will-color-e-ink-replace-lcd-displays/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cloning Software from Github</title>
		<link>http://www.geekgumbo.com/2012/02/13/cloning-software-from-github/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cloning-software-from-github</link>
		<comments>http://www.geekgumbo.com/2012/02/13/cloning-software-from-github/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 13:32:34 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Git - Version Control]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=4354</guid>
		<description><![CDATA[Github has become the go to place to get software, at least open source software.  It has pretty much taken over from the previous download hub, SourceForge.  One of the reasons for that is how easy it is to clone &#8230; <a class="more-link" href="http://www.geekgumbo.com/2012/02/13/cloning-software-from-github/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/git0.jpg"><img class="alignleft size-full wp-image-4360" title="git0" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/git0.jpg" alt="" width="183" height="275" /></a><a title="Github" href="https://github.com/">Github</a> has become the go to place to get software, at least open source software.  It has pretty much taken over from the previous download hub, SourceForge.  One of the reasons for that is how easy it is to clone software from Github, but even more important, it's how easy it is to keep those files up to date with the changes in developing software.</p>
<p>Github is a collection of private and public repositories.  As a matter of fact, it is the largest code repository in the world with over four million repositories at present count.  You pay for private repositories, but all public repositories are free, which is another reason Github has become popular.</p>
<p>A repository is a collection, or database, of the versions of a project that you have been saved over the projects history.  Each version is a snapshot of your file contents and file structure at that instance in time.  Git keeps track of each snapshot in the repository.  When you do a git clone, you copy the entire repository to your local machine from the time that the repository was created, and thus, you get the entire project history with the clone.  Another reason people like to clone software from Github.</p>
<p>If you'd like to have a search box on Github to find projects, or you wanted to copy a private repository , you'll have to sign up for a free Github account on their web site, which I highly recommend.</p>
<p>What can you an do on Github?  You can contribute code and project documentation to an open source project, this is done by getting a "fork" of the project.  If you want to contribute some unofficial documentation, you can do this with Github Wikis.  If you like a particular developer's work, you can follow his work on Github.  And you can socialize and leave messages and comments with your favorite developers.  If you just want to get a copy of an application's software  and the project's repository, you do a git clone, which is the subject of this article.</p>
<p>Let's get started.  Before you can use any git commands, you need to install Git on your local machine.  Git runs on all platforms.  If you've never used Git, this blog is a good place to get started.  If your using Windows, I've written several articles here at GeekGumbo that will get Git installed, and ready to use on your local computer.</p>
<p>Once you have Git installed, you can check to see if it is running properly by running "git version" in the git command window.  OK, I'll assume you've got Git all set up on your computer.</p>
<p>You can copy code from Github with any number of growing tools and graphical interfaces, for example, a dedicated bridge tool like hg-Git, an IDE utility like eGit, or a dedicated graphical application like SmartGit, or to me, the easiest and simplest way, by using the Git command line, which is what we'll use.</p>
<div id="attachment_4357" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/github15.png"><img class="size-full wp-image-4357" title="github15" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/github15.png" alt="" width="600" height="353" /></a><p class="wp-caption-text">Zend Framework 2 on Github</p></div>
<p>&nbsp;</p>
<p>Let's pick a project to clone.  For this example, I'm going to use the Zend Framework 2 project which is currently under development and in beta format.  Go to the <a title="Zend Framework 2 project" href="https://github.com/zendframework/zf2">zf2 project page on Github here</a>.  There is a different URL for different ways to copy a project.  Click on the "Git Read Only" menu button about 1/4 of the way down the page.  Git clones are read only.  The URL in the window will change to: git://github.com/zendframework/zf2.git.  This is the URL we want to use with the git clone command.</p>
<p>Let's do the clone.  Back on your local machine, in your git window go to the directory one above where you want your Zend Framework software directory to reside.  Since I'm using WAMP, for me, that is the "/c/wamp/www" directory.  The clone process automatically creates a sub-directory for the project, in this case, zf2, and pulates the sub-directory with the project files.  We'll end up with files in "/c/wamp/www/zf2."  Let's do it. Type, no quotes needed:</p>
<pre class="brush:php">git clone git://github.com/zendframework/zf2.git</pre>
<p>This project is fairly large, let it work all the way through until the command prompt returns.  Here's what it looks like:</p>
<div id="attachment_4358" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/git35.png"><img class="size-full wp-image-4358" title="git35" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/git35.png" alt="" width="600" height="181" /></a><p class="wp-caption-text">Git Clone</p></div>
<p>&nbsp;</p>
<p>That's it.  Now that was tough, NOT!  Remember, we didn't even log into the Github site to do the clone.  Let's go to our new directory, zf2.</p>
<div id="attachment_4366" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/git45.png"><img class="size-full wp-image-4366 " title="git45" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/git45.png" alt="" width="600" height="420" /></a><p class="wp-caption-text">The zf2 directory content</p></div>
<p>&nbsp;</p>
<p>You end up with the project and its git repository installed in one fell swoop, nice.  If we do a git branch, we see we have a master branch.  When you do a git clone, it appears that only the master branch comes down when there may be other branches.</p>
<p>To see what other branches are available we type:</p>
<pre class="brush:php">git branch -a</pre>
<p>&nbsp;</p>
<p><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/gitn45.png"><img class="aligncenter size-full wp-image-4380" title="gitn45" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/gitn45.png" alt="" width="600" height="141" /></a></p>
<p>Here we see that there is one other branch available, release/3.0.0. To see this branch we'll have to create the branch in our local repository and then check it out, like so:</p>
<pre class="brush:php">git branch release/3.0.0
git checkout release/3.0.0</pre>
<p><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/gitn25.png"><img class="aligncenter size-full wp-image-4379" title="gitn25" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/gitn25.png" alt="" width="600" height="191" /></a></p>
<p>We can also looks at the project history. Type:</p>
<pre class="brush:php">gitk --all</pre>
<p>We get this:</p>
<p style="text-align: center;"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/git5.png"><img class=" wp-image-4367 aligncenter" title="git5" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/git5.png" alt="The gitk --all Project History" width="1204" height="696" /></a></p>
<p>We have several previous branches that were merged back into master.  That doesn't mean you can't go back to the old branches.  You have your entire project history when you do a git clone.  We're in Git, we can go back to any version of the project, but we probably don't want to do that in this case, since we're not developing the project, and just want to stay current.  Let's go back to the master branch, and then do a git status. followed by a look at the .git/config file.</p>
<pre class="brush:php">git status
cat .git/config</pre>
<p>It looks like this:</p>
<div id="attachment_4368" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/git65.png"><img class="size-full wp-image-4368 " title="git65" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/git65.png" alt="" width="600" height="283" /></a><p class="wp-caption-text">.git/config file remote url set up</p></div>
<p>&nbsp;</p>
<p>Our "origin" URL has been entered in our config file, and our "master" branch is directed to origin. This was done for us when we ran our original "git clone." These configuration settings also encompasses any other branches, like the "release/3.0.0" branch, as we'll see in a moment.  The settings gives you a direct connection to the remote repository on Github, so you don't need to type git clone again to get an update of the project, all you need to do is type "git pull origin" for each branch. Let's do it.</p>
<pre class="brush:php">git pull origin master
git pull origin release/3.0.0</pre>
<p><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/gitn35.png"><img class="aligncenter size-full wp-image-4378" title="gitn35" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/gitn35.png" alt="" width="600" height="336" /></a></p>
<p>&nbsp;</p>
<p>What's happened with "git pull origin" is that Git went up to the origin repository at the URL specified in our .git/config file, checked to see if any files have changed at "origin," our remote repository. If there were any new files, or any changes at all, it would have copied them down to your local machine, and then merged them into your master branch, and then your release/3.0.0 branch, bringing your project instantly up-to-date.</p>
<p>Since we now have two branches in our project, we need to specify in our git pull which branch we want to update. We did pull both branches, so the project is brought up-to-date. In this case, since we just cloned the files, git tells us the project is "Already up-to-date"</p>
<p>Pretty impressive.  With one simple git pull command any time in the future, we keep up to date with a project under development.  Now you can see why so many people like cloning projects from Github as opposed to downloading, unzipping, and coping files.   The next time you want to copy some application to your computer, considering cloning it from Github instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2012/02/13/cloning-software-from-github/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing the CKEditor in Drupal 7</title>
		<link>http://www.geekgumbo.com/2012/02/10/installing-the-ckeditor-in-drupal-7/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-the-ckeditor-in-drupal-7</link>
		<comments>http://www.geekgumbo.com/2012/02/10/installing-the-ckeditor-in-drupal-7/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 13:43:26 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=4320</guid>
		<description><![CDATA[I had the opportunity to install Drupal 7 for the first time in a couple of years, and I was looking forward to re-acquainting myself with the latest from the Drupal community.  My last go round with Drupal was with &#8230; <a class="more-link" href="http://www.geekgumbo.com/2012/02/10/installing-the-ckeditor-in-drupal-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had the opportunity to install Drupal 7 for the first time in a couple of years, and I was looking forward to re-acquainting myself with the latest from the Drupal community.  My last go round with Drupal was with Drupal 5, and I wanted to see what I missed.</p>
<div id="attachment_4323" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/drupal15.png"><img class="size-full wp-image-4323" title="drupal15" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/drupal15.png" alt="" width="600" height="259" /></a><p class="wp-caption-text">Drupal front page with Admin panel at the top</p></div>
<p>&nbsp;</p>
<p>The Drupal 7 installation was relatively painless.  It mimics most of the other CMSs and Frameworks out there on the way they load.  You create a directory in your home directory for the site.  You create a database for the Drupal 7 installation to populate.  Download and unzip Drupal 7.  I like to unzip it in a separate directory, and then copy the files to the server directory I created, just me.  Then you go to your browser and bring up the site.  Drupal 7 takes care of installing files to the directory and populating the database.</p>
<p>Once the install was finished the site came up in the new admin panel.   The above picture shows the site after a couple of modifications on my part.  Notice the new admin panel at the top of the screen, very nice.  Under the hood I found it to be the same old Drupal in the way the files are laid out.</p>
<p>The first thing you want to do when you install a CMS is start to put together a couple of pages and a menu to start to get acquainted.  If you go to "Content -&gt; Add content -&gt; Basic page".  You get a text box where you can enter HTML or text but that's it.</p>
<div id="attachment_4331" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/drupal-basicpage251.png"><img class="size-full wp-image-4331" title="drupal-basicpage25" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/drupal-basicpage251.png" alt="" width="600" height="297" /></a><p class="wp-caption-text">Initial Drupal7 Text Box Editor</p></div>
<p>&nbsp;</p>
<p>Unfortunately, I want an editor when I create my pages, where I can change text size, highlight text, add links, and add pictures.  It simplifies, not having to hand code everything.  Drupal doesn't come with one, if I remember correctly, neither did Joomla.  Why is that?</p>
<p>Well, it turns out there are several good web editors that can easily be incorporated into your CMS.  The two that come to mind instantly are "TinyMCE" and "CKEditor".  I like both editors.  I can see why Drupal makes you install your own.  Why make a pick?  Isn't the market served better by having the two editors compete with one another.</p>
<p>Well, I'll pick.  I've used both editors in putting together web sites.  Both companies charge for their deluxe editor, and if you want to access images with a file server.  However, both companies have a free basic version, which is more than adequate.    The CKEditor used to be the FCKeditor.   I used the FCKeditor in the past and found it buggy.  During the time of the FCKeditor, I preferred, and installed mostly the TinyMCE editor.  Times change.  The old FCKeditor was rewritten to be object-oriented and renamed the CKEditor, which has been bug free since I've been using it.  I find the newer CKEditor easier to install and configure.  Right now, I prefer the CKEditor.</p>
<p>Let's get stared.  If you go to the <a title="CKEditor download page" href="http://ckeditor.com/download">CKEditor download page</a>, you'll find that the CKEditor folks have taken the pain out of the Drupal and Joomla install by creating a version just for those CMS's.  Scan down the page, and download the CKEditor for Drupal, no brainer.  That's a 4Mb zip file that expands to 12Mb.  Copy the expanded directory and files to your Drupal installation's "sites/all/modules" directory.  You should end up with a "yoursite/sites/all/modules/ckeditor" directory full of files.</p>
<p>Now we need to turn it on.  In your new Drupal 7 admin panel at the top of the page, click on "Modules", scan down the page all the way at the bottom, and click the check box next to the CKEditor to enable it.  Save the configuration at the bottom.  Now go to the top menu and click on "Configuration," then scan down a bit and click on the "CKEditor".  Here, you'll find the User Guide, and Documentation, and a warning that this is an unlicensed version.  Ignore the warning, and create a profile by clicking the edit button under Profiles-&gt;Full-&gt;Basic Setup.  Give your profile a name and save it.  Here you can configure various editor settings.  The configuration is broken into various segments that you access by clicking on the segment title, like Basic Setup, Security, etc.  Configure later, let's move on and see if we're set up properly.</p>
<div id="attachment_4337" class="wp-caption alignnone" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/drupal11-5.jpg"><img class="size-full wp-image-4337" title="drupal11-5" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/drupal11-5.jpg" alt="" width="600" height="214" /></a><p class="wp-caption-text">The CKEditor</p></div>
<p>&nbsp;</p>
<p>Click on "Content-&gt;Add content-&gt;Basic Page" and wahlah, we have an editor.  That was pretty simple.  In the editor click on the little icon that looks like a picture, your image icon.  It's on top row next to the red flash icon.  You get an image loader, but where's the browse button?  There's no button to scan your files for your image file.  If you want to add pictures to your page, this is not useful.   You can spring for the CKFinder for $59, which is, of course, nicely integrated into the CKEditor, then your all set, not me.  There is an alternative.</p>
<div id="attachment_4334" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/drupalnobrowse55.png"><img class="size-full wp-image-4334" title="drupalnobrowse55" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/drupalnobrowse55.png" alt="" width="600" height="291" /></a><p class="wp-caption-text">No Browse Button</p></div>
<p>&nbsp;</p>
<p>That alternative is a module called <a title="IMCE module" href="http://drupal.org/project/imce">IMCE, found here</a>.  Scan to the bottom of the page and download the file.  Unzip it into a directory, and then copy that directory and files to a nice snug spot next to your CKEditor directory at "yoursite/sites/all/modules/imce"  Same procedure, go to modules, and enable the IMCE module, save the configuration.</p>
<p>We need to link the CKEditor's picture icon to the IMCE file finder.  Go to "Configuration-&gt;CKEditor-&gt;edit the profile you just created.  Open the section "File Browser Settings."  Open each of the first three drop  downs and select "IMCE".  Yes, it was rather nice of the CKEditor folks to include this selection in their drop down. Click Save, and your done.</p>
<p>Let's see if anything changed.  Go to "Content-&gt;Add content-&gt;Basic Page" and click on the editor picture icon.  Wow, a browse button, click it.  Sometimes all the directories don't open.  You can click on "root" and other directories to open them.  But this is really not what we want.  What happen to our beloved directories?  How do we set the path?</p>
<div id="attachment_4339" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/drupalbrowse75.png"><img class="size-full wp-image-4339" title="drupalbrowse75" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/drupalbrowse75.png" alt="" width="600" height="278" /></a><p class="wp-caption-text">The Browse Button</p></div>
<p>&nbsp;</p>
<div id="attachment_4341" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/drupalopenbrowser85.jpg"><img class="size-full wp-image-4341" title="drupalopenbrowser85" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/drupalopenbrowser85.jpg" alt="" width="600" height="285" /></a><p class="wp-caption-text">Initial Screen after clicking the Browse Button</p></div>
<p>&nbsp;</p>
<p>First things first.  In case your wondering where "root" is, it's at "sites/default/files".  There's a picture directory where you can upload your pictures "sites/default/files/pictures", but again we want to see and browse our directories.  To get those, you're two clicks away.  Click on "Upload File" in the top menu, then browse and we're there, and your all set. Enjoy.</p>
<div id="attachment_4342" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/02/drupal9fin5.png"><img class="size-full wp-image-4342" title="drupal9fin5" src="http://www.geekgumbo.com/wp-content/uploads/2012/02/drupal9fin5.png" alt="" width="600" height="295" /></a><p class="wp-caption-text">Finally the File Browser</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2012/02/10/installing-the-ckeditor-in-drupal-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

